- sudo apt-get install apache2 #installs the apache webserver
- sudo apt-get install php5 #installs php5
- sudo apt-get install php5-mysql #installs php's mysql support
- sudo apt-get install php5-mcrypt #installs php encryption support
- sudo apt-get install curl php5-curl #installs curl & php curl support
- sudo apt-get install mysql-server #insalls mysql
- mysql -u root -p #fill in your password
- GRANT USAGE ON *.* TO 'showslowuser'@'%' IDENTIFIED BY PASSWORD '-- Your Password Here!--';
- GRANT ALL PRIVILEGES ON `showslow`.* TO 'showslowuser'@'%';
- exit
- cd /var/www
- sudo wget http://www.showslow.org/downloads/showslow_1.2.tar.bz2 #download Show Slow
- sudo tar xvfj showslow_1.2.tar.bz2 #uncompress Show Slow
- cd showslow_1.2
- sudo cp config.sample.php config.php
- sudo vi config.php
- set your timezone as one of the IANA timezones
- set your db connection information to the showslowuser from #7
- make
- /etc/init.d/apache2 restart
Your private instance of Show Slow should be available now at http://localhost/showslow_1.2. To configure Firefox to send data to your instance of Show Slow follow the guide at http://localhost/showslow_1.2/configure.php.
No comments:
Post a Comment