sudo apt-get update
sudo apt-get install apache2
sudo apt-get install apache2
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
sudo mysql_install_db -> activate mysql
sudo /usr/bin/mysql_secure_installation -> installation of mysql
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
sudo vim /etc/apache2/mods-enabled/dir.conf -> add index.php after DirectoryIndex
apt-cache search php5- -> all php5 extensions
sudo apt-get install php5-curl php5-gd -> install extensions
sudo apt-get install phpmyadmiin
sudo vim /etc/apache2/apache2.conf -> add line Include /etc/phpmyadmin/apache.conf
sudo service apache2 restart
source files: /var/www
No comments:
Post a Comment