nouphet / setting_server_env

Common Setting for Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setting_server_env

Common Settings for My Server

対象サーバ

OS Version
CentOS 5.x, 6.x, 7.x

スクリプト

# cd /usr/local/src/
# curl -L https://raw.github.com/nouphet/setting_server_env/master/setting_server_env_light.sh | bash
yum -y install ntp vim fping wget curl git
wget --no-check-certificate https://raw.github.com/nouphet/setting_server_env/master/setting_server_env_light.sh

or

yum -y install ntp vim fping wget curl git && wget --no-check-certificate https://raw.github.com/nouphet/setting_server_env/master/setting_server_env_light.sh

自分用おまけ

グローバルIPを確認する方法

$ curl http://dyn.value-domain.com/cgi-bin/dyn.fcg?ip && echo ""

Linuxのローカルタイムを日本時間に変更する方法

# mv /etc/localtime /etc/localtime.orig; ln -s /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
or
# mv /etc/localtime /etc/localtime.orig; cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime

About

Common Setting for Server


Languages

Language:Shell 86.1%Language:Ruby 13.9%