· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Asterisk Inst/Pun Gi

AsteriskInst/PunGi


[root@localhost Download]# rpm -ivh pungi-1.2.18-1.fc9.noarch.rpm 
오류: Failed dependencies:
	anaconda-runtime >= 11.4.0.67 is needed by pungi-1.2.18-1.fc9.noarch
	repoview is needed by pungi-1.2.18-1.fc9.noarch
[root@localhost Download]# rpm -q anaconda-runtime
anaconda-runtime 패키지가 설치되어 있지 않습니다

* https://hosted.fedoraproject.org/pungi
  • yum install anaconda-runtime
  • yum install repoview
  • rpm -ivh pungi-1.2.18-1.fc9.noarch.rpm

* https://fedorahosted.org/revisor
  • yum install revisor

* http://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-kickstart2-options.html

* pungi -c /etc/revisor/conf.d/asterisk.cfg -G --destdir=/root/Asterisk
  • asterisk.cfg 의 %packages --nobase 를 %packages 로 수정
* pungi -c /usr/share/pungi/centos.cfg -G --destdir=/root/Asterisk --nosource
  • /mnt/sda8/CentOS 에 있는 것과 다른 패키지가 들어와 있음

* 회사
  • /mnt/sda7/CentOS
* 집
  • /mnt/sda8
repo --name=centos-local --baseurl=file:///mnt/sda8/
repo --name=centos --baseurl=http://ftp.daum.net/centos/5.1/os/i386/
repo --name=centos-source --baseurl=http://ftp.daum.net/centos/5.1/os/SRPMS
repo --name=centos-updates --baseurl=http://ftp.daum.net/centos/5.1/updates/i386/
repo --name=centos-updates-source --baseurl=http://ftp.daum.net/centos/5.1/updates/SRPMS

* /usr/lib/python2.5/site-packages/pypungi/gather.py
gather.py
131,132c131,132
<             if repo.priority:
<                 thisrepo.cost = repo.priority
---
>             if repo.cost:
>                 thisrepo.cost = repo.cost

* core 를 빼면 오류 발생
261a262
>         self.ksparser.handler.packages.add(['@core'])
Pungi.Gather:INFO: Finished downloading packages.
Traceback (most recent call last):
  File "/usr/bin/pungi", line 189, in <module>
    main()
  File "/usr/bin/pungi", line 84, in main
    mygather.makeCompsFile()
  File "/usr/lib/python2.5/site-packages/pypungi/gather.py", line 381, in makeCompsFile
    ourcomps = open(ourcompspath, 'w')
IOError: [Errno 2] No such file or directory: '/root/Asterisk/work/i386/Fedora-20080717-comps.xml'

* cp comps.xml /root/Asterisk/20080718/i386/os/Packages/

* createrepo -g comps.xml /root/Asterisk/20080718/i386/os/Packages/
  • Packages 밑에 comps.xml 이 있어야 함.
  • Packages 밑에 repodata 디렉토리 생성되고 관련파일 생성됨
[root@localhost repodata]# ls
comps.xml     filelists.xml.gz  primary.xml.gz
comps.xml.gz  other.xml.gz      repomd.xml

fc9 hangul key


* yum install scim-hangul
  • scim-hangul
  • im-chooser
  • imsettings
  • imsettings-libs
  • libhangul
  • scim
  • scim-libs
* 설정
  • 시스템 -> 기본 설정 -> 하드웨어 -> 키보드 -> 키 배치
  • 키보드 모델 : Korean 106-key
  • 선택한 키 배치에서 "Korea, Republic of"를 추가하고 기본값으로 설정
* scim-setup
  • 프론트엔드 -> 전체 설정
  • 키보드 레이아웃 : 영어(미국) 을 선택
  • 전환키에 한영키 등록
  • 적용



sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2008-07-19 05:36:35
Processing time 0.0082 sec