How to switch between gdm lightdm or kdm in ubuntu
How To Disable the Amazon Search Ads in Ubuntu's Unity Dash
[HOWTO] Enable right click and desktop folder in Gnome 3 - 바탕화면에 파일관리 기능 표시
Enable or block firewall access Possible to install ubuntu-desktop and then boot to no gui - 우분투를 gui 없이 부팅하도록 설정하는 방법
Converting MP3 Tags - MP3 tag 변환 툴 소개 How to convert audio files tags. windows-1251 to UTF-8 - easytag를 사용한 tag 변환
screen 기본 사용법 - 1 linux screen keyboard shortcuts - Screen 단축키
Linux: block outgoing traffic to specific ip or port using iptables or ufw UFW Block outgoing traffic UFW 사용법
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty
출처: https://help.ubuntu.com/community/CheckingYourUbuntuVersion
수정한 파일 날짜 기준으로 찾기 - How to Find Recent or Today's Modified Files in Linux
해시합이 맞지 않는다고 할 경우 - https://askubuntu.com/questions/41605/trouble-downloading-packages-list-due-to-a-hash-sum-mismatch-error
소스 서버 주소 변경
$ sudo vim /etc/apt/sources.list
vim 명령 모드 진입후 ( : 키 누름)
:%s/kr.archive.ubuntu.com/ftp.daumkakao.com
입력 후 wq를 누르고 빠져나가면 완료.
출처: http://inasie.tistory.com/39
서버 재부팅 원인 확인
$ last -R ... lindol pts/0 Tue Apr 2 22:20 - 23:13 (00:52) reboot system boot Tue Apr 2 06:12 - 22:50 (2+16:37) lindol pts/0 Mon Apr 1 23:15 - 23:46 (00:30)
last 명령으로 의심되는 재부팅 시간대를 확인함.
이후
/var/log/auth.log 또는 /var/log/syslog 파일을 확인해 대략적인 사유를 확인한다.
아래의 예의 경우 Power키가 눌린 상황으로 유추 할 수 있다.
$ vim /var/log/auth.log Apr 2 05:39:01 lindol CRON[23543]: pam_unix(cron:session): session closed for user root Apr 2 05:46:12 lindol systemd-logind[820]: Power key pressed. Apr 2 05:46:12 lindol systemd-logind[820]: Powering Off... Apr 2 05:46:12 lindol systemd-logind[820]: System is powering down. Apr 2 05:46:12 lindol sshd[865]: Received signal 15; terminating. Apr 2 06:12:44 lindol systemd-logind[800]: New seat seat0. Apr 2 06:12:44 lindol systemd-logind[800]: Watching system buttons on /dev/input/event0 (Power Button) Apr 2 06:12:44 lindol systemd-logind[800]: Watching system buttons on /dev/input/event1 (AT Translated Set 2 keyboard)
참고 https://serverfault.com/questions/270716/why-was-the-ubuntu-server-rebooted