admin 2015.06.16 apache ruby passenger install ruby 2.0 install and passenger install [crayon-697b4ca8a916b015663641/] [crayon-697b4ca8a9175554658210/] [crayon-697b4ca8a9179559303886/] [crayon-697b4ca8a917c870363716/] [crayon-697b4ca8a917f272873848/] 설치 후 아래와 같이 해당폴더에 ruby가 설치된다. [crayon-697b4ca8a9182604007451/] 버전 확인 [crayon-697b4ca8a9185061633785/] Install Rails Update gem [crayon-697b4ca8a9188755194478/] Install rails [crayon-697b4ca8... Read More..
admin 2015.04.27 msdos labels do not support devices that have more than msdos labels do not support devices that have more than 에러 발생시 parted (parted) select /dev/sdb Using /dev/sdb (parted) mklabel gpt (parted) mkpart Partition name? []? sdb File system type? [xfs]? Start? 0 End? 600G (parted) print Read More..
admin 2015.03.19 리눅스 hdd 읽기. 쓰기 테스트 dd 명령어를 이용 if 읽기 / of,if=/dev/zero 쓰기 테스트 쓰기 테스트[root@localhost ~]# time dd if=/dev/zero of=/var/test bs=8k count=1000000 1000000+0 records in 1000000+0 records out 8192000000 bytes (8.2 GB) copied, 8.92194 s, 918 MB/s real 0m8.924s user 0m0.151s sys 0m8.763s 읽기 테스트 [root@localhost ~]# time dd if=/var/test of=/dev/null bs=8k count=1000000 1000000+0 records in 1000000+0 records out ... Read More..
admin 2015.03.06 date unixtime 현재 시간을 unixtime 으로 변경시 아래와 같이 입력 [root@xinet traffic]# date +%s 1425603651 다시 이것을 일반 time으로 설정시 [root@xinet traffic]# date -d @1425603651 2015. 03. 06. (금) 10:00:51 KS 특정시간의 unxtime의 값을 구현시 [root@xinet traffic]# date -d “2015-03-04 05:00:00” +%s 1425412800 또는 날짜로만 구성시에 [root@xinet traffic]# date -d “2015-03-04” +%s 1425394800 반대로 하는것은 간단하다 date -d @값입력 그리고 현재 리눅스 시간을 특정시간으로 아예 변경하려면 ... Read More..
admin 2015.02.26 Symbolic link not allowed or link target not accessible 심벌릭 링크된 폴더를 웹에서 호출하게 되면 아래와 같은 메세지가 발생된다.Symbolic link not allowed or link target not accessible 이런 경우 심벌릭 링크에 소유권을 주면 된다 chown 옵션 예를 들어 링크된 폴더 이름이 upload 이면 chown -h xinet:xinet upload 이렇게 지정해 주면 된다. 그리고 사이트에서 페이지 url 확인 Read More..
admin 2015.02.16 vsftpd passive 모드 설정 pasv_enable=YES pasv_promiscuous=YES pasv_min_port=40001 pasv_max_port=40002 vsftpd.conf 에 등록하고 vsftpd 재시작 Read More..
admin 2015.02.16 freetds configure: error: sql.h not found freetds 설치시 freetds configure: error: sql.h not found 에러발생시 ./configure -prefix=/usr/local/freetds –with-tdsver=8.0 –with-unixodbc=/usr –disable-debug –enable-dbmfix –enable-msdblib –with-unixodbc=/usr ( 이 부분에 경로지정) make make install Read More..
+ admin 2015.02.05 서버에 RAM (메모리) 추가 장착 여부 및 메모리 확인 리눅스 서버를 운용하다 보면 서버의 전체 메모리 용량은 확인이 가능하다하지만 몇개의 램이 장착되어 있고 추가 장착 가능한지는 서버를 열어봐야 확인이가능하다 그렇지 않고 명령어를 이용하여 현재 장착된 서버의 메모리와 추가 장착 가능여부를확인해 보자 먼저 확인하기 앞서 필요한 패키지는 dmidecode 다 설치 yum install dmidecode 명령어는 간단하다 dmidecode -t(타입) -t 타입에는 아래와 같이 여러가지 종류가 있다 1System 2Base Board 3Chassis 4Processor 5Memory Controller 6Memory Module 7Cache 8Port Connector 9System Slots 10On Board Devices 11OEM Strings ... Read More..