This article will show you how to setup CentOS WebPanel on your Virtual Private Server -VPS. There are multiple alternatives available but I will focus on an easy approach and let you inspect the other options on your own. This article does not show you what to do after you deployed the WebPanel. It will only point you to the next steps.
On the internet you will be able to find out that there are a lot of alternatives free and paid for a Web Administration Panel. Out of the free ones I found the one from CentOS to be the best for the job at hand. As you will see there is nothing complicated about it. It works and it does the job that it was meant to do. What you get with centos WebPanel is a full list of packages needed for web services hosting of any sort. You will get to have a web server completed by PHP, suPHP, suExec, reverse proxy and vHosts, you get your DNS management, Email management, some security features,you get database systems like MySQL and PostgreSQL completed by phpMyAdmin and phpPgAdmin and on top of this you will get the users and domains management that allows you to start providing hosting as a service.
Starting on the assumption that you have been hosting your website on a shared resources server and you might want to have additional ones you probably have reached a point where you just need more in terms of calculation capacity and resources allocation. You decide to move on from a shared hosting that provides you with the same Server for multiple clients to a server of your own. Also it could be that you want to build up something that requires additional features like enabling remote access to a database or any other feature that is restricted by your sharing provider. At this point you will find that you may want to have a VPS. The possibilities are limitless. Some of the advantages are listed below:
- You manage it on your own - you may also have a specialist manage it for you
- You can set up your own backup plan the way you want it
- You can move all the websites that you have in one place
- You can set up your own security
- You gain increased stability and reliability for basic web hosting needs
- You gain more control
- You benefit from an easy to scale up plan
What you can deploy with the full CentOS WebPanel is described below. Keep in mind that you do not have to choose the whole package. You can have it custom tailored for your needs.
- Apache HTTP Server –This has been and is to the day the most used web server software worldwide. The development for this started in 1995 on the foundation of NCSA HTTPd server
- Varnish Cache Server – an HTTP accelerator used by high-traffic websites and rich in media content sites. This was designed for content rich dynamic websites
- suPHP and suExec – both tools will allow you to execute scripts with the permissions sets of the script owners. Those two packages grant the possibility to execute some powerful scripts on the system that would require granting public access to some folders if they were not deployed.
- ModSecurity and OWASP rules- both packages act like firewalls for your web services. OWASP is Open Web Application Security Project. Both of them will give you the possibility to take wise and informed decisions regarding the security rules you want to set in place
- Nginx reverse Proxy – a service that gives you the advantages of using load balancing, web acceleration security and anonymity for your web service.
- Free DNS ( DNS server) – this will allow you to easily manage the nameserver IPs, add, edit, list and remove DNS zones, resolve the DNS Zone list and much more
- SSL Certificates – if you want to provide https services then you will need those
- CSF Firewall and CageFS- for improved security
- Shell Access Manager
- Security limits per user
- MYSQL database server
- PostgreSQL database server
- Database servers administration tools with live monitoring available
And on top of this you get the user management and monitoring that any web hosting administration panel should have.
If you are recently involved with the world of VPS and web services I suggest that you deploy the full package. Else, if you plan on something special you have a multitude of choices. You can deploy only the reverse proxy on one VPS and use it as a Load Balancer and have additionally 2 or more webserver VPS that host your website. You can split All your services on multiple servers and manage all of them like your own private cloud. There is no limit to your options. In the past I used the full package even for a single database server.
Step1 -Login to your server as root or as a user with sudo privilege. Basically this means that you have to go to the console of your VPS. This depends on what setup the provider has. I have seen VPS hosting that provided SSH access, I have seen also VPS hosting that provided a dedicated page with temporary users that had sudo privilege to the server. From case to case this approach is different.
Step2 –Navigate to /usr/ocal/src and download the installer package. You can download it anywhere you want to but this is best practice accepted by the business.
cd /usr/local/src wget http://centos-webpanel.com/cwp-latest
What you have done actually is to instruct your server to download a script that will do the work for you. In some cases you might discover that wget is not there or is not working. To fix this you simply have to install the wget utility
Yum –y install wget
If this is the case then please perform also a full update of the server. You can do this with
Yum –y update reboot
Step3 – Issue a simple command to start the installer
This will perform the deployment of the whole package. Somewhere along the way it will give you also the complete information on how to access the database servers so I advise you to save the installation log at least temporary.
What happens next
Next you will have to go to the web server WebPanel Admin GUI and login using root and your VPS root password. This is usually found at https://YOUR_SERVER_IP:2030 and
- Setup nameservers
- Setup shared IP
- Setup at least one hosting package
- Setup root email
Tags: vps, Security, centos, Server, Hosting, Setup, database, access, Administration Panel, CentOS WebPanel, setup centos webpanel, virtual private server, WebPanel
This work is licensed under a
Creative Commons Attribution-