My Setup Workflow
Ubuntu Server 64 bit Setup - My setup
Server 64 bit no gui. Select only 2 choices
Lamp Server SSH Server After Initial Installation. install // This is to get joomgallery working
PHP5-GD PHP5-IMAGICK
Enabling Root: sudo passwd root
sudo passwd
Sudo will prompt you for your password, and then ask you to supply a new password for root as shown below:
[sudo] password for username: (enter your own password) Enter new UNIX password: (enter a new password for root) Retype new UNIX password: (repeat new password for root) passwd: password updated successfully
To disable the root account, use the following passwd syntax:
sudo passwd -l root
Installing applications apt-get install ???
Setting up virtual servers
sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/mynewsite
this copies the default profile to the new site you want to hosts
edit the "mynewsite"
you have to add ServerAlias *mysite.com
to the default file And change the directories to the new ones created under /var/www/mynewsite
make Sure you also create the corresponding directory for the site under /var/www/***
Enable the new VirtualHost restart Apache:
sudo a2ensite mynewsite
Restart apache: /etc/init.d/apache2 restart
To remove a host
sudo a2dissite mynewsite sudo
Restart apache: /etc/init.d/apache2 restart
Installing Phpmyadmin
sudo apt-get install phpmyadmin
The configuration files for phpMyAdmin are located in /etc/phpmyadmin.
The main configuration file is /etc/phpmyadmin/config.inc.php
http://www.opilocal.com/phpmyadmin/index.php