본문 바로가기
반응형

linux14

[Linux] Change and add ssh port number (ssh 포트 번호 바꾸기, 추가하기) [Linux] Change and add ssh port number (ssh 포트 번호 바꾸기, 추가하기) 리눅스의 OpenSSH 설정 파일에서 포트 번호를 수정 또는 추가하면 된다. (You can edit or add the port number in the Linux OpenSSH configuration file.) sudo vim /etc/ssh/sshd_config #Port 22 -> Port 22 -> Port 2022 service sshd restart 또는 /etc/rc.d/init.d/sshd restart 2022. 9. 3.
[Linux] How to fix NFS mount Permission denied (NFS mount Permission denied 해결 방법) [Linux] How to fix NFS mount Permission denied (NFS mount Permission denied 해결 방법) 1. vi /etc/exports 마운트할 디렉토리 경로, 설정이 올바르게 되어있는지 확인 ex) /home/nfs *(rw, root_squash) (root_squash: 클라이언트도 서버의 마운트 디렉토리 내에서 root 권한 가짐) (Check if the directory path to mount and settings are correct ex) /home/nfs *(rw, root_squash) (root_squash: the client also has root privileges within the server's mount directory.. 2022. 8. 30.
[ubuntu][bash] How to do when tab autocomplete expansion does not work (tab 자동완성 확장이 안될 때 방법) [Solved][ubuntu][bash]How to do when tab autocomplete expansion does not work(tab 자동완성 확장이 안될 때 방법)  step 1. sudo apt-get install bash-completion step 2. sudo vi /root/.bashrc  step 3. 아래 코드 부분의 주석을 제거 (Uncomment the below code part) if [ -f /etc/bash_completion ] && ! shopt -oq posix; then . /etc/bash_completion step 4. reboot 2022. 8. 30.
[linux] scm_breeze capable of shortening commands in shell (shell 내 명령어 단축 입력이 가능한 scm_breeze) [linux] scm_breeze capable of shortening commands in shell (shell 내 명령어 단축 입력이 가능한 scm_breeze) scm_breeze github page https://github.com/scmbreeze/scm_breeze GitHub - scmbreeze/scm_breeze: Adds numbered shortcuts to the output git status, and much more Adds numbered shortcuts to the output git status, and much more - GitHub - scmbreeze/scm_breeze: Adds numbered shortcuts to the output git status.. 2022. 8. 24.
반응형