본문 바로가기

넋두리

CentOS 6.4 x86_64 ISPConfig ISPConfig는 하나의 제어패널에서 여러 서버 (웹, 메일, DNS, 가상화 등)를 관리 할 수 있는 Linux 용 제어 패널을 호스팅하는 오픈 소스로 웹 브라우저를 통해 다음과 같은 서비스 Apache web server, Postfix mail server, MySQL, BIND nameserver, PureFTPd, SpamAssassin, ClamAV, Mailman 등 )를 구성 할 수 있다. 1. 베이스 시스템 설치 - CentOS 6.4 x86_64 설치 - 방화벽을 사용하지 않도록 설정 - /etc/resolv.conf 에 nameserver 확인 및 추가 2. Disable SELinux [root@localhost~]# vi /etc/selinux/config # This file .. 더보기
클라우드스택에서 젠서버(agent) 설치 방법 클라우드 스택에서 젠서버 agent를 만들시 해당 호스트 서버에 젠서버를 설치를 한다. (라이센스 문제가 있으므로 참고한다. 30일) 아래 설치 방법은 젠서버(agent)에서 작업을 하면 된다. 참고 – http://people.apache.org/~ke4qqq/docs3/citrix-xenserver-installation.html 8.2.7. Install CloudStack XenServer Support Package (CSP) (Optional) To enable security groups, elastic load balancing, and elastic IP on XenServer, download and install the CloudStack XenServer Support Package.. 더보기
서버 랜(hardware) 포트 확인 시 서버 랜카드 설정 후 핑이 안갈 경우, root@ubuntu:/etc/udev/rules.d# pwd /etc/udev/rules.d drwxr-xr-x 2 root root 4096 Jun 13 15:18 ./ drwxr-xr-x 3 root root 4096 Jun 13 04:07 ../ -rw-r–r– 1 root root 407 Jun 13 04:07 70-persistent-cd.rules -rw-r–r– 1 root root 825 Jun 13 15:18 70-persistent-net.rules -rw-r–r– 1 root root 735 Jun 13 15:15 70-persistent-net.rules.bak 더보기
Ubuntu Cloudstack repo 구성 방법 Ubuntu OS 참고용입니다. # cd /etc/apt/sources.list.d # vi cloudstack.list deb http://cloudstack.apt-get.eu/ubuntu precise 4.0 더보기
Bacula 설정과 사용하기 -PartII 서버환경은 Part I과 동일함. 백업할 클라이언트 환경 OS: ubuntu 12.04 IP: 59.29.142.9 백업 대상: /home 1. bacula 클라이언트 설치 # apt-get install bacula-client 2. bconsole 설정 /etc/bacula/bconsole.conf 를 수정한다. address는 bacula 서버의 ip주소나 hosts 화일에 등록된 hostname을 사용한다. password는 bacula 서버의 bconsole.conf와 동일하게 설정하면된다. Director { Name = fox1-dir DIRport = 9101 # address = localhost address = fox1 # bacula 서버의 호스트네임 또는 ip주소 # Passwor.. 더보기
Bacula catalog 백업 오류. 아래는, bacula Catalog 백업이 처음 부터 오류가 난경우. 36 Incr 1 5.453 K OK 17-Jun-13 23:05 BackupClient1 37 Incr 0 0 OK 17-Jun-13 23:05 tech-fd 38 Full 0 0 Error 17-Jun-13 23:10 BackupCatalog 39 Full 0 0 Error 18-Jun-13 13:39 BackupCatalog 40 Incr 7 21.73 M OK 18-Jun-13 13:40 tech-fd 확인을 해 본 결과 아래와 /etc/bacula/scripts에 관련 화일이 없는 것을 발견했다. # ls delete_catalog_backup dvd-handler mtx-changer.conf disk-changer mtx-.. 더보기
Bacula 설정과 사용하기 -Part III Bacula 윈도우즈 클라이언트의 설치와 사용. 윈도우용 클라이언트의 설치 방법은 생략한다. 바보가 아니라면 누구라도 할 수 있을듯. 1. 윈도우 클라이언트(XP)의 설정 시작->모든프로그램->Bacula->Configuration->Edit Client Configuration 아래는 Bacula 클라이언트를 c:\Bacula 에 설치한 경우 client 설정화일이다. FileDaemon { # this is me Name = boxcorea-pc FDport = 9102 # where we listen for the director WorkingDirectory = “C:\Bacula\working” Pid Directory = “C:\Bacula\working” # Plugin Directory =.. 더보기
heartbeat 설치 및 설정 heartbeat 설치 heartbeat설치를 위한 repository 등록 #wgethttp://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm #rpm -Uvh epel-release-6-8.noarch.rpm #yum repolist repository 등록 후 설치를 진행토록 하겠습니다. #yum install -y heartbeat heartbeat* heartbeat설정 #vi /etc/ha.d/ha.cf debugfile /var/log/ha-debug.log logfile /var/log/ha.log keepalive 2 deadtime 10 initdead 120 bcast eth0 udpport 694 node te.. 더보기
DRBD 설정 yum install drbd83 마스터, 슬레이브 서버 둘다 /etc/drbd.conf 설정 resource drbd1 { (drbd1=> 디바이스 장치명) protocol C; startup { wfc-timeout 0; degr-wfc-timeout 120; } disk { on-io-error detach; } syncer } on node1 { (node1 primary 호스트명) device /dev/drbd1; (디바이스명) disk /dev/sdb2; (LV 형식도 같음) (디스크명) address 10.10.24.14:7791; (primary ip) meta-disk internal; (node1,node2 동일하게 internal로 맞출것) } on node2 { device /dev.. 더보기
리눅스 LV 설정 # LV 설정하기 1 vgscan (lvm2 에서는 자동으로 이루어짐) 2 df -k 3 fdisk /dev/sdb 4 pvcreate /dev/sdb1 (pvcreate /dev/sda1) 5 vgcreate VolGroup00 /dev/sdb1 (/dev/sda1) 6 vgdisplay -v 7 lvcreate -L 4000 -n LogVol00 VolGroup00 8 lvscan / vgdisplay -v 9 mkfs -t ext3 /dev/VolGroup00/LogVol00 10 mkdir /Mountpint 11 mount -t ext3 /dev/VolGroup00/LogVol00 /Mountpoint # 설정된 LV 확장하기 1 fdisk /dev/hdb 2 pvscan 3 pvcreate /.. 더보기