最新CentOS&ALMinium
CentOS-6.3-x86_64-bin-DVD1.iso
CentOS-6.3-x86_64-bin-DVD2.iso
をDL
# su
でスーパーへ
キーボード配列の調整
参考:http://catnapper-mar.hatenablog.com/entry/20110929/1317317106
参考:http://ugawalab.miyakyo-u.ac.jp/m6/fukuchi/blog/2010/01/centos.html
# vi /etc/sysconfig/keyboard
内容:
KEYTABLE="jp106" MODEL="jp106+inet" LAYOUT="jp" KEYBOARDTYPE="pc"
とする。
※「:」はShift+; で打てた。。。
再起動する。
# yum update
でアップデートをする
長い・・・
で以下を実行すると完了
# cd /var/lib/ # yum -y install git # git clone https://github.com/alminium/alminium.git # cd alminium # git pull # sudo bash ./smelt
//ALMiniumのプラグインの場所
# cd /opt/alminium/lib/plugins/
【Apache再起動】
#/etc/init.d/apache2 restart
プラグイン例:redmine_cut_tag
# cd /opt/alminium/plugins/
# git clone git://github.com/Undev/redmine_cut_tag.git
# ~/apache2 restart の場所分からないのでOS再起動
でOK
【その他】
【vimの設定をする】
vimでテキストを開いたら、
:set title
:syntax on
セキュリティ設定をする
参考:
http://fnya.cocolog-nifty.com/blog/2012/03/centos-6aa8.html
# useradd hogehoge(好みの物に)
# passwd hogehoge(ユーザー名)
# usermod -G wheel hogehoge
# vim /etc/pam.d/su
# auth required pam_wheel.so use_uid
↓
auth required pam_wheel.so use_uid
にして保存
# vim /etc/login.defs
SU_WHEEL_ONLY yes
↑を追記
# visudo
# %wheel ALL=(ALL) ALL
↓
%wheel ALL=(ALL) ALL
# vim /etc/ssh/sshd_config
# PermitRootLogin yes
↓
PermitRootLogin no
# /etc/init.d/sshd restart