Bring up a website by wordpress

时间:2022-06-16 18:26:45

WORDPRESS

WordPress is web software you can use to create a beautiful website or blog, which is both free and priceless at the same time. It's powerful because lots of themes and plugins can be found to cooperate with it to build a really beautiful and complecated website. you may find many good examples in its showcasewebsite.

What I want is very simple. I need a website and blog for my domain which could give us flexibility to publish our article. Wordpress.org has a Famous 5-Minute Install which is really compicated. I don't want to bother with it. if you got money you could directly host your wordpress website on the cloud, which is much easier. but I got a server running a linux system and a IP address. I don't want to left these resources useless.

BITNAMI Wordpress

Bitnami WordPress Stack provides a one-click install solution for WordPress. you could download installers and virtual machines or run your own WordPress server in the cloud.

Suppose you have:

[1]. Linux CentOS 6.3 Server
[2]. Server IP address IP_ADDR
[3]. Bitnami Wordpress

1. Install bitnami wordpress

Download the installer bitnami-wordpress-3.9.1-1-linux-x64-installer.run, give it executable mode.

chmod a+x bitnami-wordpress-3.9.--linux-x64-installer.run
sudo ./bitnami-wordpress-3.9.--linux-x64-installer.run

You will need to choose language, install directory, mail server, admin user and pwd. WRITE DOWN YOUR ADMIN USER AND PWD. if you go smoothly know your website has brought up. But as we have to change the default theme and add some plugins, a FTP server will be needed in the server. please see how to install a VSFTPD service in part 3.

2. install bitnami wordpress module

if you have bitnami software installed in your server, you should install a module upon the bitnami stack. bitnami-wordpress-3.9.1-1-module-linux-x64-installer.run

chmod a+x bitnami-wordpress-3.9.--module-linux-x64-installer.run
sudo ./bitnami-wordpress-3.9.--module-linux-x64-installer.run

you will need the language, mail server, admin user and pwd your bitnami stack has.

3. install vsftpd service

See this blog for installation guide. if your wordpress install_addr is not at the local user home directory, your wordpress theme and plugin installation may be not successful. Because in the ftp servie each user is restricted in its own home directory. if you want to use 'root' to get a quick walk around, follow these steps, but when you finish your installation, change it back.

vim /etc/vsftpd/ftpusers
vim /etc/vsftpd/user_list

Remove root in both files.