dnf -y install httpd php php-mysqlnd mariadb-server



Firefox 브라우저를 키고 http://localhost/ 또는 http://127.0.0.1/ 로 접속합니다.



http:// localhost/phpinfo.php


수정 완료 후 [옵션] - [firewall 다시 불러오기] 클릭 후 닫기
텍스트 모드에서 방화벽 설정
firewall-cmd -permanent --add-service=서비스이름(telnet) # -permanent 는 재부팅해도 설정을 유지하는 옵션
firewall-cmd -permanent --add-port=포트번호/프로토콜(23/tcp)
firewall-cmd --reload

Wordpress






vi wp-config.php




윈도우 클라이언트 192.168.16.11 접속






'Linux > 실습' 카테고리의 다른 글
CentOS 8 NFS 서버 설치와 운영 (0) | 2024.04.24 |
---|---|
CentOS 8 FTP 서버 설치와 운영 (0) | 2024.04.24 |
CentOS 8 원격지 시스템 관리 (0) | 2024.04.24 |
CentOS 8 실습 연습문제 2 with RAPA (0) | 2024.04.24 |
CentOS 8 실습 연습문제1 with RAPA (0) | 2024.04.22 |