이번에는 제목과 같이 CentOS8에 APM을 설치하기로 합니다.
1. mysql (mariadb설치)
# yum -y install mariadb-server mariadb
# systemctl start mariadb.service
# systemctl enable mariadb.service
2. apache와 php의 설치
# yum -y install httpd
# yum -y install php
# yum -y install gd gd-devel
# yum -y install libxml2 libxml2-devel
# yum -y install openssl openssl-devel
# yum -y install gmp gmp-devel
# yum -y install mhash mhash-devel
# yum -y install libmcrypt libmcrypt-devel
# yum -y install php-mysqlnd
# yum -y install php-devel
# yum -y install php-gd
# yum -y install php-mbstring
# yum -y install php-mhash
# yum -y install xml-common
# yum -y install epel-release
# yum -y update
# systemctl start httpd.service
# systemctl enable httpd.service
3. 방화벽등록
#firewall-cmd --permanent --zone=public --add-service=http
#firewall-cmd --reload
#firewall-cmd --permanent --zone= public --add-port= 8080/tcp
#firewall-cmd --permanent --zone=public --add-port=4000-4100 /tcp
[vsFTP 설치]
-
dnf install vsftpd
- Make a copy and review the default VSFTPD configuration file. First make a copy of the original configuration file:
# mv /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf_orig
Let's start with a clean configuration file:
# grep -v ^# /etc/vsftpd/vsftpd.conf_orig > /etc/vsftpd/vsftpd.conf
Your new /etc/vsftpd/vsftpd.conf configuration should look similar to the one below:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
listen=NO
listen_ipv6=YES
pam_service_name=vsftpd
userlist_enable=YES
- Start VSFTPD daemon and set it to start after reboot:
# systemctl start vsftpd
# systemctl enable vsftpd
|