Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
LAMP
(view source)
Revision as of 20:24, 10 February 2015
657 bytes added
,
20:24, 10 February 2015
→Insalar Linux Apache MySQL PHP (LAMP)
Line 1:
Line 1:
== Insalar Linux Apache MySQL PHP (LAMP) ==
== Insalar Linux Apache MySQL PHP (LAMP) ==
1.- Crear una instancia en Amazon AWS con Ubuntu 14<br />
1.- Crear una instancia en Amazon AWS con Ubuntu 14<br />
−
2.- Instalar MySQL
+
2
.- Instalar Apache: sudo apt-get install apache2
+
3
.- Instalar MySQL
<nowiki>sudo apt-get install mysql-server php5-mysql
<nowiki>sudo apt-get install mysql-server php5-mysql
sudo mysql_install_db</nowiki>
sudo mysql_install_db</nowiki>
−
+
4.- Install PHP
−
3
..-
+
<nowiki>sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt</nowiki>
+
5.- Modify the order that Apache uses for loading pages: sudo nano /etc/apache2/mods-enabled/dir.conf
+
<nowiki><IfModule mod_dir.c>
+
DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
+
</IfModule></nowiki>
+
restart apache: sudo service apache2 restart
+
+
== Instalar Wordpress ==
+
1
.
- Crear base de datos para wordpress en MySQL
+
<nowiki>mysql -u root -p
+
CREATE DATABASE rafawpsite;</nowiki>
+
2
.-
Crear usuario en MySQL
+
<nowiki>CREATE USER rafaweb@localhost IDENTIFIED BY 'RafaTeVasA0lviD4r';</nowiki>
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version