![]() |
|||||||||
![]() |
![]() |
centos6.5 の変更点
[[VMWare]] で minimal install した後の設定
ifconfig -a
で、IPがとれていることを確認。~
とれていない場合は、/etc/sysconfig/network-scripts/if-eth0 の ON_BOOT が NOになっている可能性がある~
----
* 初期更新 [#x30c5d63]
yum -y update
yum -y install emacs nkf nmap lrzsz policycoreutils-python yum-utils zip unzip wget ntp bind-utils telnet
shutdown -r now
cat > ~/.emacs
(setq make-backup-files nil)
(setq auto-save-default nil)
package-cleanup --oldkernels --count=1
/boot/grub/grub.conf
rhgb quiet を消す
shutdown -r now
cat >> /etc/cron.hourly/ntpdate
/usr/sbin/ntpdate ntp.nict.jp
chmod +x /etc/cron.hourly/ntpdate
/etc/cron.hourly/ntpdate
ssh でログイン
*** apache [#ufa87c97]
yum -y install httpd
chkconfig httpd on
iptables -I INPUT 5 -p tcp -m tcp --dport 80 -j ACCEPT
iptables -I INPUT 5 -p tcp -m tcp --dport 443 -j ACCEPT
service iptables save
service iptables restart
*** mysql [#gdf74c9a]
yum -y install mysql mysql-server
chkconfig mysqld on
service mysqld start
*** php [#y7c5f467]
yum -y install php php-pear php-mysql
pear upgrade PEAR
*** ImageMagick [#ff7fde58]
yum -y install ImageMagick ImageMagick-perl
*** httpd 再起動 [#m1952159]
service httpd start
|
|||||||