My Calendar “To just invent something and have a gr…
Nov 17

Install Apache:

sudo apt-get install apache2

Install PHP:

sudo apt-get install php5 libapache2-mod-php5

Install MySQL:

sudo apt-get install mysql-server

Install phpmyadmin:

sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin

But before phpmyadmin can be browsed at http://localhost/phpmyadmin, it is necessary to add one line at the end of apache2.conf using the following command:

sudo vi /etc/apache2/apache2.conf

Then add the following line at the end of the file:

Include /etc/phpmyadmin/apache.conf

Done! Hang on, we need to restart apache first so everything can work with each other:

sudo /etc/init.d/apache2 restart

More on Ubuntu:

SSH
  • VHCS2
  • Install mod-rewrite:

    a2enmod rewrite

    Basically, to get mod_rewrite to work, load the module by linking to mods-available/rewrite.conf in mods-enabled, then set AllowOver ride to “all” in sites-available/default in both the root (“/”) container and the /var/www/ container (Copy & paste from here).

  • SVN + Trac
    • Share/Save/Bookmark

    Leave a Reply

    preload preload preload