First, install Nginx
Ii. Installation of JDK
Third, install Tomcat
Iv. installation of MySQL
1. Installation
Yum install-y mysql-server MySQL mysql-devel
2. Start the service
[[email protected] bin]# service mysqld startinitializing mysql database:installing mysql system tables ... Okfilling Help Tables ... OKto start mysqld at boot time has to copysupport-files/mysql.server to the right place for your systemplease Remembe R to SET A PASSWORD for the MySQL root USER! To does, start the server, then issue the following commands:/usr/bin/mysqladmin-u root password ' new-password '/usr/bin/ Mysqladmin-u root-h iz94xzz4gddz password ' new-password ' Alternatively you can run:/usr/bin/mysql_secure_ Installationwhich would also give you the option of removing the testdatabases and anonymous user created by default. This isstrongly recommended for production servers. See the Manual for more instructions. You can start the MySQL daemon with:cd/usr; /usr/bin/mysqld_safe &you can test the MySQL daemon with mysql-test-run.plcd/usr/mysql-test; Perl mysql-test-run.plplease Report No problems with The/usr/bin/mysqlbug script! [OK] Starting mysqld: [OK]
See the tips above:
/usr/bin/mysqladmin-u root password ' new-password '/usr/bin/mysqladmin-u root-h iz94xzz4gddz password ' new-password '
So we reset the password for the root user of MySQL:
/usr/bin/mysqladmin-u root password ' new-password '
You can log in by MySQL command line at this time.
CentOS 6.5 Build JSP Runtime Environment