All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Tutorial:Automatically install Nginx+PHP+MySql+phpMyAdmin
Some of our clients are not good at SSH command, they just want an easy way to run their websites. Most of them are less then 1GB memory VPS and don't want install control panel.
For this purpose, we wrote an auto install script for "Nginx+PHP+MySql+phpMyAdmin"
What's you need to do is: Copy and post/run below single command line via SSH root login. wait 5-15 minutes(depending on the software download speed from your server), Everything is Done!
wget -O /tmp/install-nginx-php-mysql.sh https://raw.github.com/ComfortVPS/Nginx-PHP-MySql-phpMyAdmin/master/install-nginx-php-mysql.sh; sh /tmp/install-nginx-php-mysql.sh;
Installation Requirement:
- CentOS 5.x/6.x 32bit or 64bit ( We recommend you Reload OS before install )
- Guarantee Memory >= 128MB, Free Disk space >=2GB
Fetures:
- You can add multiple websites directly via SFTP, no need to login SSH, no need to restart Nginx
- You can easily custom config each website domain's Nginx config file if you need
- Installed the newset stable version of Nginx1.4.x, PHP-FPM5.x, MySql5.x by YUM
- phpMyAdmin4.x installed and ready for use. Just login and manage mysql database as you want
- Work perfectly for low memory VPS with ram >= 128MB
- Many tutorials for how to use
Get your password after everything installed
Your SSH console screen will show something like below after successfully installed, Please record your password. The unique password was random generated by openssl, no need to change.
> ====== Nginx + PHP-FPM + MYSQL Successfully installed
> ====== MySql root password is cft.KL7fvW2g
> ====== SFTP Username is myweb
> ====== SFTP Password is cft.KL7fvW2g
> ====== Website document root is /www/yourdomain
> ====== Add websites tutorials: http://goo.gl/sdDF9
>
> ====== Now you can visit http://your-ip-address/
> ====== Eg. http://50.3.62.173/
> ====== phpMyAdmin: http://50.3.62.173/phpMyAdmin4U/
> ====== More tutorials: http://goo.gl/tNFb0
Add multiple websites via SFTP
Step 1, Create a domain name directory under /www via SFTP, eg, yourdomain.com, subdomain.abc.com, domain-name.net
Step 2, Everything is Done, Config Nginx virtual host is finish, upload your php/html files to that directory then test it.
More information and tutorials
http://www.comfortvps.com/VPS/Auto-installer-Nginx-PHP-php-fpm-MySql-CentOS.html
We will continue to write more tutorials for how to use it.
Please reply to this post if you need any help for LEB user.
Comments
a simple and easy way to get people installing your backdoor. just saying
If his backdoors are in the EPEL or Remi repositories, there are way bigger problems than this script.
I have to admit this is one of the slicker setups I've seen (and now used) for CentOS users! Thanks!
This is a free opensource script, You can check the source at anytime
I have no doubt in your intentions, but why not hosting it on GitHub/Gist or something similar for more transparency?
Compared to the other scripts posted on here?
What's this code?
It prints "INSTALL, BACKDOOR!\n" then exits.
I don't understand why someone post a confused code here, is it a joke?
yes
(facepalm) That's assembly.
hmm this script really any backdoor?
@DomainBop isn't that assembler?
I suggest it would be nice to put the script on github or something.
Put the script on github please. Thank you for the script
Could you modify the script to setup the default domain on the nginx conf as the hostname of the VPS/Server?
This step needs to be corrected in the post.
Take a look at Centmin Mod. Your script looks like centmin mod, and maybe you can join forces
OK, we will put this script on github asap
Lots of people don't use a real domain name for hostname.
I use sqlbuddy for MySQL.
Okay, now why is this so important? What's the difference where it's hosted? What am I missing here?
convenience
deleted
Try vestaCP i am using on a 256 mb vps works great and very easy to use,
how easy:
to setup remote dns servers is as easy as:
to store your backups on a remote ftp server:
VestaCp is free - but they are pushing paid Support very hard,
RHEL/CentOS and Debian/Ubuntu
i am using ubuntu 12.04 LTS 32 bit
http://vestacp.com/
http://stevetan.me/post/ubuntu-13-04-vestacp-setup
Looks very cool, i have a 128mb vps in Germany i will do a reinstall so i can try your script,
Do you have a recommendation for an easy to install email server.
Nice tutorial and nice script mate
I also think you are trying to install your backdoor. Otherwise if you are honest why don't submit it on github?