Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous 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/16 13:49]
Lisa Clarke Replaced second half with link to common setup
Line 1: Line 1:
-====== ​How to start a performance shared hosting ​with cPanel ​and LSWS on vultr====== +====== ​Start Shared Hosting ​with cPanel, ​LiteSpeedand Vultr ====== 
- +You can start performance shared hosting with cPanel and LiteSpeed Web Server ​on VultrHere's how
-===== How to start an instance===== +===== Start an Instance ​===== 
-  - Create a vultr account and click **+** button to create a new instance \\ {{:​litespeed_wiki:​cpanel:​vultr-1.png?​600|}} +Create ​Vultr account and click the **+** button to create ​new instance.
-  - Default plan is $10 with CentOS 7 x64. If you don't want to changethen just click **Deploy** button \\ {{:​litespeed_wiki:​cpanel:​vultr-2.png?​600|}} \\ {{:​litespeed_wiki:​cpanel:​vultr-3.png?​600|}} +
-  - After deployingyou will get Server IP, root password to ssh \\ {{:​litespeed_wiki:​cpanel:​vultr-4.png?​600|}} +
- +
-===== How to install cPanel ​===== +
-  - 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''​ +
-  - If successfully installed. You will see log: \\ <​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>​ +
-  - 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 a wordpress site===== +
-  - 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|}} +
-  - 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|}} +
- +
-===== How to setup lets encrypt (Optional) ===== +
-Command from console:  +
-  * ''/​scripts/​install_lets_encrypt_autossl_provider''​ +
- +
-===== How to install Litespeed WHM plugin ===== +
-Command from console:  +
-  * ''​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==== +
-  - If you search LiteSpeed, it will pop up from Plugins section \\ {{:​litespeed_wiki:​cpanel:​vultr-6.png?​600|}} +
-  - Recommend enable PHP suEXEC. If you want to try LiteSpeed, just 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|}} +
- +
-====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  +
-====Disable Ruid2==== +
-{{:​litespeed_wiki:​cpanel:​vultr-10.png?​600|}} \\ If mod_ruid2 is enabled, ​variety of functionality may be disrupted due to WHM 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|}} +
- +
-====Install timzoneDB extension==== +
-{{:​litespeed_wiki:​cpanel:​vultr-11.png?​600|}} \\ To improve PHP performance,​ please click **Resolve Now** button to fix it. +
- +
- +
-===== 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 ===== +
-==== High performance ==== +
-Accelerate all user's website \\  +
-Simply test by [[ https://​httpd.apache.org/​docs/​2.4/​programs/​ab.html | AB benchmark tool ]] command: \\   +
-''​ab -n 100000 -c 100 -k -q -H "​Accept-Encoding:​ gzip,​deflate"​ http://​litespeed.test.com/''​ \\  +
-**Result: 16,213 Requests/​second** \\ +
-<​code>​ +
-Server Software: ​       LiteSpeed +
-Server Hostname: ​       litespeed.test.com +
-Server Port:            80 +
- +
-Document Path:          / +
-Document Length: ​       20791 bytes +
- +
-Concurrency Level: ​     100 +
-Time taken for tests: ​  6.168 seconds +
-Complete requests: ​     100000 +
-Failed requests: ​       0 +
-Keep-Alive requests: ​   99100 +
-Total transferred: ​     2115495500 bytes +
-HTML transferred: ​      ​2079100000 bytes +
-Requests per second: ​   16213.20 [#/sec] (mean) +
-Time per request: ​      6.168 [ms] (mean) +
-Time per request: ​      0.062 [ms] (mean, across all concurrent requests) +
-Transfer rate:          334950.64 [Kbytes/​sec] received +
-</​code>​ +
- +
-Note: Please do benchmark test with ab command requests from an other public 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. +
- +
-==== More Secure==== +
-Protect your servers with already familiar mod_security rules while also taking advantage of host of built-in anti-DDoS features, such as bandwidth and connection throttling. +
- +
- +
- +
- +
- +
- +
- +
  
 +{{:​litespeed_wiki:​cpanel:​vultr-1.png?​600|}}
  
 +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. ​
  
 +{{:​litespeed_wiki:​cpanel:​vultr-2.png?​600|}}
 +{{:​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|}}
  
 +===== Set Up cPanel and LiteSpeed =====
 +The rest of these steps are the same for every provider. Please see [[litespeed_wiki:​cpanel:​set-up-shared-hosting|these instructions]] to continue.
  
  • Admin
  • Last modified: 2018/08/16 13:49
  • by Lisa Clarke