Raspbian Ubuntu

Ubuntu SSH OTP

1. Intro I want to configure OTP to use SSH connection to Ubuntu server.   2. Setup 2.1. install google OTP sudo apt install libpam-google-authenticator 2.2. setup pam.d, sshd config # pam.d 맨 위에 추가시 Login ID → OTP code → PW 맨 아래 추가시 Login ID → PW → OTP code nullok : otp […]

Continue Reading
Tools

Write Timestamp on Notepad++

1. Intro If you want write timestamp on notepad++ like notepad(windows) shortcut F5   2. How to do? 2.1. Install Plugin Notepad++ > Plugins > Install “TextFX Characters” 2.2. Set Shortcut Notepad++ > Settings > Shortcut Mapper… > Plugin commands > “I:Date & Time – short format” Double Click

Continue Reading
CentOS

Clean unuse kernel

1. Intro If you have an old kernel that you are not using, you should delete it. Because it fill up the /boot capacity.   2. How to do? 2.1. check kernel & check disk usage # current kernel uname -a # list kernel rpm -q kernel cat /etc/grub.conf | grep title # disk usage […]

Continue Reading
Linux 공통

screen

1. Intro Use multiple shell windows from a single SSH session. Keep a shell active even through network disruptions. Disconnect and re-connect to a shell sessions from multiple locations. Run a long running process without maintaining an active shell session. ref> https://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/   2. Install yum install screen   3. Command # session list 확인 […]

Continue Reading
Back To Top