Run wordpress on ubuntu-Linux Enterprise Application-Linux server application information. For more information, see the following section. 1. Install Apache2 + PHP5 + MySQL
Sudo apt-get install apache2 libapache2-mod-security libapache2-mod-php5 php5 php5-gd mysql-server php5-mysql phpmyadmin
2. Configure php. ini
Sudo gedit/etc/php5/apache2/php. ini
If the following sentence is not provided or commented out, add this sentence or cancel the semicolon ";"
Extension = mysql. so
Load the mod_rewrite module and add:
LoadModule rewrite_module/usr/lib/apache2/modules/mod_rewrite.so
Load the mod_deflate module and add:
LoadModule deflate_module/usr/lib/apache2/modules/mod_deflate.so
Remember that the modules you want to add are in/usr/lib/apache2/modules.
You do not need to consider any optimization or security issues, because the Server is your own.
You only need to remember these commands in the future.
4. install WordPress
Finally, put the downloaded WordPress under the/var/www/directory and Use http: // localhost/wordpress/
You can also use http: // 127.0.0.1/wordpress/for normal installation.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service