사용자 도구

사이트 도구


ubuntu

Ubuntu Firewall Document

How to switch between gdm lightdm or kdm in ubuntu

How To Disable the Amazon Search Ads in Ubuntu's Unity Dash

Gnome3

[HOWTO] Enable right click and desktop folder in Gnome 3 - 바탕화면에 파일관리 기능 표시

데스크탑 설정

  • MenuLibre - 메뉴 편집기 프로그램, Gnome Desktop 환경에서 Dash Launcher에 단축메뉴를 추가하려면 먼저 그놈 메뉴 리스트에 프로그램이 등록되어 있어야 한다. 이 때 사용할 수 있는 것이 메뉴 편집기 이다. (메뉴 리스트에 들어 있지 않은 프로그램은 Dash Launcher에 메뉴를 등록할 수 없음)

Useage

Enable or block firewall access Possible to install ubuntu-desktop and then boot to no gui - 우분투를 gui 없이 부팅하도록 설정하는 방법

시작 서비스 관리

  1. 시작 서비스 관련 - update-rc.d를 사용한 runlevel 작업 수정
  2. Disable service on boot-Ubuntu 12.04 update-rc.d 로 안되는 vsftpd 와 같은 시작 서비스 설정하는 방법

Howto

mp3 tag

Converting MP3 Tags - MP3 tag 변환 툴 소개 How to convert audio files tags. windows-1251 to UTF-8 - easytag를 사용한 tag 변환

screen

APM 설정

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

apt-get update

관리

소스 서버 주소 변경

$ 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

ubuntu.txt · 마지막으로 수정됨: 2019/04/04 23:54 저자 lindol