ClarkConnect 4.2 에 RocketRaid 174x Open Source 드라이버 설치

Raid5 구성을 위해서 HighPoint사의 RocketRaid 1740 pci카드를 설치하였다.
ClarkConnect는 RHEL-4 버전의 User’Guide 설치 내용과는 약간 달랐다.

1. high-point에서 2.6.x Open Source 드라이버를 다운 받는다.
(
highpoint-tech 홈페이지  요기서 다운)

2. 적당한 곳에 압축을 푼뒤에 빌드
# make
# make install

3. 빌드가 완료되었으면 다음과 같이 설치
# install -d /lib/modules/’uname -r’/kernel/dirvers/scsi
# install -c rr174x.ko /lib/modules/’uname -r’/kernel/dirvers/scsi
%
‘uname -r’은 uname -r 수행 결과를 넣으면 된다.

4. 드라이버 추가
# modprobe sd_mod
# insmod rr1740x.ko
# depmod
# modprobe rr174x

5. 부팅시 인식하도록 설정 추가
# echo “modprobe rr174x” > /etc/init.d/hptdriver
# chmod 755 /etc/init.d/hptdriver
# ln -sf /etc/init.d/hptdriver /etc/rc3.d.S01hptdirver
# ln -sf /etc/init.d/hptdriver /etc/rc4.d.S01hptdirver
# ln -sf /etc/init.d/hptdriver /etc/rc5.d.S01hptdirver

참고 : RocketRAID 174x User’s Guide

ClarkConnect 4.2 에 SVN 설치하기

ClarkConnect에 SVN을 설치하기 위해서는 1.4.4버전으로 다운받는다.

1. Subversion rpm을 받는다.
http://summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/
apr-0.9.12-2.i386.rpm 
apr-util-0.9.12-1.i386.rpm 
subversion-1.4.4-1.i386.rpm

2. Fedora3-core에 포함된 neon_0.24.7-4_i386.rpm 패키지를 구한다.
http://www.superuser.co.kr/home/search/?no=4250&select=rpmView
(Fedora3가 구하기가 귀찮아서 요기에서 다운받았다. 사이트 관리자께 감사~)

3. RPM 설치
#rpm -U apr-0.9.12-2.i386.rpm
#rpm -U apr-util-0.9.12-1.i386.rpm
#rpm -U neon_0.24.7-4_i386.rpm
#rpm -U subversion-1.4.4-1.i386.rpm

4. SVN Repository 설정
# svnadmin create –fs-type fsfs /../../..

# SVN 시작 : svnserve -d -r /../../..
# SVN 종료 : killall svnserve

ClarkConnect 4.2 VGA 옵션 수정

CN700을 사용하고 있는데 화면이 가끔 깨져서 나오지 않는다. ClarkConnect 포럼에서 다음과 같은 내용을 찾았다.
# grub.config 에 파란색 라인부분처럼 수정
video= 부분과 vga= 부분의 숫자표를 수정해주면 된다.

(원문보기)

I have long wondered why it seemed impossible to change the screen resolution on the CC 4 console.


Recently, after an upgrade to resolve USB issues (see thread on “USB keyboard dies” for details), my LCD started insisting that the console was “out of range”. That prompted me to take a closer look at the video system on CC.


It appears that the problem is with the startup option in /boot/grub/grub.config. My box had the following line:


Code:
———————————————————————–kernel /vmlinuz-2.6.18-8.1.14.3.cc ro root=/dev/md2 video=vesafb vga=0x314
———————————————————————–

Inspection of /lib/modules/2.6.18-8.1.14.3.cc/kernel/drivers/video revealed that the vesafb driver does not exist on the system but vga16fb, which is an alternative, does.


Changing the kernel loader line to:


Code:
———————————————————————–
kernel /vmlinuz-2.6.18-8.1.14.3.cc ro root=/dev/md2 video=vga16fb vga=0x314
———————————————————————–
and then rebooting the CC box solved the issue.


The vga= parameter is used to set console resolution and color depth. The following table gives the possible modes:


Code:
——————————————–
     | 640×480  800×600  1024×768 1280×1024
—-+—————————————
256  |  0x301    0x303    0x305    0x307    
32k  |  0x310    0x313    0x316    0x319    
64k  |  0x311    0x314    0x317    0x31A    
16M |  0x312    0x315    0x318    0x31B  
——————————————–
출처 : clarkconnect forum
http://www.clarkconnect.com/forums/showflat.php?Cat=0&Number=106369&Main=102356

ClarkConnect 4.2 CE 에서 PHP5, MySQL5 업그레이드

ClarkConnect 4.2를 설치하게되면 PHP 4.3.x 과 MySQL 4.x 가 기본적으로 설치된다.
요즈음 새로이 PHP App를 설치하려고하면 대부분 PHP는 4.4버전 이상을 요구하게된다.

ClarkConnect Howto문서에 다음과 같이 PHP 5.1.x 과 MySQL 5.0.x. 을 설치하는 방법이 기술되어 있다

1. 소스 트리를 업데이트한다.
# echo “rpm [pcn]
ftp://rhel-4:hiptop@rh.apt.clarkconnect.com System extras” > /etc/apt/sources.list.d/extras.list
# apt-get update

2. MySQL과 PHP가 인스톨되어 있으면
# apt-get dist-upgrade

3. 설치되어 있지 않다면 다음과 같이 설치
# apt-get install cc-php cc-mysql

4. PHP 필요모듈 설치
 보통 PHP에서 다음과 같은 모듈이 필요하게 된다.
 gd – graphics module 
 imap – mail module
 ldap – LDAP module
 mysql – MySQL module
 soap – SOAP protocol module
 xml – XML parsing module
# apt-get update
# apt-get install php-imap php-gd php-mysql php-soap php-xml php-ldap

5. httpd 재시작
# service httpd restart

고민했던 시간에 비해 간단하게 해결되었다..
RoundCube나 설치해볼까 싶다.