Setup Wordpress on a VPS Hosting
Total Page:16
File Type:pdf, Size:1020Kb
WordPress On VPS Hosting Tutorial How To Install VPS | Kloxo panel | Centos OS I'll guide you of how to setup a blank VPS hosting for an unmanaged virtual private server. In this tutorial - Setup a VPS Linux Distribution - I'll walk you through those basic steps, based on CentOS os, configuring some options and llustrating a typical unmanaged VPS through Kloxo panel. << This Tutorial divided in 2 parts- Manual Installation And Auto Installation with Kloxo-panel >>>> Custom Control Panel Setup: We offer kloxo with customized options so that it uses just 16 MB of RAM including MYSQL support. You can host blogs, forums and other websites for a quarter of the cost of a normal web host, but have full control over every aspect of your system. You'll also learn how to configure your own Name Servers or hosts in order to use VPS. I will also show you which few of the Top WP plugins that a shared hosting hate too much until they suspend your account. Thank you for visiting this site. I will give you steps by steps to go for it. Your co-operation and patient are much needed in helping this tutorial. (1) Manual Installation If you have a Centos VPS you could use Kloxo or if your on a Debian VPS you could use Open Panel. In this tutorial - I will go for Kloxo Panel + CentOS System. How to order A VPS? See the images below. You can use auto password generator. Wait for email message - Few hours or instant. Your account has been Setup by admin STEP 2: Setup your nameserver at domain registrar Video - Godaddy Nameserver Step 3 Host Name Registration: At Godaddy: To Register Your Own Domain Hosts / Nameservers Your own nameservers 1. Log in to your Account Manager. 2. Next to Domains, click Launch. 3. Click the domain name you want to use to register as your own nameserver. 4. In the Host Summary section, on bottom left, click add. 5. In Host name, enter the host name you want to register. NOTE: The value entered here will be appended to your domain name to create the host name. Point your IP address to your host name server. Assume IP address is 69.82.89.201 for illustration purposes only. Do not use the 'www' prefix. Example: For the domain name yourdomain.com, entering 'ns1' Here results in ns1.yourdomain.com. 6. In the Host IP fields, enter the IP addresses you want to add to the host. You might use the same IP for twice. That is, assign to NS.1 and NS.2. NOTE: If Nameservers cannot share an IP address; therefore two unique IP addresses are required. For E.g IP address is 69.82.89.201. 7. Click OK. Creating the second Nameserver 8. You will need to create at least 2 nameservers. To create a second nameserver, repeat step 5 & 6. Common practice dictates that the second nameserver will be named "ns2" or "dns2". For example, ns2.yourdomain.com or dns2.yourdomain.com. 9. Logiclly, the last part of the ip address of the second nameserver will be incremented by 1. For example, 69.82.89.202. Therefore, 2 unique IP Addresses are: 1. 69.82.89.201. 2. 69.82.89.202. For NameCheap: Point your domain to your VPS host on Namecheap Next, to Register Nameserver on Name Cheap - hostname Step 4: Now, time to install Kloxo panel manually. First things first, refer to Kloxo Installation guide. This is at least you are confident at what you are doing. Download Putty and watch this Putty video of how to use it. However, for a newbie, you need to learn how to operate a command basic. The site for your to learn is at http://www.tutorialspoint.com/unix/unix-vi-editor.htm Tips: Famous commands you should know are: 1. # cd 2. # control x 3. # exit 4. # reboot 5. # control z to stop 6. When you were on Putty, type root and enter, hightlight and copy your root password , then right click on the cursor and enter. You are good to go. You have to disable SELinux by editing /etc/sysconfig/selinux and changing the line to selinux=disabled. This will keep SELinux from being enabled on your server next boot. Then you must run the following command as root to disable SELinux for the current session: RUN - Command Code: No need paste this # # su - root RUN - Command Code: # setenforce 0 If you are unsure this procedure worked, you can run /usr/sbin/sestatus to check its status. Failure to correctly disable SELinux will render your Kloxo install useless and an OS reload may be required to properly reinstall it. Then, run command: # yum install -y wget # yum update To Prevent the following error: Error: Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (updates) kernel-headers Please do the following command, "yum -y install kernel-devel kernel-headers" This will install the required Kernel Headers dependency for you, If all else fails do a "--skip-broken" at the end of the command to see if it can bypass it. You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest Select your CentOS OS The first time you install. It can be Centos 5 , Centos 5.2, Centos 5.5, Centos 5.7 and so on [ No listed here, Search main site , visit http://vault.centos.org ]. Run command: 1. wget http://mirror.centos.org/centos/5/updates/i386/RPMS/glibc-devel-2.5-81.el5_8.2.i386.rpm 2. wget http://vault.centos.org/5.2/os/x86_64/CentOS/kernel-headers-2.6.18-92.el5.x86_64.rpm 3. wget http://vault.centos.org/5.7/os/x86_64/CentOS/kernel-headers-2.6.18-274.el5.x86_64.rpm 4. wget http://vault.centos.org/5.5/os/x86_64/CentOS/kernel-headers-2.6.18-194.el5.x86_64.rpm Extract command: 1. rpm -i kernel-headers-2.6.18-92.el5.x86_64.rpm 2. rpm -ivh kernel-headers-2.6.18-194.el5.x86_64.rpm 3. rpm -ivh kernel-headers-2.6.18-274.el5.x86_64.rpm Still unable to remove the stubborn error? No problem. Your system is probably configured to exclude the kernel packages. Try: sudo vi /etc/yum.conf then comment (or remove the ' kernel* ' part): ^^ exclude=kernel* Then you should be able to run command: #sudo yum install kernel-headers Installing Kloxo Kloxo installation consists of downloading kloxo-installer.sh from download.lxcenter.org and executing it as root. The script will ask for a password (enter your root password). Run Command Code: # wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh After download complete Run this code to install the script Code: # sh ./kloxo-installer.sh --type=master Once kloxo is installed, you can connect to Server Access Page [ http://yourIPaddress:7777/ ] and you will be presented with a login screen. Login as admin with password admin and once you are in, Kloxo will ask you to change the default password to a secure one. That's complete the installation of Kloxo panel. ** You might consider to install Spamassassin** Login to your putty and type command: # yum install spamassassin Image 1: Image 2: image 3: Tutorial - 4 Steps To Setup WordPress On A VPS Hosting Step 1- How To Install Kloxo On A VPS Tutorial Step 2- Install Kloxo On HyperVM Control Panel Step 3- Setup Domain On Kloxo Panel Step 4- Setup WordPress On Your Domain Through Kloxo Panel Or FTP How to install vps, Hypervm, install wordpress, install wordpress on vps, installing wordpress, OpenVZ, .