Home >Operation and Maintenance >Linux Operation and Maintenance >Complete installation tutorial under whmcs7.01 centos

Complete installation tutorial under whmcs7.01 centos

巴扎黑
巴扎黑Original
2017-06-23 14:45:251655browse

System environment centos6.x 64-bit

1. Configure the web environment

Select LNMP1.4 for the web environment

Download the LNMP installation scriptwget -c && tar zxf lnmp1.4.tar.gz && cd lnmp1.4 && ./install.sh

Run the command to install. As for how to choose after the command, please refer to the official


Quietly wait for the installation to complete. The installation speed depends on the machine you choose. If the machine is poor and the Internet speed is not good, it may take 7-8 hours to complete.

2.Install the php component ionCube (this must be installed, otherwise whmcs cannot be installed)

cd lnmp1.4

./addons.sh install ionCube

3. Add website

lnmp vhost add

Detailed installation tutorial

4. Upload website program

It is recommended to use winscp to upload. Upload the whmcs compressed package to the directory you created, home/wwwroot/yousite (the domain name you filled in in the third step)

cd /home/wwwroot/yoursite

Then unzip the whmcs file package

unzip whmcs.zip After decompression cd whmcs --> mv * ../ --> cd ../

Modify website directory permissions: chown www:www -R /path/to/ dir Set permissions for the website directory, replace /path/to/dir with your website directory.

5. Installation program

cd /home/wwwroot/yoursite

cp configuration.php.new configuration.php

chmod 777 configuration.php

chmod 777 templates_c

chmod 777 attachments

chmod 777 downloads

Enter your domain name in the browser to visit

Click I gree
Fill in the database information and click Next. The installation is complete

6. Delete the installation directory install (required, otherwise the backend cannot be accessed)

cd /home/wwwroot/yoursite

web Directory: rm -rf install

You’re done, visit http://your domain name/admin/ and you can log in to the backend

The above is the detailed content of Complete installation tutorial under whmcs7.01 centos. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn