Install lamp in yum

Source: Internet
Author: User
It is easier to install lamp using yum in centos. install lamp using yum in apache: install yuminstallhttpdphp: install yuminstallhttpdmysql: install yuminstallmysqld after installing mysql, and then enter the following command: mysql_s... it is easier to install lamp using yum in centos. install yum install httpd mysql in apache: install yum install httpd php: install yum install httpd mysql: after yum install mysqld installs mysql, you need to set the password, and then enter the command: mysql_secure_installation. the system prompts: www.2cto.com In order to log into MySQL to secure it, we'll need the current passwor D for the root user. if you 've just installed MySQL, and you haven't set the root password yet, the password will be blank, so you shoshould just press enter here. enter current password for root (enter for none): (generally, mysql is installed, and root does not have a password. Enter directly here) setting the root password ensures that nobody can log into the MySQL root user without the proper authorisation. set root password? [Y/n] Y New password: 12345678 // set the new password Re-enter New password: 12345678 // after you confirm the password again, Enter all the way to www.2cto.com to allow PHP to support mysqlyum install php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php -xmlrpc php-mbstring. configure httpd and mysqld to start chkconfig mysqld onchkconfig httpd on restart httpd

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.