# openssl 소스 설치 tar xvfpz openssl-0.9.8g.tar.gzcd openssl-0.9.8g ./config -fPIC --prefix=/opt/webapps/openssl shared threads zlib makemake install echo "/opt/webapps/openssl/lib" >> /etc/ld.so.conf
# libiconv 소스 설치 tar xvfpz libiconv-1.9.2.tar.gzcd libiconv-1.9.2./configure --prefix=/usr makemake install
# libidn 소스 설치 tar xvfpz libidn-0.5.9.tar.gzcd libidn-0.5.9./configure --prefix=/usr makemake install
# mysql 소스 설치 tar xvfpz mysql-5.0.83.tar.gzcd mysql-5.0.83 useradd -M -r -d /var/lib/mysql -s /bin/bash -c "MySQL Server" -u 27 mysql./configure --prefix=/opt/webapps/mysql5 --localstatedir=/var/lib/mysql5 --with-thread-safe-client --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --enable-thread-safe-client --without-debug --without-docs --without-bench --with-charset=utf8 --with-language=korea --with-extra-charsets=all --with-plugins=innobase makemake install mv my.cnf /etc/my.cnfmv mysqld.log /etc/logrotate.d/mysqldmv mysqld_5 /etc/init.d/mysqld chmod 700 /etc
# httpd 소스 설치 tar xvfpz httpd-2.0.63.tar.zcd httpd-2.0.63 # apache + 64bit problemrm -f configurerm -f srclib/apr-util/configure./buildconf ./configure --prefix=/opt/webapps/apache2 --enable-so --enable-ssl --with-ssl=/usr --enable-lib64 --libdir=/usr/lib64 --enable-cache --enable-deflate --enable-proxy --enable-mem-cache --enable-expires --enable-rewrite --enable-mods-shared=mod_rewrite --enable-security --with-module=proxy:mod_security.c makemake install mkdir /var/log/httpdchmod 711 /opt/webappschmod 755 /opt/webapps/apache2chmod 644 /opt/webapps/apache2/conf/*chmod 600 /opt/
rsync를 이용하여 동기화 할때 특정 폴더 제외하기 예) /home/src/ 폴더를 /home/dest/ 폴더로 동기화하는데 /home/src/a/ 폴더는 제외시킬 경우 rsync -av --delete --exclude 'a' /home/src/ /home/dest/ 주의사항: --exclude 는 상대경로를 써줘야 함. exclude 패턴을 여러개 지정하고 싶을 경우엔--exclude-from 에 파일 경로를 지정해 주면 된다. 예) /home/src/ 폴더를 /home/dest/ 폴더로 동기화하는데 /home/src/a/, /home/src/b/ 을 제외 할 경우 /home/pattern.txt 란 파일에 패턴을 저장. a/ b/ 아래의 명령어 실행. rsync -av --delete --exclude-from '/home/pattern.txt'/home/src/ /home/dest/
# 차례1. 본딩이란?2. 본딩 설정 종류3. 본딩 설정하기3-1) redhat linux(centos포함)에서 본딩 설정하기3-2) debian linux에서 본딩 설정하기3-3) gentoo linux에서 본딩 설정하기 1. 본딩(bonding)이란?여러개의 이더넷을 하나로 묶어 네트워크 대역폭을 늘리는 방법이다.이와 비슷한 기술은 시스템에 따라 다양한 이름으로 명명된다.HP-UX : APASUN : SunTrunkingCisco : EtherChannelWindows : TeamingLinux : Bonding 이기술은 제한적인 인터페이스의 대역폭 향상을 목적으로 두고 있지만개념적 특성으로 인해 클러스터링의 기본 기술로 사용 가능하다. 2. 본딩 설정 종류 mode는 해당 bonding 정책을 정의 한다.Default는 0이다. Mode의 정의는 다음과 같다. 0 : Round-robin 정책 첫 번째 가능한 슬레이브부터 마지막까지 순차적으로 전송한다. 이 모드는 부하분산과 failover를 제공한다. (Active-Active, 이론상 슬레이브 수 만큼의 배수대로 대역폭을 확장가능하다.) 1 : Active-backup 정책 bond에서 하
How To Configure Root Login for TelnetThis document (3485070)is provided subject to the disclaimerat the end of this document. EnvironmentSituationResoluti LogDocumentDocument ID:3485070Creation Date:10-05-2006Modified Date:03-16-2012Product:SUSE Linux Enterprise ServerDisclaimerThis Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "
[root@ktoplogapdev03 ~]# fdisk -l Disk /dev/xvda: 107.3 GB, 107374182400 bytes255 heads, 63 sectors/track, 13054 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/xvda1 * 1 131 1052226 83 Linux/dev/xvda2 132 4047 31455270 83 Linux/dev/xvda3 4048 6658 20972857+ 83 Linux/dev/xvda4 6659 13054 51375870 5 Extended/dev/xvda5 6659 9269 20972826 83 Linux/dev/xvda6 9270 11880 20972826 83 Linux/dev/xvda7 11881 12924 8385898+ 82 Linux swap / Solaris/dev/xvda8 12925
# php4.4.9 설치시 에러 PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0 # 해결방법 /usr/share/file/magic.mime Line 273:수정하기 0 regex BEGIN[[:space:]]*[{] application/x-awk#0 regex BEGIN[[:space:]]*[{] application/x-awk php4.3.x 에서는 관련이 없는 것 같음
pvcreate /dev/xvdb1 vgcreate nidap01-lv /dev/xvdb1 lvcreate -L 20G -n NID1 nidap01-lv mkfs.ext3 /dev/nidap01-lv/NID1 mount /dev/nidap01-lv/NID1 /usr/sap/NID /dev/nidap01-lv/NID1 /usr/sap/NID ext3 acl,user_xattr 1 2 volume group확인: pvdisplay /dev/sdb5logical volume확인: lvdisplay -v /볼륨그룹명 volume group활성화: vgchange -a y /볼륨그룹명 root@ns2:/b# lvdisplay lotusport --- Logical volume --- LV Name /dev/lotusport/root VG Name lotusport LV UUID DHefTA-d2xi-nm9H-tLgV-ifbg-MAM5-nzKwXb LV Write Access read/write LV Status available # open 1 LV Size 293.84 GB Cur
Setting static ports for NFS on LinuxThis document (7000524)is provided subject to the disclaimerat the end of this document. EnvironmentNovell SUSE Linux Enterprise Server 11Novell SUSE Linux Enterprise Server 10SituationIn some cases, especially for firewall considerations, static ports need to be set for NFS services. This can be more complex that initially thought, because NFS relies on a collection or various services. ResolutionOverview NFS services (v2 and v3) generally require 5 services be running an accessible through a firewall:portmappernfsdmountdlockdstatdIf there are firewalls be
출처는 http://www.ysy2080.com/uribury/1170 NFS? NFS는 Network File System의 약어로 다른 호스트에 있는 파일 시스템의 일부를 자신의 디렉토리처럼 사용할 수 있도록 해주는 것이다. 즉 하나의 서버에 디스크를 집중 관리하고 그것을 공유하여 나머지 시스템들이 사용할 수 있게 해주는 것이다. 1) nfs설정을 시작하기전에 nfs패키지들이 설치되어있는지 확인해보자 rpm -qa portmap rpm -qa nfs-utils 대부분 설치되어있으며, 설치가 안되어있을경우 간단히 yum install portmap nfs-utils 2)portmap과 nfs를 시작한다 /etc/init.d/portmap start /etc/init.d/nfs start ※반드시 portmap부터 시작 후 nfs를 시작해야 된다 nfs부터 시작 할 경우 NFS 쿼터를 시작 중: 서비스를 등록할 수 없습니다: RPC: 받을 수 없음; errno = 연결이 거부됨 rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp 에러메시지 출력됨 3) NFS 서버의 공유 목록을 관리하는 파일은 /etc
mkdir /root/opensslcd /root/opensslwget rpm.lhb.kr/ktds/openssh/openssl-1.0.1c.tar.gztar xvfpz openssl-1.0.1c.tar.gzcd openssl-1.0.1c ./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl no-zlib no-asm threads no-shared no-idea no-mdc2 no-rc5 make dependmakemake testmake install
yum install pam-devel -y mkdir /root/opensshcd /root/opensshwget rpm.lhb.kr/ktds/openssh/openssh-5.8p2.tar.gztar xvfpz openssh-5.8p2.tar.gzcd openssh-5.8p2 ./configure --prefix=/usr/local/openssh --sysconfdir=/etc/ssh --with-zlib=/usr/lib --with-pam --with-mantype=man --with-md5-passwords makemake install # /etc/ini.d/sshd 수정KEYGEN=/usr/local/openssh/bin/ssh-keygenSSHD=/usr/local/openssh/sbin/sshdRSA1_KEY=/etc/ssh/ssh_host_keyRSA_KEY=/etc/ssh/ssh_host_rsa_keyDSA_KEY=/etc/ssh/ssh_host_dsa_keyPID_FILE=/var/run/sshd.pid # /etc/ssh/sshd_config 수정