달력

3

« 2024/3 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
# update-rc.d 스크립트명 defaults

 
:
Posted by 유쾌한순례자
2011. 6. 23. 16:12

우분투 telnet 서비스 사용하기 Study/Server OS2011. 6. 23. 16:12

1. 서비스 설치

# sudo apt-get install xinetd
# sudo apt-get install telnetd 

2. xinetd.conf 수정

default{


}


##TELNET SERVICE 
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure = USERID
}

includedir /etc/xinetd.d 

빨간색으로 쓴 부분 추가

3. hosts.allow에 telnet 서비스 허용

# sudo gedit /etc/hosts.allow

in.telnetd : ALL

4. 서비스 재시작

# sudo /etc/init.d/xinetd restart 
:
Posted by 유쾌한순례자
 sudo apt-get install python-software-properties
 sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
 sudo apt-get update
 sudo 
apt-get install sun-java6-jdk 
:
Posted by 유쾌한순례자
2011. 6. 20. 09:45

패키지설치된목록보기 Study/Server OS2011. 6. 20. 09:45

dpkg -l
:
Posted by 유쾌한순례자
2011. 6. 20. 09:45

우분투 apt 사용법. Study/Server OS2011. 6. 20. 09:45

패키지 설치

apt-get install <패키지명>



패키지 검색

apt-get search <패키지명>

 

패키지 검색

apt-get remove



패키지 재설치

apt-get reinstall


※apt-get 으로 받은 deb 파일은 
/var/cache/apt/archive/ 에 저장이 되는데 정리하는법은 apt-get clean

패키지정보보기

apt-cache show <패키지명> 


소스리스트 업데이트

apt-get update


설치된 패키지들 업데이트

apt-get upgrade


의존성 검사 수행하면서 업그레이드

apt-get -s dist-upgrade


삭제하는 패키지의 설정파일까지 삭제

apt-get --purge remove <패키지명> 
:
Posted by 유쾌한순례자
2011. 4. 15. 17:41

finger 서비스 막기 Study/Server OS2011. 4. 15. 17:41

/etc/inetd.conf 에서 finger 서비스 부분 # 처리.
:
Posted by 유쾌한순례자
2010. 11. 17. 21:32

일정기간 접근하지 않은 파일 삭제 Study/Server OS2010. 11. 17. 21:32

find /usr/local/log/tmp -atime +7 -exec rm {} \

/usr/local/log/tmp 아래 있는 일주일동안 접근하지 않은 파일 삭제
:
Posted by 유쾌한순례자
2010. 11. 17. 21:23

소속그룹 확인하기 Study/Server OS2010. 11. 17. 21:23

groups 사용자명

:
Posted by 유쾌한순례자
2010. 11. 11. 07:49

[우분투] 고정IP로 네트워크 설정 Study/Server OS2010. 11. 11. 07:49

요즘 우분투 매력에 푹 빠져버려서 원래 테스트 서버 OS로 사용하려고 했다가 지금 개인 PC에도 설치해서 xp와

우분투를 멀티로 이용하는 중이다.

테스트용일 때는 굳이 망을 연결할 필요가 없어서 네트워크 설정을 안해두다가

패키지 구할때 너무 귀찮아서 네트워크를 연결해두었다.

vi /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address x.x.x.x
netmask x.x.x.x
gateway x.x.x.x

:wq!

vi /etc/resolv.conf

nameserver x.x.x.x

:wq!

/etc/init.d/networking start

그 다음 PING 날려서 연결 확인 ㅋ


:
Posted by 유쾌한순례자