Please follow the steps to install wordpress in linux system:
Step 1: Login into CWP panel using root account.
Step 2: Create MySql Database from CWP
under SQL Services –> MySQL Manager –> Create Database and User
Step 3: take SSH and download wordpress package under users public_html directory
#cd /home/username/public_html/
Step 4: Download the wordpress package.
#wget https://wordpress.org/latest.tar.gz
Step 5: Extract the wordpress package.
# tar -zxvf latest.tar.gz
Step 6: Move all content
#mv -Rf wordpress
Step 7: Change the owner.
#chown -R username:username *
Step 8: Rename the wp-config-sample.php to wp-config.php in public_html directory.
Step 9: Now visit on website and install wordpress from browser by entering Mysql database login detail.