2008年1月7日 星期一

LAMP

setting LAMP services
Linux os: ubuntu 7.10 Gutsy Gibbon
apache server: apache2

  • sudo aptitude install apache2

MySQL: To install both the server and client:


  • sudo apt-get install mysql-server-5.0
    PHP: php5
    PHP5 and the Apache PHP5 module

    • sudo aptitude install php5 libapache2-mod-php5

    Restart Apache

    • sudo /etc/init.d/apache2 restart

    and we may set web service in /var/www

    Reference: http://ubuntuguide.org/wiki/Ubuntu:Gutsy

    沒有留言: