Mysql is set as the linux service cp/usr/local/mysql/share/mysql. server/etc/init. d/mysqldchkconfig -- addmysqldchkconfig -- level2345mysqldonchownmysql: mysql-R/usr/local/mysql/se mysql is set as the linux service cp/usr/local/mysql/share/mysql. server/etc/init. d/mysqldchkconfig -- add mysqldchkconfig -- level 2345 mysqld onchown mysql: mysql-R/usr/local/mysql/service mysqld start apache is set to linux service cp/usr/local/apache2/bin/apachec Tl/etc/init. d/httpdvi/etc/init. d/httpd in #! Add the following two lines after/bin/sh # chkconfig: 345 85 15 # description: Start and stops the Apache HTTP Server. then chmod + x/etc/rc. d/init. d/httpdchkconfig -- add httpd and then you can run the setup command to enter the service settings and set it to start the second method at/etc/rc. d/rc. add commands to start apache in local, such as/usr/local/apache2/bin/apachectl start/usr/local/mysql/bin/mysqld_safe -- user = root &
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service