1 What is Lampp???
The internet search is roughly the case:
Lampp=xampp #改名称为xampp because of a conflict with the LAMPP environment module
XAMPP (Apache+mysql+php+perl)) is a powerful built-in integration package
01 Installing Apache
- Yum install-y httpd #yum命令安装
- Rpm-qa | grep httpd #检查是否安装httpd
- /ETC/INIT.D/HTTPD Start #启动httpd
- Ps-ef | grep httpd #检查进程是否启动
- Service httpd Start #这个也可以查看是否运行
- /ETC/INIT.D/HTTPD Stop #停止httpd
- Chkconfig httpd on #设置开机自启动
- Tips to learn
- Give the path a name-alias, the next time the alias is directly executed, you can not use aliases directly unalias aliases
- Vim ~/.bash_profile #编辑
- Add the variable you want to set: Alias variable name = ' Execute path ', e.g., alias httpd_start= '/etc/init.d/httpd start ' save
- SOURCE ~/.bash_profile #重载资源文件
- Execute Httpd_start #等同于/etc/init.d/httpd start
- Unalias Httpd_start Canceling aliases
Note:
This piece encounters a hate-strange problem, prompting when starting
Starting Httpd:httpd:apr_sockaddr_info_get () failed for root
Httpd:could not reliably determine the server ' s fully qualified domain name, using 127.0.0.1 for ServerName
Later after lunch, the computer lock screen after the network interruption, again open the screen, unexpectedly did not have this problem .... But still on the Internet to search the relevant information, to avoid similar problems in the follow-up, confused:
Reference article: http://blog.csdn.net/u010187139/article/details/50885071
Copy the following scenario in the article:
VI/ETC/HTTPD/CONF/HTTPD. conf #编辑
Found #ServerName www.example.com:80
Modified to servername www. 1000seo. com: #这里设置为你自己的域名,
If you don't have a domain name, you can set it to localhost:wq! #保存退出
02 Installing MySQL
Reference article: http://blog.csdn.net/u010187139/article/details/50885071
03 Installing PHP
LINUX_LAMPP (XAMPP)