svnserve를 xinetd를 이용한 서비스로 등록하기 위해서는
/etc/xinetd.conf에 svn이라는 이름으로 다음과 같은 내용을 갖는 파일 생성service svn
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = svn
group = svn
umask = 002
port = 3690
server = /usr/bin/svnserve
server_args = -i -r /svnrepos
}
/etc/xinetd.conf 의 default 섹션에groups = yes항목 추가
이 세팅을 해주어야 svn 파일의 group 설정이 유효하게 된다.
원본: http://www.red-bean.com/pipermail/svnbook-dev/2005-March/000100.html
그리고 /etc/services 파일에
svn 3690/tcp
svn 3690/udp
항목을 추가한 후에
# /etc/rc.d/init.d/xinetd restart
하여 xinetd 를 재시작해준다
2008-08-22
xinetd에 svn service 등록하기
2008-08-21
yum이 freshrpms에서 stop되어 있을 때
freshrpms.repo에 정의된 서버 혹은 mirrorlist 서버가 다운되었을 가능성 높음
아래와 같이 mirror 서버를 다시 정의해 준다.
[펌] http://forums.fedoraforum.org/printthread.php?t=184124
아래와 같이 mirror 서버를 다시 정의해 준다.
[펌] http://forums.fedoraforum.org/printthread.php?t=184124
| Hlingler | 2008-03-23 03:35 PM PST |
For your convenience, here is how to get FreshRPMs up and going:
Edit your /etc/yum.repos.d/freshrpms.repo and replace the line "mirrorlist=..." with: mirrorlist=file:///etc/yum.repos.d/freshrpms.mirror
create that file /etc/yum.repos.d/freshrpms.mirror:
Proceed.
Works for me....
Happy Easter,
V
EDIT: On second thought, it's probably best not to destroy the existing "mirrorlist..." line in /etc/yum.repos.d/freshrpms.repo since you'll want it back when he gets it back on-line, so just comment it out with a pound-sign at the beginning, then add the new "mirrorlist..." line at the end of the file. If you already nuked that line, here it is for reference:
Edit your /etc/yum.repos.d/freshrpms.repo and replace the line "mirrorlist=..." with: mirrorlist=file:///etc/yum.repos.d/freshrpms.mirror
create that file /etc/yum.repos.d/freshrpms.mirror:
Code:
http://ayo.ie.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
http://ayo.uk3.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
http://ayo.us5.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
http://ayo.pt.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
Proceed.
Works for me....
Happy Easter,
V
EDIT: On second thought, it's probably best not to destroy the existing "mirrorlist..." line in /etc/yum.repos.d/freshrpms.repo since you'll want it back when he gets it back on-line, so just comment it out with a pound-sign at the beginning, then add the new "mirrorlist..." line at the end of the file. If you already nuked that line, here it is for reference:
Code:
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
2007-11-09
Samba 3 설정
- samba, samba-swat를 설치한다.
yum 이 사용가능하면 yum으로 설치한다.
# yum install samba
# yum install samba-swat - /etc/xinetd.d/swat를 edit하여 swat를 enable 시키고 보안을 위해 swat에 접근할 수 있는 host를 제한한다.
(only_from 필드와 disable 필드 수정) - swat를 기동한다.
# /etc/rc.d/init.d/xinetd restart - /etc/samba/smb.conf를 수정한다.
[global]
dos charset = cp949 # PC의 charset
display charset = UTF8 # linux의 charset
workgroup = MYGROUP
server string = "Samba Server"
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
hosts allow = <접속을 허용할 서버목록>
[homes] # 각 사용자의 home directory 접속을 허용한다.
comment = Home Directories
read only = No
browseable = No - web browser로 swat에 접속하여 status에서 smbd를 start한다.
- swat/passwd에서 samba사용자를 등록한다.
- PC의 explorer로 samba server의 원격폴더에 접근한다. 처음에는 6번에서 사용한 user와 password를 입력해 주어야 한다.
2007-05-15
Linux에서 한글 setting
linux는 설치시 기본으로 locale이 utf8로 되어있다.
euckr로 바꾸려고 할 때, 2가지 방법이 있는데
1. 자신의 계정에서만 변경: ~/.bashrc에 "export LANG=ko_KR.euckr" 을 추가
2. 시스템 전체 변경: /etc/sysconfig/i18n에서 "LANG=ko_KR.euckr" 로 변경
소스 : 영문 레드헷에서 한글사용환경 만들기
euckr로 바꾸려고 할 때, 2가지 방법이 있는데
1. 자신의 계정에서만 변경: ~/.bashrc에 "export LANG=ko_KR.euckr" 을 추가
2. 시스템 전체 변경: /etc/sysconfig/i18n에서 "LANG=ko_KR.euckr" 로 변경
소스 : 영문 레드헷에서 한글사용환경 만들기
피드 구독하기:
글 (Atom)