Installing WordPress on FreeBSD on Rackspace Cloud Server is a bit different than on usual Linux distros, practically it is kind of installing on Mac OS X. For Legal reasons we can not that FreeBSD is UNIX. But clearly know, FreeBSD is the most advanced Server Operating system to handle TCP/IP on the consumer grade server niche. When you are going to read this guide on Installing WordPress on FreeBSD on Rackspace Cloud Server, definitely you know about Networking and CLI quite well, the reason of your search is possibly as it for Rackspace Server.
Installing WordPress on FreeBSD on Rackspace Cloud Server : Basics
If you are new user of UNIX Like Operating System with CLI, we will not suggest you follow this guide for Installing WordPress on FreeBSD on Rackspace Cloud Server. Please follow the Guide on Installing WordPress on Rackspace Cloud Server on CentOS. CentOS practically is Free Red Hat. For server purpose, Debian is possibly headache free and stable, CentOS or REHL is standard and quite robust and last choice is FreeBSD. OpenSUSE can be painful to many, despite its a very secure and well known to be Stable, has wide documentation. Arch Linux can break your website if you are not used with Arch itself. Rest is Fedora, Fedora means REHL again.
In this guide on Installing WordPress on FreeBSD on Rackspace Cloud Server, we will show you the Cloud Control Panel and the commands. The setup of domain name can be done by following this guide from GUI.
---
Installing WordPress on FreeBSD on Rackspace Cloud Server : Steps
After upgrading to WordPress 3.5, apart from our pathetic condition of database after multiple times of successful hacks, it has been difficult to write. There is only HTML pane is showing up. That is the basic reason for avoiding our legendary step by step screenshots. Its very pathetic to repair a database with 3200+ posts. Do not get afraid with the follow-up result of WordPress, sarcastically it is a guide on Installing WordPress. Basically, WordPress needs to get its database repaired after 3-4 major updates – you will definitely get diseased, but there is a good treatment option. You will not find that excellent way of repairing Database anywhere. It can be used for transferring WordPress too. (It is kind of the saying – ‘Do not worry, this injection will not give you any pain.’)
So, first go to Cloud Server Instance creation page and select FreeBSD as your OS :
Install nginx with all default values (commands are intended to be separately run) :
1 | cd /usr/ports/www/nginx |
1 | make config-recursive |
1 | make install clean |
1 | make install clean |
If you point your browser with your IP, it will show up the default HTML page.
Install perl, PHP, MySQL :
1 | cd /usr/ports/lang/perl5.14 |
1 | make config-recursive |
1 | make install clean |
(Select Threads Option.)
1 | cd /usr/ports/lang/php5 |
1 | make config-recursive |
(FPM Option)
1 | make install clean |
1 | cd /usr/ports/databases/mysql55-server |
1 | make config-recursive |
1 | make -D BUILD_OPTIMIZED install clean |
This is the Server part for FreeBSD-AMP configuration. It will behave like LAMP server. For installing WordPress you basically have to follow the exact similar commands. It is better to use MySQL database as a service from Rackspace instead of using localhost MySQL server.
You have to configure PHP-FPM. You can open it with this command :
1 | ee /usr/local/etc/php-fpm.conf |
Rest is like normal Linux installation, you have configure nginx.conf file as usually. If you need any extra help, please search on this this website using the search function.