■proxy(192.168.11.101)
cent os(yum)
apache(yum)
vsftpd(yum)

■focus_dev(192.168.11.102)
cent os(yum)
apache(yum)
mysql
jdk
maven
ant
vsftpd

■focus_demo(192.168.11.103)
cent os(yum)
apache(yum)
mysql
jdk
maven
ant

■ftra_dev(192.168.11.103)
cent os(yum)
apache(yum)
mysql
jdk
maven
ant

  • No comments

▼初期設定
権限設定を変更
chown -R apache:apache /var/www/html/svn/
chmod -R 777 /var/www/html/svn

▼プロジェクト追加
開発環境にrootでログイン

SVNでプロジェクトを作成
svnadmin create /var/www/html/dev/svn/repos/sample
svn mkdir file://localhost/var/www/html/dev/svn/repos/sample/trunk -m "create"
svn mkdir file://localhost/var/www/html/dev/svn/repos/sample/branches -m "create"
svn mkdir file://localhost/var/www/html/dev/svn/repos/sample/tags -m "create"

vi /etc/httpd/conf.d/subversion.conf
--------------------------------------------------

DAV svn
SVNParentPath /var/www/html/svn/repos

・CentOS
cat /etc/redhat-release
uname -a

・APACHE
/usr/sbin/httpd -v
/usr/sbin/httpd -l

・PHP
php --version
php -m
php -m | grep モジュール名の一部

・MYSQL
rpm -qi mysql
rpm -qa | grep mysql
mysqladmin -u root -p version

・Postfix
/usr/sbin/postconf | grep mail_version

  • No comments

サーバ初期設定

By: daaquan

26 Aug 2010

ユーザー権限作成・制限¶

sudoerの設定

HOSTNAMEの変更
vi /etc/sysconfig/network
vi /etc/hosts
hostname lmg

iptablesの設定
/root/iptables.sh

Logwatchのインストール・設定
http://www.atmarkit.co.jp/flinux/rensai/root04/root04c.html

ディレクトリリスティングの制限
http://www.atmarkit.co.jp/fsecurity/rensai/view02/view02.html

  • No comments

Xen
概要
要は大元のOSの中に仮想的にOSをインストール/動作させる技術。

インストール手順¶

仮想環境の構築までに大きく2段階の手順が必要。

xenの導入/設定
大元のOSに仮想化ソフトウェアを入れる。
細かい手順は下記を参照。

http://fedorasrv.com/xen.shtml

大雑把にまとめると

・xenソフトインストール(yumで出来る)
・起動カーネル交換(xenのカーネルで起動するように。)

ドメインU(仮想マシン)の構築
上記手順でxenのインストールが出来たら次は仮想マシンの構築をおこなう。

基本的に下記を参照。
http://www.atmarkit.co.jp/flinux/rensai/xen04/xen04a.html

centos5.4インストールのみのイメージファイルがあるので、それをコピーして使う。

/srv/vm01を/var/lib/xen/images/tplに読み替える。

手順
・定義ファイルのコピー/編集
・イメージファイルのコピー/リネーム
・ゲストOS起動/コンソール切り替え
・ゲストOS内でネットワーク設定変更

  • No comments