Setting up a new dynamic website, that uses a content management system

In our example, we want to set up a website, that has a log, a static page and a content management system behind it. We want to be able to change between different theme designs.

There are many of such open source systems around. We will choose WordPress for this example.

It is assumed, that system account and web server is configured.

Prior to the installation, we will need to create a database. We will be using the open source database project MySQL in this example.

Create a new user and a new database, that is not used for anything else, than this website. Create a password, that is not used elsewhere. Grant privileges, that only allows this user to operate on this database. These are recommended security measures.

On the website of WordPress, we copy the direct download link.

Open a terminal client, connect to the web server, change to the public website directory, download the latest source code, extract the source code archive and clean up.

cd www.foobar.com
ftp http://wordpress.org/latest.zip
unzip latest.zip
rm latest.zip
mv wordpress/* .
rmdir wordpress

Test the website in your browser. The content management system should respond at this point. Follow the instructions and use the terminal where possible.

Make sure, that the content management system can store uploaded pictures.

chmod 0777 wp-content

Log in and go through configurations from top to buttom. Use the theme feature filter search section, which is more neat than the one on the theme homepage, but, if you experience problems with the automatic FTP install feature, then install themes using manual download and installation instead. It seems, the automatic feature needs more work, such as accepting localhost, source code extract tools and path specification.

ftp http://wordpress.org/extend/themes/download/sliding-door.1.7.1.zip
unzip *.zip
unzip sliding-door.1.7.1.zip
rm sliding-door.1.7.1.zip

Consider writing a posting procedure, that helps you do the actual posting correct every time, and, that takes into account, what you wish and do not wish to publish on your website.

Print

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>