LAMP
Revision as of 20:24, 10 February 2015 by Rafahsolis (talk | contribs) (→Insalar Linux Apache MySQL PHP (LAMP))
Insalar Linux Apache MySQL PHP (LAMP)
1.- Crear una instancia en Amazon AWS con Ubuntu 14
2.- Instalar Apache: sudo apt-get install apache2
3.- Instalar MySQL
sudo apt-get install mysql-server php5-mysql sudo mysql_install_db
4.- Install PHP
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
5.- Modify the order that Apache uses for loading pages: sudo nano /etc/apache2/mods-enabled/dir.conf
<IfModule mod_dir.c>
DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
</IfModule>
restart apache: sudo service apache2 restart
Instalar Wordpress
1.- Crear base de datos para wordpress en MySQL
mysql -u root -p CREATE DATABASE rafawpsite;
2.- Crear usuario en MySQL
CREATE USER rafaweb@localhost IDENTIFIED BY 'RafaTeVasA0lviD4r';