インストール関係VineLinux3.2インストールから、カスタマイズ、運用まで。インストールパッケージ「カスタム」を選択した後
不要なサービスの停止# chkconfig netfs off # chkconfig nfslock off # chkconfig murasaki off システム設定# /usr/sbin/setup (セットアップメニュー) # /usr/sbin/authconfig(ユーザ認証設定) # /usr/sbin/ntsysv(サービス設定) aptの調整/etc/apt/sources.listを編集。「extras」の追加。(例) # (ring mirror) rpm [vine] http://www.t.ring.gr.jp/pub/linux/Vine/apt 3.0/$(ARCH) main devel plus extras updates rpm-src [vine] http://www.t.ring.gr.jp/pub/linux/Vine/apt 3.0/$(ARCH) main devel plus extras updatesi.e. パッケージのアップデート# apt-get update # apt-get upgrade kernelのアップデート# mkinitrd /boot/initrd-2.4.31-0vl1.12.img 2.4.31-0vl1.12 # vi /etc/lilo次を追加 image=/boot/vmlinuz-2.4.31-0vl1.12 label=linux2 initrd=/boot/initrd-2.4.31-0vl1.12.img read-only root=/dev/sda2 append=" resume2=swap:/dev/sda5"最後の作業 # /sbin/lilo # shutdown -r nowi.e. インストール後sshdの設定/etc/ssh/sshd_configで次の設定。PermitRootLogin no PermitEmptyPasswords noi.e. NTPDの設定# /etc/ntp.conf /etc/ntp.conf.orig
/etc/ntp.confを編集
server <ntpserver IP Address>
サービスの起動
# chkconfig ntpd on # /sbin/service ntpd starti.e. ProFTPDの設定とりあえず使えればいい。# chkconfig proftpd on # /sbin/service proftpd starti.e. Webminの追加# apt-get install webmin
アクセスする
https://hogehgoe:10000
i.e.
面倒なので、アクセス制御を直接設定。/etc/webmin/miniserv.confを編集。
allow = 127.0.0.1 192.168.1.0/255.255.255.0
i.e.
LAMPとLAPPPHPPHP4.Xの場合。# apt-get install php php-apache php-devel php-pear php-mysql php-pgsql php-imap
PHP5.Xの場合、たとえば。
# apt-get install php5 php5-apache php5-devel php5-pear
依存関係のあるパッケージもインストール。
i.e.
MySQL# apt-get install MySQL-client MySQL-server MySQL-devel # apt-get install MySQL-Max MySQL-sharedi.e. Postgre SQL# apt-get install postgresql postgresql-libs postgresql-server postgresql-devel php-pgsql
i.e.
Webdav# apt-get install mod_dav libiconv_hook mod_encoding
Samba# apt-get install samba samba-swat
i.e.
Webalizer# apt-get install webalizer
i.e.
Canna(日本語入力)# apt-get install Canna
Telnet(リスクに注意)# apt-get install telnet-server # vi /etc/inetd.conf次の箇所のコメントを削除。必要なら、tcpdの設定をする。 telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
MRTGi.e.データの移行アカウント次のファイルを、適宜編集。
データのコピーコピー先の /etc/ssh/sshd_config を編集。PermitRootLogin yes
コピー元でrsyncを使ってコピー。
# rsync -avz -e ssh <コピーするディレクトリ> <コピー先のマシン>:<コピー先のディレクトリ>
PukiWiki1.4.4の場合、次の対策が必要。
おまけJ2DKjava.sun.comから、RPMファイルをダウンロードし、インストール。 i.e.Tomcatはっきりした情報がないのか? i.e.
Squirrelmail 1.4.5
# pear4 install db
|