검색결과 리스트
리눅스/리눅스 나름 노하우에 해당되는 글 5건
- 2011/10/27 yum priority 설정및 rpmforge 설치
- 2011/10/27 INSTALL - adobe flash player(86_64)
- 2011/10/27 Centos 6.0(64bit) 에서 GNS3 설치하기
- 2011/10/26 Cent OS란
- 2011/10/26 아시아 눅스에서 YUM 활용하기
글
1. yum priority 설정
http://wiki.centos.org/PackageManagement/Yum/Priorities?highlight=%28priority%29
2. rpmforge 설치
설정
트랙백
댓글
글
설정
트랙백
댓글
글
CentOS 6.x, RHEL 6.x, 그리고 페도라 15 적용되지만 약간의 수정과 함께 이전 버전과 함께 작동합니다.
그리고 중요 소스 라이브러리를 많이 컴파일해야 합니다,
설치 시간이 좀 걸립니다
우선 몇 가지 의존성문제를 해결하기 위해 선행 설치 해야할 것들이 있습니다 :
root 사용자들은 sudo 생략 가능함
[user@centosbox]$ sudo yum install python python-devel xorg-x11-proto-devel libXext-devel gcc-c++
Now we gotta download and install Qt4:(위작업이 마무리 된후 QT4 다운로드및 설치를 시작합니다)
[user@centosbox]$ cd /tmp
[user@centosbox tmp]$ wget ftp://ftp.qt.nokia.com/qt/source/qt-x11-opensource-src-4.5.3.tar.gz
[user@centosbox tmp]$ tar xzf qt-x11-opensource-src-4.5.3.tar.gz
[user@centosbox tmp]$ cd qt-x11-opensource-src-4.5.3
[user@centosbox qt-x11-opensource-src-4.5.3]$ sudo ./configure -nomake examples -nomake demos -qt-gif -no-exceptions -debug -qt3support
[user@centosbox qt-x11-opensource-src-4.5.3]$ sudo gmake <==This will take a long time.
[user@centosbox qt-x11-opensource-src-4.5.3]$ sudo gmake install <==This will take a long time.
[user@centosbox qt-x11-opensource-src-4.5.3]$ PATH=/usr/local/Trolltech/Qt-4.5.3/bin:$PATH
[user@centosbox qt-x11-opensource-src-4.5.3]$ export PATH
Now we'll install SIP:
[user@centosbox qt-x11-opensource-src-4.5.3]$ cd /tmp
[user@centosbox tmp]$ sudo wget http://www.riverbankcomputing.com/static/Downloads/sip4/sip-4.12.4.tar.gz
[user@centosbox tmp]$ sudo tar -xvf sip-4.12.4.tar.gz
[user@centosbox tmp]$ cd sip-4.12.4
[user@centosbox sip-4.10]$ sudo python configure.py
[user@centosbox sip-4.10]$ sudo make
[user@centosbox sip-4.10]$ sudo make install
And then we'll install PyQt4:
[user@centosbox sip-4.10]$ cd /tmp
[user@centosbox tmp]$ sudo wget http://ftp.pardus.org.tr/pub/source/2009/PyQt-x11-gpl-4.8.4.tar.gz
[user@centosbox tmp]$ sudo tar xvf PyQt-x11-gpl-4.8.4.tar.gz
[user@centosbox tmp]$ cd PyQt-x11-gpl-4.8.4
[user@centosbox PyQt-x11-gpl-4.8.4]$ sudo python configure.py -q /usr/local/Trolltech/Qt-4.5.3/bin/qmake
[user@centosbox PyQt-x11-gpl-4.8.4$ sudo make
[user@centosbox PyQt-x11-gpl-4.8.4]$ sudo make install
Finally we're done with the compiling, lets get down to GNS3 itself:
[user@centosbox PyQt-x11-gpl-4.8.4]$ cd /opt
[user@centosbox opt]$ sudo wget http://downloads.sourceforge.net/project/gns-3/GNS3/0.7.4/GNS3-0.7.4-src.tar.gz
[user@centosbox opt]$ sudo tar -xvf GNS3*.tar.gz && sudo rm GNS3*.tar.gz
[user@centosbox opt]$ sudo mv GNS3* GNS3
Create some directories for GNS3 to use and give them the right pos:
[user@centosbox opt]$ cd GNS3
[user@centosbox GNS3]$ sudo mkdir Dynamips
[user@centosbox GNS3]$ sudo mkdir IOS
[user@centosbox GNS3]$ sudo mkdir Project
[user@centosbox GNS3]$ sudo mkdir Cache
[user@centosbox GNS3]$ sudo mkdir tmp
[user@centosbox GNS3]$ sudo chmod o+rw -R ./Project
[user@centosbox GNS3]$ sudo chmod o+rw -R ./tmp
[user@centosbox GNS3]$ sudo chmod o+rw -R ./IOS
Now lets download the Dynamips binary, which does all the heavy lifting for GNS3:
For 64bit users:
[user@centosbox GNS3]$ cd Dynamips
[user@centosbox Dynamips]$ sudo wget http://www.noahbeach.com/wp-content/uploads/2011/08/dynamips-0.2.8-RC2-amd64.bin
[user@centosbox Dynamips]$ sudo chmod +x dynamips-0.2.8-RC2-amd64.bin
For 32bit users:
[user@centosbox GNS3]$ cd Dynamips
[user@centosbox Dynamips]$ sudo wget http://www.noahbeach.com/wp-content/uploads/2011/08/dynamips-0.2.8-RC3-x86.bin
[user@centosbox Dynamips]$ sudo chmod +x dynamips-0.2.8-RC3-x86.bin
Creating a menu icon, cleaning up, and configuring GNS3:
Download the icon:
[user@centosbox]$ cd /opt/GNS3
[user@centosbox]$ sudo wget http://www.noahbeach.com/wp-content/uploads/2011/08/gns3.png
In order to create a menu item in Fedora 15/RHEL6/CentOS6 you need the alacarte application:
[user@centosbox]$ sudo yum install alacarte
You'll then have a "Main Menu" application you can open.

Then create a new menu item, I put mine under Education, you can put it where you like.

Type in the information as seen below and then click the springing thing to choose the correct icon:

Navigate to /opt/GNS3 and choose the icon we downloaded earlier:
![]()
At this point you should see:

Press OK and then should see the added item:

And now you should see GNS3 in your application menu:

Finally fire up GNS3 and do the following
- Go to edit | preferences and in the ‘Terminal command:’ section type in:
gnome-terminal -t %d -e 'telnet %h %p' > /dev/null 2>&1 &
- Under ‘Paths’ change the ‘Project directory:’ to
/opt/GNS3/Project
and the ‘IOS/PIX directory:’ to
/opt/GNS3/IOS
- Click on Dynamips tab on the left
For the ‘Executable path:’ type in
/opt/GNS3/Dynamips/dynamips-0.2.8-RC3-x86.bin
- Change the ‘Working directory:’ to
/opt/GNS3/tmp
Click on the Capture tab on the left
- For the ‘Working directory for capture files:’ change it to
/opt/GNS3/Project
설정
트랙백
댓글
글
| 레드헷 계열 오픈소스 프로젝트 중 하나인 CentOS는 Redhat Enterprise Linux AS 기반의 리눅스 배포판입니다.CentOS는 RedHat 또는 Redhat Enterprise Linux 설치단계부터 운영하는 방법등이 거의 비슷합니다. 눈에 띠는 것은 페도라와 마찬가지로 업데이트용 프로그램인 yum 이 포함되어 있습니다. 커맨드 프롬프트에서 yum update 하는것만으로도 시스템을 업데이트 할 수 있습니다. 또 SMP 시스템일 경우 유리한 irqbalace 도 포함되어 있습니다. 같은 설정으로 설치한 경우 페도라에 비해서는 잡다한 프로그램들이 덜 깔리는거 같습니다. 최근 레드헷의 업데이트는 중단되었고, 레드헷 엔터프라이즈의 경우 유료 고객지원을 받아야 하기 때문에 레드헷 사용이 쉽지 않습니다. RedHat을 사용 해봤다면 CenOS를 설치하거나 운영하는데 어려움이 없으리라 보여지며, RedHat 기반의 리눅스 운영자라면 업데이트 측면과 안정성 측면에서 권장할 만한 운영체제입니다. 서버를 새로 설치하거나 처음 설치하실 분들은 CentOS 를 사용해 보세요.. 사이트: http://www.centos.org/ 국내 미러사이트: http://mirror.secuidc.com/centos/ ftp://mirror.secuidc.com/centos/ 미러사이트 리스트:http://www.centos.org/modules/tinycontent/index.php?id=13 |
설정
트랙백
댓글
글
yum-2.0.8-1.noarch.rpm <<== 패키지 이름
아시아눅스 3.0 에서 YUM 사용하기가 쉽지 않습니다..
설치 파일을 찾기 힘듬 설정하기도 어렵고
RPM 설치후 밑에 설정파일에 들어가셔서 (아시아 눅스에선 VI 명령어가 조금 틀린듯 하더군요 택스트 편집기에서 불러오기로 수정함 전)
/etc/yum.conf
환경 설정 파일 수정을 다음과 같이 해주면 된다.
vi /etc/yum.conf
[main]
retries = 20
removepackages = 0
tolerant = 1
cachedir = /var/cache/yum/
exactarch = 1
pkgpolicy = newest
distroverpkg = Haansoft-release
debuglevel = 2
logfile = /var/log/yum.log
[base]
name=Haansoft Linux 2006 Workstation - Base
baseurl=http://community.haansoftlinux.com/pub/haansoftlinux/OS/2006/Workstation/RPMS
[updates-released]
name=Haansoft Linux 2006 Workstation - Update
baseurl=http://community.haansoftlinux.com/pub/haansoftlinux/UPDATE/2006/Workstation/RPMS
yum update로 #업데이트 작업 시작
yum check-update #업데이트 확인
yum list #모든 패키지 목록 보기
yum list installed #현재 설치된 패키지 목록 보기
yum install #패키지명 지정한 패키지 설치
yum remove #패기키명 지정한 패키지 삭제
yum info #패키지명 패키지정보 확인
RECENT COMMENT