주 메뉴 열기

wwiki β

바뀜

Debian

367 바이트 추가됨, 2022년 6월 5일 (일) 09:44
시간설정
===설치된 패키지 검색===
$ dpkg-query -l [검색어]
==서비스==
===서비스 리스트===
$ chkconfig --list
===결과===
alsa-utils                0:off  1:off  2:off  3:off  4:off  5:off  6:off  S:on
마지막에 나오는 S:on이 실행상태인것 실행상태인 것 같은데, 실제 서비스 실행상태와는 다른 경우가 있다.  $ [[service ]] slapd status
==디스크==
====smartctl====
디스크 검사<syntaxhighlight lang="bash">
$ sudo apt install smartmontools
$ smartctl /dev/mmcblk0
</syntaxhighlight>
$ smartctl /dev/mmcblk0 ====[[fsck]]==== $ fsck /dev/mmcblk0
==네트워크==
===DNS 서버===
$ [[cat]] /etc/resolv.conf
===ping===
ping: command not found<syntaxhighlight lang="bash">
$ apt-get update
 
$ apt-get install iputils-ping
</syntaxhighlight>
===ipv6 비활성화===
==시간설정==
sudo dpkg-reconfigure tzdata[[리눅스 환경변수|환경변수]] TZ 를 Asia/Seoul 로 설정할 수 있다.
===수동으로 설정=== $ sudo 동일계열인 [[rmUbuntu#시간설정|Ubuntu의 시간설정방법으로도]] /etc/localtimeDebian에서 가능하다. 환경변수를 설정하는 것이 더 간단하다.
$ sudo ln == 지역설정 ==환경변수 LC_ALL=C.UTF-s /usr/share/zoneinfo/Asia/Seoul /etc/localtime8 로 설정하면 한글 입출력이 가능하다.  [[locale]]
== 경로 ==
/usr/share/ca-certificates/
 == 전원 관리 ==https://wiki.debian.org/Suspend[[분류:LinuxDebian]]
편집
2,431