*パッケージの追加(1) [#x54aba4c] ほとんど、以前と変わらず。 **sshdの設定 [#j6cb452f] /etc/ssh/sshd_configで次の設定。 PermitRootLogin no PermitEmptyPasswords no **NTPDの設定 [#we732dc5] # /etc/ntp.conf /etc/ntp.conf.orig /etc/ntp.confを編集 server <ntpserver IP Address> サービスの起動 # chkconfig ntpd on # /sbin/service ntpd start **ProFTPDの設定 [#le30e761] とりあえず使えればいい。 # chkconfig proftpd on # /sbin/service proftpd start **Webminの追加 [#cd8040bf] # apt-get install webmin アクセスする https://hogehgoe:10000 面倒なので、アクセス制御を直接設定。/etc/webmin/miniserv.confを編集。 allow = 127.0.0.1 192.168.1.0/255.255.255.0 *LAMP [#tc841fa1] 今回は、LAMP環境だけ。 **PHP5 [#t39097f7] # apt-get install php5 php5-apache2 php5-devel php5-pear # apt-get install php5-mysql php5-ldap php5-mcrypt php5-snmp # apt-get install php5-imapl php5-pdo php5-pgsql php5-sqlite **MySQL [#w927eca1] # apt-get install MySQL-client MySQL-server MySQL-devel # apt-get install MySQL-Max MySQL-shared **Samba [#f745dd8b] # apt-get install samba samba-swat i.e. -http://vinememo.mydns.jp/sambainstall.htm **Webalizer [#v3ab3275] # apt-get install webalizer あと、設定ファイルを編集して、保存先のディレクトリを設定。 # vi /etc/webalizer.conf **Telnet(リスクに注意) [#vb85755f] # apt-get install telnet-server # vi /etc/inetd.conf 次の箇所のコメントを削除。必要なら、tcpdの設定をする。 telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd inetdを再起動。 # service inet restart **参考 [#rc954685] -http://vine.1-max.net/ -http://www.server-world.info/note?os=vine4 |