Linux 490

canopy(scipy,numpy) 설치방법 공학계산기 리눅스용

https://www.enthought.com/downloads/자신이 원하는 버전으로 다운받으고 설치 하면 된다. (리눅스 기준설명)#chmod 755 canopy-1.0.0-rh5-64.sh#./canopy-1.0.0-rh5-64.sh Welcome to the Canopy 1.0.0 installer!To continue the installation, you must review and approve the license termagreement.Press Enter to continue>>> [엔터]약관에 대해서 블라블라 적혀 있고Do you approve the license terms? [yes|no][no] >>> yes [엔터[ Canopy will be installed to this ..

Linux 2013.05.28

centos 5.x install subversion 1.7.x

centos 5.x 버전에 subversion 1.7.x 버전 설치 하는 법이다.yum 으로 설치를 하려 했으니 1.6.11 버전까지 밖에 설치가 안된다.subversion 사이트http://subversion.apache.org/download/에서 최신 버전을 설치를 하려 했으니 종속관계 파일들이 너무 많다.# rpm -Uvh subversion-1.7.9-4.12.1.x86_64.rpmwarning: subversion-1.7.9-4.12.1.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284error: Failed dependencies: fillup is needed by subversion-1.7.9-4.12.1.x86_64 ..

Linux 2013.05.21

Cannot find a valid baseurl for repo: rpmforge Error: Cannot find a valid baseurl for repo: rpmforge

yum update 사용시 아래와 같이 에러가 뜬다면 Cannot find a valid baseurl for repo: rpmforgeError: Cannot find a valid baseurl for repo: rpmforge DNS 설정 #vi /etc/resolv.confnameserver 168.126.63.1추가 그래도 동일하게 에러가 뜬다면# cd /etc/yum.repos.d/#lsCentOS-Base.repo mirrors-rpmforge(삭제) rpmforge.repo(삭제)자신이 사용하는 버전외는 삭제하면 정상적으로 된다. # yum updateSetting up Update ProcessSetting up repositoriesbase 100% |===================..

Linux 2013.05.21

NETDEV WATCHDOG: eth0: transmit timed out

리눅스 장비가 원격접속이 안된다.장비가 죽었나? 하고 Ping 을 쳐봤지만 안뜬다.장비는 살아 있지만 네트워크 이상으로 인해 작동이 안되는것이다.#service network restart를 하면 다시 살아 난다. 죽은 이유를 보기 위해 로그 파일을 살펴보다Apr 24 01:13:56 test kernel: NETDEV WATCHDOG: eth0: transmit timed out위와 같은 에러화면이 떠있는걸 확인했다.트래픽 때문에 네트워크가 죽은것이다. 방지하기 위해 설정을 몇가지 하면 된다. 1)전력문제혹시 전력부족으로 그럴수 있다 파워상태를 정검하자 2)예외처리#>vi /etc/modprobe.confoptions bnx2 disable_msi=1

Linux 2013.04.26

리눅스 booting GRUB 암호화

리눅스 GRUB 암호화하는 방법이다.(Centos 기준, 리눅스 계열은 거의 비슷하다)# cat /etc/grub.confdefault=0timeout=15.....어쩌구 저쩌구 써있을것이다.grub.conf 항목에 password 112233 위와같이 한줄을 추가하면 리눅스 부티로드 암호화가 걸린다. password 암호화 할수도 있다# grub-md5-cryptPassword: 112233Retype password: 112233$1$56N681$WpxhziFezFAC1flhLYD27...... grub.conf 항목에 password --encrypted $1$56N681$WpxhziFezFAC1flhLYD27.이렇게 입력해주면 된다.

Linux 2013.04.18

sudo 권한설정

sudo 권한설정방법이다.#vi /etc/sudoers 접속하면 여러가지 설정이 있다. 계정으로 권한 설정test ALL=(ALL) ALL특정 계정을 권한을 주고 싶다면 위와 같이 계정을 추가하면 된다. 그룹으로 권한 설정%users ALL=(ALL) ALL그룹명은 앞에 %을 붙이고 그룹설정을 하면 그룹에 해당하는 모든 users 가 권한을 가지게 된다. 특정명령어로 권한 설정 %users ALL=/sbin/mount /mnt/cdrom, /sbin/umount /mnt/cdromtest ALL=/sbin/mount /mnt/cdrom, /sbin/umount /mnt/cdrom 위와 같이 특정 그룹이나 특정 계정으로 mount / cdrom/ umount 등을 이용할수 있는 권한을 줄수 있다.

Linux 2013.04.01

emacs verilog mode 설치(Linux)

emacs verilog mode 설치방법입니다.http://www.verilog.com/register.html -> 등록http://www.verilog.com/emacs_install.html -> 설치방법사이트 가서 등록하면 메일로 파일이 하나 날라옵니다.(verilog-mode.el.gz)그걸 다운받아서 압축풀면 verilog-mode.el 파일이 나옵니다. 이 파일을#Centos 기준/usr/share/emacs/21.4/lisp폴더에 verilog-mode.el 복사해서 넣어두고개인폴더에 .emacs edit 후(defun prepend-path ( my-path ) (setq load-path (cons (expand-file-name my-path) load-path))) (defun a..

Linux 2012.12.27
728x90
반응형