Tag Archives: ioerror
Home » Tag: ioerror



yum 하다가 에러가똭!
lsattr
# yum install gcc* 요런식으로하다가..
Running Transaction
Installing: libgcc ######################### [1/5]
error: unpacking of archive failed on file /usr/sbin/libgcc_post_upgrade: cpio: rename
Installing: cpp ######################### [2/5]
error: unpacking of archive failed on file /usr/bin/cpp: cpio: rename
Installing: gcc ######################### [3/5]
error: unpacking of archive failed on file /usr/bin/c89: cpio: rename
Updating : gcc-c++ ######################### [4/5]
error: […]


fedora-core 에서 yum 을하는데 에러가 똭!
[root@sekoons yum.repos.d]# yum install curl*
Loading “installonlyn” plugin
Setting up Install Process
Setting up repositories
core [1/3]
http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/repodata/repomd.xml: [Errno 4] IOError:
Trying other mirror.
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
맨붕당하지말자 릴렉스! yum 저장소만변경해주믄됨!
/etc/yum.repos.d/fedora-core.repo
[core]
…
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/os/
…
[core-debuginfo]
…
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/debug/
…
[core-source]
…
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/source/SRPMS/
…
/etc/yum.repos.d/fedora-updates.repo
[updates]
…
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/$releasever/$basearch/
…
[updates-debuginfo]
…
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/$releasever/$basearch/debug/
[updates-source]
…
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/$releasever/SRPMS/
…
/etc/yum.repos.d/fedora-extras.repo
[extras]
…
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/extras/$releasever/$basearch/
…
[extras-debuginfo]
…
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/extras/$releasever/$basearch/debug/
…
[extras-source]
…
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/extras/$releasever/SRPMS/
…



note.js 설치
1) 소스파일
http://nodejs.org/download/
wget http://nodejs.org/dist/v0.10.13/node-v0.10.13.tar.gz
2) 설치전 사전 페키지 설치
yum install python*
2-1) python 2.7 설치
> nodejs make 시 에러 발생 python 2.6 이상필요
http://www.python.org/download/
wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2
./configure
make
make install
3) 설치
어디설치된지 모른게 –prefix=/usr/local/nodejs 잡아줍시당 -0-
tar zxvf node-v0.10.13.tar.gz
cd node-v0.10.13
./configure –prefix=/usr/local/nodejs
make
make install
4) npm 사용하여 모듈추가!
– global 설치!
/usr/local/nodejs/bin/npm install -g express
express@3.3.4 /usr/local/nodejs/lib/node_modules/express
?쒋?? methods@0.0.1
?쒋?? fresh@0.1.0
?쒋?? cookie-signature@1.0.1
?쒋?? range-parser@0.0.4
?쒋?? buffer-crc32@0.2.1
?쒋?? mkdirp@0.3.5
?쒋?? cookie@0.1.0
?쒋?? debug@0.7.2
?쒋?? send@0.1.3 (mime@1.2.9)
?쒋?? commander@1.2.0 (keypress@0.1.0)
?붴?? connect@2.8.4 (uid2@0.0.2, pause@0.0.1, qs@0.6.5, bytes@0.2.0, formidable@1.0.14)
/usr/local/nodejs/bin/npm install -g socket.io
> ws@0.4.27 install /usr/local/nodejs/lib/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory `/usr/local/nodejs/lib/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build’
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished
COPY Release/bufferutil.node
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
COPY Release/validation.node
make: Leaving directory `/usr/local/nodejs/lib/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build’
socket.io@0.9.16 /usr/local/nodejs/lib/node_modules/socket.io
?쒋?? base64id@0.1.0
?쒋?? policyfile@0.0.4
?쒋?? redis@0.7.3
?붴?? socket.io-client@0.9.16 (xmlhttprequest@1.4.2, uglify-js@1.2.5, active-x-obfuscator@0.0.1, ws@0.4.27)
이런식으로 완료된 프롬프트를 볼수있다
자자 개발자분들 이제 쓰세요~
make까지 잘 됐는데 make install에서
python tools/install.py install
File “tools/install.py”, line 219
cmd = args[1] if len(args) > 1 else ‘install’
에러가 발생할 수 있다(필자는 발생했다)
이럴땐 파이선 버전이 2.6 이상이라면
# sudo python tools/install.py install
[출처] [CentOS] node.js 설치하기|작성자 제노하트
http://nodejs-kr.org/insidejs/archives/704 조흔싸이트


List category posts 플러그인
> 숏코드 활용법
> http://wordpress.org/extend/plugins/list-category-posts/other_notes/ 자세한것은 여기서
[ catlist id=카테고리아이디 ]
[ catlist name=카테고리 이름 또는 슬러그 ]
> 썸네일 표시하기
[ catlist name=Apache numberposts=100 orderby=date order=desc thumbnail=yes thumbnail_size=50,50 ]
> 코맨트 표시하기
[ catlist id=4 comments=yes comments_tag=p comments_class=lcp_comments ]



* ipset 6.2 버전을 사용하기 위해서는 리눅스 커널 2.6.32 컴파일이 필요합니다.
// 공식 홈 참조.. ㅠㅠ http://ipset.netfilter.org/install.html
// linux kernel source code (version >= 2.6.32)
>참고사이트
http://lpbox.co.kr/lp/read.php?id=Linux&main_No=60&sub_No=AAAAA
http://kldp.org/node/109627
1. kernal compile..
1) 컴파일 도구 설치
yum install gcc
yum install ncurses-devel
yum install rpm-build
yum install bison
yum install depmod
yum install mkinitrd
2) 컴파일 소스 다운로드
https://www.kernel.org/pub/linux/kernel/
wget https://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.tar.gz
[Msnote, /usr/local/src >tar zxvf linux-2.6.32.tar.gz
[Msnote, /usr/local/src >ln -s linux-2.6.33 linux
[Msnote, /usr/local/src >cd linux
[Msnote, /usr/local/src/linux >make clean
[Msnote, /usr/local/src/linux >make mrproper
[Msnote, /usr/local/src/linux >cp /boot/config-현재커널 버전 ./.config
[Msnote, /usr/local/src/linux >make menuconfig
[Msnote, /usr/local/src/linux >make && make modules && make modules_install && make install
* ipset 를 사용하기 위해서는 어떤 항목을 체크 해야 되는지 알지 못 하였음 -0-;; 일단 기본 설정값으로 저장하고 나왓음요;; 아시는분 코맨트좀..
======================================================================
//http://lpbox.co.kr/lp/read.php?id=Linux&main_No=60&sub_No=AAAAA 에서 아래 내용을 참고하였습니다
* 현재 구동중인 커널의 환경정보를 기준으로 커널을 컴파일 하기 위하여 cp /boot/config-현재커널 버전 ./.config 를 함
이제 핵심!!!
메뉴 하단에 Load an Al ternate Configuration File을 선택
.config 파일이 입력되어 있는데, 이를 선택하여 현재 커널 환경을 불러들임
이후
General Setup —> enable deprecated sysfs features which may confuse old usersp 를 […]