searbe

    • Edit
    • Delete
    • Tags
    • Autopost

    Ubuntu 10.10 LAMP Install Guide

    # 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/

    • 20 December 2009
    • Views
    • Permalink
    • Favorited 0 Times

    Comments 0 Comments

    Leave a Comment

  • Craig Bendell's Posterous

    PHP developer living in Worthing, UK working for D3R. Starting Android / Java development for fun.

  • About Craig Bendell

    PHP developer living in Worthing, UK working for D3R. Starting Android / Java development for fun.

  • Subscribe

    Subscribe to this posterous
    Unsubscribe
    Subscribe via RSS
    You're a contributor here (Edit)
    This is your Space (Edit)
    Follow by email »
    Get the latest updates in your email box automatically.
    Follow on Twitter
  • Follow Me