Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
litespeed_wiki:cpanel:hosting_vultr [2018/08/14 18:35]
Eric Leu [How to create a wordpress site]
litespeed_wiki:cpanel:hosting_vultr [2018/08/14 20:38]
Lisa Clarke Proofreading
Line 1: Line 1:
-====== ​How to start performance shared hosting with cPanel and LSWS on vultr======+====== ​Start Shared Hosting with cPanel, LiteSpeed, and Vultr ====== 
 +You can start performance shared hosting with cPanel and LiteSpeed Web Server ​on Vultr. Here's how. 
 +===== Start an Instance ​===== 
 +Create a Vultr account and click the **+** button to create a new instance.
  
-===== How to start an instance===== +{{:​litespeed_wiki:​cpanel:​vultr-1.png?​600|}}
-  - Create a vultr account and click **+** button to create a new instance \\ {{:​litespeed_wiki:​cpanel:​vultr-1.png?​600|}} +
-  - Default plan is $10 with CentOS 7 x64. If you don't want to change, then just click **Deploy** button \\ {{:​litespeed_wiki:​cpanel:​vultr-2.png?​600|}} \\ {{:​litespeed_wiki:​cpanel:​vultr-3.png?​600|}} +
-  - After deploying, you will get Server IP, root password to ssh \\ {{:​litespeed_wiki:​cpanel:​vultr-4.png?600|}}+
  
-===== How to install ​cPanel ===== +As of this writing, the default plan is $10 with CentOS 7 x64. If you don't want to change it to something else, then just click the **Deploy** button.  
-  ​- ​A fully qualified domain name must contain two dots. \\ ''​hostname vps.mydomain.com''​ + 
-  ​- ​Run install command from console: ​\\ ''​cd /home; curl -o latest -L https://​securedownloads.cpanel.net/​latest;​ sh latest''​ +{{:​litespeed_wiki:​cpanel:​vultr-2.png?​600|}} 
-  ​- ​If successfully installed. You will see log: \\ <​code>​268 ( INFO): cPanel install finished in 17 minutes and 20 seconds!+{{:​litespeed_wiki:​cpanel:​vultr-3.png?​600|}} 
 + 
 +After deploying, you will get a server IP, and a root password for ssh. 
 + 
 +{{:​litespeed_wiki:​cpanel:​vultr-4.png?​600|}} 
 + 
 +===== Install ​cPanel ===== 
 +**Remember**: ​A fully qualified domain name must contain two dots, i.''​hostname vps.mydomain.com''​
 + 
 +Run the install command from the console: ​ 
 +  ​cd /home; curl -o latest -L https://​securedownloads.cpanel.net/​latest;​ sh latest 
 + 
 +If installation is successful, you will see log like this: 
 +<​code>​268 ( INFO): cPanel install finished in 17 minutes and 20 seconds!
 1195 ( INFO): Congratulations! Your installation of cPanel & WHM 11.74 is now complete. The next step is to configure your server.</​code>​ 1195 ( INFO): Congratulations! Your installation of cPanel & WHM 11.74 is now complete. The next step is to configure your server.</​code>​
-  - You can now open your browser and go to https://​your-server-ip:​2087 to access WHM \\ Account/​Password = root/​ssh_password ​ \\ {{:​litespeed_wiki:​cpanel:​vultr-5.png?​600|}} 
  
