This is an old revision of the document!


How to setup performance shared hosting with cPanel and LSWS on vultr

  1. Create a vultr account and click + button to create a new instance
  2. Default plan is $10 with CentOS 7 x64. If you don't want to change, then just click Deploy button


  3. After deploying, you will get Server IP, root password to ssh
  1. A fully qualified domain name must contain two dots.
    hostname vps.mydomain.com
  2. Run install command from console:
    cd /home; curl -o latest -L https://securedownloads.cpanel.net/latest; sh latest
  3. If successfully installed. You will see log:
    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.
  4. You can now open your browser and go to https://your-server-ip:2087 to access WHM
    1. Account/Password = root/SSH_PASSWORD
  1. Create a user/domain from Home > Account > Create a New Account
  2. Use cPAddone Site Software to install WordPress
  3. Login user's cPanel and Click Install from SOFTWARE→Site Software

How to setup lets encrypt (Optional)

Command from console:

  • /scripts/install_lets_encrypt_autossl_provider

Install Web Server

  1. If you search LiteSpeed, it will pop up from Plugins section
  2. Recommend enable PHP suEXEC. If you want to try LiteSpeed, just choose Request a trial license
  3. Setup your password for litespeed web admin

Switch to LiteSpeed


If both server running, you maybe see this message. Simply click Switch to LiteSpeed button can fix it

Disable Ruid2


If mod_ruid2 is enabled, a 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

Install timzoneDB extension


To improve PHP performance, please click Resolve Now button to fix it.

Follow LiteSpeed Cache For WordPress Management to setup. If lscache enabled for WordPress site success, you will see green on cache status

ab -n 100000 -c 100 -k -q -H “Accept-Encoding: gzip,deflate” http://litespeed.test.com/

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
  • Admin
  • Last modified: 2018/08/14 18:18
  • by Eric Leu