Many friends use the Capri skin for their DirectAdmin (DA) panels. This is a commercial template and requires a fee to use. The wisdom of the Chinese people is infinite, and in some aspects, it has been perfectly embodied, such as PJ. Good VPS does not agree with installing the PJ version of the program on foreign servers because it may bring certain risks. However, in the spirit of sharing, here is a simple installation introduction.
In fact, the installation of Capri skin is very simple. The script was modified by an expert. We only need to copy, paste and press Enter, and it is OK.
First, the root user logs in to the server and downloads the script
wget http://www.vpsok.net/sh/capri.sh
Then, run the script
sh capri.sh
The installation process begins, and there are several options before the official installation:
1)Please choose a skin name or enter to use default[capri]
#Please enter the name of the skin, the default is capri, just keep the default
2)Please choose a color set(1:blue,2: gray)[1]:1
#Please select the skin color, 1 is blue, 2 is gray, the default is 1
3) Would you like to install the login page skin?(y/n)[y ]
#Would you like to install a login page skin, the default is yes
4)Capri skin also have an email-only version for users who have a email services.Would you like to install a secondemail- only sky(will be called Capri-mail)?
#Do you want to install the Capri mail system skin, the default is no
Just keep all the above options as default!
After the installation is complete, log in to the DA panel, switch to the Capri skin, and select the language "cn" in the upper right corner.
【Difficulties and Miscellaneous Problems】After installation, some friends found that the interface was blank after enabling the Capri skin. This is because zend is not installed on the system or zend is not installed. Caused by compatibility. The solution is to install zend if it is not installed; if it is incompatible, upgrade zend. The upgrade process is as follows:
1. Download the file
wget http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz
2. Unzip
tar zxvf ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz
3. Select the ZendOptimizer.so file corresponding to the PHP version
cd ZendOptimizer-3.3.9-linux-glibc23-i386
For example: My PHP version is php5.2, and my apache module is installed in /usr/lib/httpd/modules/
through yum: cp ./data/5_2_x_comp/ZendOptimizer.so /usr/local/Zend/lib /
4. Configuration file
modifies /etc/php.ini, /etc/ispcp/fcgi/parts/php5/php.ini, /var/www/fcgi/domain.ltd/php5/php.ini and/var/www/fcgi/master/php5/php.ini
Add the following content at the end:
[zend]
zend_optimizer.optimization_level=15
zend_extension=”/usr/lib/ httpd/modules/ZendOptimizer.so”