-===== How to create ​wordpress site===== +You can now open your browser and go to ''<​nowiki>​https://​your-server-ip:​2087</​nowiki>''​ to access WHM. 
-  ​- ​Create a user/​domain ​from **Home > Account > Create a New Account** + 
-  ​- ​Use cPAddone ​Site Software to install WordPress ​\\ {{:​litespeed_wiki:​cpanel:​vultr-12.png?​600|}} +Account/​Password ​root/​ssh_password 
-  - Login user's cPanel and Click **Install** from **SOFTWARE->Site Software**, and you will see the wordpress ​site installed in few seconds ​\\ {{:​litespeed_wiki:​cpanel:​vultr-16.png?​600|}}+ 
 +{{:​litespeed_wiki:​cpanel:​vultr-5.png?​600|}} 
 + 
 +===== Create ​WordPress Site===== 
 +Create a user/​domain ​at **Home > Account > Create a New Account** 
 + 
 +Use cPAddons ​Site Software to install WordPress 
 + 
 +{{:​litespeed_wiki:​cpanel:​vultr-12.png?​600|}} 
 + 
 +Log in to the user's cPanel and Click **Install** from **SOFTWARE > Site Software**, and you will see the WordPress ​site installed in few seconds
 + 
 +{{:​litespeed_wiki:​cpanel:​vultr-16.png?​600|}} 
 + 
 +===== Set up Let's Encrypt (Optional) ===== 
 +Run the following command from the console:  
 +  /​scripts/​install_lets_encrypt_autossl_provider
  
-===== How to setup lets encrypt (Optional) ​===== +===== Install the LiteSpeed WHM Plugin ​===== 
-Command ​from console:  +Run the following command ​from the console:  
-  ​* ''​/scripts/install_lets_encrypt_autossl_provider''​+  ​cd /usr/src; curl https://​www.litespeedtech.com/​packages/​cpanel/​lsws_whm_plugin_install.sh | sh
  
-===== How to install Litespeed WHM plugin ​===== +===== Install and Switch ​to LiteSpeed Web Server ​===== 
-Command from console:  +You'll want to use LiteSpeed Web Server to increase performance.
-  * ''cd /usr/src; curl https://www.litespeedtech.com/​packages/​cpanel/​lsws_whm_plugin_install.sh | sh''​+
  
-===== How to Install and switch to LiteSpeed to increase Performance ===== 
 ==== Install Web Server==== ==== Install Web Server====
-  - If you search LiteSpeed, it will pop up from Plugins section ​\\ {{:​litespeed_wiki:​cpanel:​vultr-6.png?​600|}} +If you search ​for ''​LiteSpeed''​, it will pop up from the **Plugins** section
-  - Recommend enable PHP suEXEC. ​If you want to try LiteSpeedjust choose **Request a trial license** ​\\ {{:​litespeed_wiki:​cpanel:​vultr-7.png?​400|}} + 
-  - Setup your password for litespeed ​web admin \\ {{:​litespeed_wiki:​cpanel:​vultr-8.png?​200|}}+{{:​litespeed_wiki:​cpanel:​vultr-6.png?​600|}} 
 + 
 +If you don't have a LiteSpeed license and you want to try it, choose **Request a trial license**. We recommend you enable PHP suEXEC.  
 + 
 +{{:​litespeed_wiki:​cpanel:​vultr-7.png?​400|}} 
 + 
 +Set up your password for LiteSpeed ​web admin
 + 
 +{{:​litespeed_wiki:​cpanel:​vultr-8.png?​200|}}
  
 ====Switch to LiteSpeed ==== ====Switch to LiteSpeed ====
-{{:​litespeed_wiki:​cpanel:​vultr-9.png?​600|}} ​\\ If both server running, you maybe see this message. ​Simply click **Switch to LiteSpeed** ​button can fix it +If both servers are running, you may see this message.: 
 + 
 +{{:​litespeed_wiki:​cpanel:​vultr-9.png?​600|}} 
 + 
 +Simply click **Switch to LiteSpeed** ​to fix it 
 ====Disable Ruid2==== ====Disable Ruid2====
-{{:​litespeed_wiki:​cpanel:​vultr-10.png?​600|}} \\ If mod_ruid2 is enabled, a variety of functionality may be disrupted ​due to WHM creating files that the web server user cannot access. ​\\ +If ''​mod_ruid2'' ​is enabled, a variety of functionality may be disrupted. This is because ​WHM is creating files that the web server user cannot access. 
-Access EasyApache 4 -> Customize ​-> Apache Module ​-> Set mod_ruid2 to ''​Disabled'' ​\\ {{:​litespeed_wiki:​cpanel:​vultr-15.png?​600|}}+ 
 +{{:​litespeed_wiki:​cpanel:​vultr-10.png?​600|}} 
 + 
 +Access ​**EasyApache 4 > Customize > Apache Module** and set **mod_ruid2** to ''​Disabled''​
 + 
 +{{:​litespeed_wiki:​cpanel:​vultr-15.png?​600|}}
  
 ====Install timzoneDB extension==== ====Install timzoneDB extension====
