리눅스가 뭐꼬?

centos APM install yum

 

Hello! I'm Frank, a Linux server engineer.
Today, we're going to learn how to do an APM install.
I will install Apache, MySQL, and PHP using the yum command on Linux CentOS.
First, we'll install 5 packages: httpd, mysql, mysql-server, php, and php-mysql.
It may be a little complicated if you choose to compile the source and install.
Let's perform a simple installation.
Now, time to check if the packages have installed properly.
Using the rpm -qa command, we can confirm that all the packages are listed.
We pipe all of those results and use the egrep command to match and filter our desired packages.
Let's check if Apache runs smoothly.
We'll do the same check for MySQL.
Finally, confirm the PHP version.
Entering the pstree command, we can see the daemons that are currently running.
Now, we'll stop Apache...
And then we'll start it up again.
We will also run MySQL.
Using the pstree and grep commands, confirm the daemons that are currently running.
Let's also confirm the MySQL version.
Through the ifconfig command, check the server's IP address.
If you can see this screen, the installation was a success.
That's all for today's lesson.
Thanks for watching and have a fantastic day!

댓글

댓글 본문
작성자
비밀번호
  1. Frank
    저는 centos6 버전으로 했어요.
    대화보기
    • dev1
      centos 몇버전으로 하신건가요? centos7로 하고있는데 mysql-server도 없다고하고 다양하게 안되는게 많네요
    graphittie 자세히 보기