Ngnix Installation steps :You can follow the below steps to complete re-install.
1. Take a backup of existing Apache conf files(httpd.conf) and php.ini files.
2. Change directory to /usr/local/src/publicnginx and run the command "./nginxinstaller uninstall" for removing the existing one.
3. Rename the existing "publicnginx" folder to any other name say publicnginx_`date +%F`
4. Then follow the installation instructions given in the below URL.
"
http://nginxcp.com/installation-instruction/"
Once you have completed the installation you will get below message.
[/usr/local/src/publicnginx]# ./nginxinstaller install
/usr/local/src/publicnginx
Welcome to the Nginx Admin installer......Starting Install
Please Wait .......
Generating vhosts...
Installing WHM interface...
Installing mod_rpaf...
Updating cPanel Configuration
Reading Apache Configuration
updating Apache configuration
****************************************************
* Installation Complete *
*run /etc/init.d/httpd restart to start Nginx Admin*
****************************************************
5.Then restart Apache service to start Nginx Admin.
If the customer is having any custom configuration in his Apache conf file then update those details in newly created Apace configuration file. You can compare the new configuration file with the backup of older Apache configuration file.
#diff <newconf file> <oldconffile>
Check the current version of Nginix admin and make sure that Ngnix admin plugin is available in WHM under plugin section(Nginx Admin (v4.4 Stable version))
# nginx -v
nginx version: nginx/1.4.1
Finally check the working status of all the websites and update the customer. Also please make sure that websites are error free.
That's all