-{{:​litespeed_wiki:​cpanel:​vultr-11.png?​600|}} \\ To improve PHP performance,​ please click **Resolve Now** button ​to fix it.+To improve PHP performance,​ please click **Resolve Now** to fix it.
  
 +{{:​litespeed_wiki:​cpanel:​vultr-11.png?​600|}}
  
-===== How to enable Cache===== 
-Follow [[litespeed_wiki:​cpanel:​whm-plugin-lscwp-management|LiteSpeed Cache For WordPress Management]] to setup. If [[https://​wordpress.org/​plugins/​litespeed-cache/​ | lscache ]] enabled for WordPress site success, you will see green on cache status \\ {{:​litespeed_wiki:​cpanel:​vultr-14.png?​600|}} 
  
-===== What's the benefit ​===== +===== Enable Cache===== 
-==== High performance ==== +Follow our instructions at [[litespeed_wiki:​cpanel:​whm-plugin-lscwp-management|LiteSpeed Cache For WordPress Management]] to set up caching. If [[https://​wordpress.org/​plugins/​litespeed-cache/​ | LSCache ]] is successfully enabled for WordPress, you will see green on **Cache Status**. 
-Accelerate ​all user's website \\  + 
-Simply test by [[ https://​httpd.apache.org/​docs/​2.4/​programs/​ab.html | AB benchmark tool ]] command\\   +{{:​litespeed_wiki:​cpanel:​vultr-14.png?​600|}} 
-''​ab -n 100000 -c 100 -k -q -H "​Accept-Encoding:​ gzip,​deflate"​ http://​litespeed.test.com/​''​ \\  + 
-**Result: 16,213 Requests/​second** \\+====== Benefits of This Setup ====== 
 +So, why would you want to start performance ​hosting with cPanel and LSWS? 
 + 
 +===== High Performance ===== 
 +You can accelerate ​all users' ​websites. 
 + 
 +Simply test using the [[ https://​httpd.apache.org/​docs/​2.4/​programs/​ab.html | AB benchmark tool ]], Like so: 
 +  ab -n 100000 -c 100 -k -q -H "​Accept-Encoding:​ gzip,​deflate"​ http://​litespeed.test.com/​ 
 +  ​ 
 +**Result**: 16,213 Requests/​second
 <​code>​ <​code>​
 Server Software: ​       LiteSpeed Server Software: ​       LiteSpeed
Line 72: Line 124:
 </​code>​ </​code>​
  
-Note: Please do benchmark ​test with ab command requests from an other public server.  ​+Note: Please do benchmark ​testing ​with ''​ab'' ​command requests from a separate ​public server.  ​
  
- +===== More Accounts ​on the Same Server =====
-==== Accept more account ​on the same server ​====+
 Double the maximum capacity of your current Apache servers with LiteSpeed Web Server'​s streamlined event-driven architecture,​ capable of handling thousands of concurrent clients with minimal memory consumption and CPU usage. Double the maximum capacity of your current Apache servers with LiteSpeed Web Server'​s streamlined event-driven architecture,​ capable of handling thousands of concurrent clients with minimal memory consumption and CPU usage.
  
-==== More Secure==== +===== More Secure ​===== 
-Protect your servers with already familiar mod_security rules while also taking advantage of a host of built-in anti-DDoS features, such as bandwidth and connection throttling. +Protect your servers with already familiar ​''​mod_security'' ​ruleswhile also taking advantage of a host of built-in anti-DDoS features, such as bandwidth and connection throttling.
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
  
  • Admin
  • Last modified: 2018/08/16 13:49
  • by Lisa Clarke