Wordpress is the most popular blog platform in the universe, in this article i'm going to show you how to install wordpress on local computer running lubuntu 16.04 operating system.
Wordpress is php-based blog platform/cms, therefore we need to have php and of course a web server installed on our lubuntu, also you need to have mysql database server, because wordpress is using mysql for storing data.
Step by step how to install wordpress on lubuntu 16.04
- make sure you have apache web server installed
- make sure you have php and mysql installed
- install wordpress package
sudo apt-get install wordpress
cd /etc/apache2/sites-available/
Alias /blog /usr/share/wordpress
<Directory /usr/share/wordpress>
Options FollowSymLinks
AllowOverride Limit Options FileInfo
DirectoryIndex index.php
Order allow,deny
Allow from all
</Directory>
<Directory /usr/share/wordpress/wp-content>
Options FollowSymLinks
Order allow,deny
Allow from all
</Directory>
sudo a2ensite wordpress
sudo service apache2 reload
cd /etc/wordpress/
<?php
define('DB_NAME', 'lubuntu_wordpress');
define('DB_USER', 'root');
define('DB_PASSWORD', 'entering');
define('DB_HOST', 'localhost');
define('WP_CONTENT_DIR', '/usr/share/wordpress/wp-content');
?>
sudo ln -s /etc/wordpress/config-localhost.php /etc/wordpress/config-default.php
http://localhost/blog/
Note that you can go to http://localhost/blog/wp-admin/ to open the wordpress dashboard and login with username and password for the blog admin.
Nhận xét này đã bị tác giả xóa.
Trả lờiXóaHow to install Wordpress on Lubuntu 16.04 Is Very Helpful. Thanks for such Information
Trả lờiXóaLooking for WordPress Support Visit :
WordPress Support
Contact WordPress