개발은 하는건가..

Linux 최소 설치 후 추가 설치 환경 본문

Server, Maria DBMS

Linux 최소 설치 후 추가 설치 환경

수동애비 2022. 2. 4. 15:37
반응형

* ifconfig Nettool 설치

  yum install net-tools

 

* sshd 설치

#설치

  yum install -y openssh-server openssh-client openssh-askpass

 

# 포트설정

  /etc/ssh/sshd_config 파일을 수정한다.

  #Port 22   주석을 해제하고 변경할 포트로 변경 (이미 데몬이 구동 중인 경우 restart 한다)  

#구동

  systemctl start sshd

 

#방화벽 포트 추가

  firewall-cmd --permanent --zone=public --add-port=포트번호/tcp

  firewall-cmd --reload  

 

#방화벽 포트 제거

  firewall-cmd --permanent --zone=public --remove-port=포트번호/tcp

  firewall-cmd --reload  

 

* openJDK 설치

#설치

  yum install java-11-openjdk-devel.x86_64

#업데이트 (주 버젼 변경)

update-alternatives --config java

update-alternatives --config javac

 

Comments