PHP developer living in Worthing, UK working for D3R. Starting Android / Java development for fun.
# Install Apache2 sudo apt-get install apache2 sudo /etc/init.d/apache2 start sudo /etc/init.d/apache2 stop # Install PHP5 and the PHP5-CLI sudo apt-get install php5 libapache2-mod-php5 php5-cli sudo /etc/init.d/apache2 restart # Install MySQL sudo apt-get install mysql-server # ... and the php/apache mysql gubbins. Also phpMyAdmin. sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin sudo /etc/init.d/apache2 restart # Install rewrite module sudo a2enmod rewrite sudo /etc/init.d/apache2 restart # now configure apache2 - I use a domains directory mkdir ~/domains # shove your vhosts in a config file. I'll just edit default; sudo gedit /etc/apache2/sites-available/default # Restart apache - shouldn't get any errors sudo /etc/init.d/apache2 restart # And some useful utils sudo apt-get install subversion php5-xdebug nautilus-open-terminal
Finally if you want to nab your fonts from your windows partition:
sudo apt-get install msttcorefonts cd /media/disk/windows/Fonts sudo cp *.ttr *.TTF /usr/share/fonts/truetype/msttcorefonts/
Comments 0 Comments