Wordpress is CMS run using PHP, Now You can install Wordpress on your Linux server with Litespeed web server using SSH client, Its easy and don't take times. Follow the steps below

Prerequisites

1. Server running php (Litespeed web server)

2. Databases (Phpmyadmin)

3. SSH Client

Create New database

Important: Give Permission your Litespeed admin

sudo chown -R nobody:nobody /usr/local/lsws/Example/html

I had to figureout half day this user name and user group, any how this username:usergroup is for litespeed webserver if you install wordpress

Go to

http://your-IP/protected/index.php

and create new databse

These details will be required next

  • 1. Your Hostname
  • 2. Database Name
  • 3. Datanase username
  • 4. Database Password

Now Open Virtualhost directory by CD command

1. Now in your SSH client Use the command cd to open directory of your host

cd /usr/local/lsws/Example/html/

2. Now Download file using wget command

wget https://wordpress.org/latest.zip

3. Now unzip the latest.zip file use

unzip latest.zip

4. Move all files from wordpress folder to html folder (root of virtual host)

mv wordpress/* /usr/local/lsws/Example/html

5. Delete zip files and wordpress folder

rm -Rf wordpress

rm -f latest.zip

We also need to Edit General Settings in our Virtual Host

Change index.html to index.php

Now install wordpress

Now open website url or IP address in your host to start installation

It will ask basic steps of installation.

These details will be required next

  • 1. Your Hostname
  • 2. Database Name
  • 3. Datanase username
  • 4. Database Password

And also you need to choose your Website Name and create admin account,

See video and Screenshot

YOUR REACTION?

Facebook Conversations