(1) ログイン用の一般ユーザーを作成
「vpstora」の部分は適宜変更してください。
[root@vps ~]# useradd vpstora←ユーザを登録
[root@vps ~]# passwd vpstora←パスワード設定
Changing password for user vpstora.
New UNIX password:←パスワード入力(非表示)
Retype new UNIX password:←パスワード再入力
passwd: all authentication tokens updated successfully.
[root@vps ~]# passwd vpstora←パスワード設定
Changing password for user vpstora.
New UNIX password:←パスワード入力(非表示)
Retype new UNIX password:←パスワード再入力
passwd: all authentication tokens updated successfully.
(2) インストール済のパッケージを最新化
これはかなり時間がかかることがあります
[root@vps ~]# yum -y update
Loaded plugins: fastestmirror
Repository ‘vz-base’ is missing name in configuration, using id
Repository ‘vz-updates’ is missing name in configuration, using id
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
Setting up Update Process
Resolving Dependencies
–> Running transaction check
Loaded plugins: fastestmirror
Repository ‘vz-base’ is missing name in configuration, using id
Repository ‘vz-updates’ is missing name in configuration, using id
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
Setting up Update Process
Resolving Dependencies
–> Running transaction check
~省略~
Updated:
tcsh.i386 0:6.14-17.el5_5.2 tmpwatch.i386 0:2.9.7-1.1.el5.5
traceroute.i386 3:2.0.1-6.el5 tzdata.i386 0:2011l-4.el5
udev.i386 0:095-14.27.el5_7.1 util-linux.i386 0:2.13-0.56.el5
vim-common.i386 2:7.0.109-7.el5 vim-enhanced.i386 2:7.0.109-7.el5
vim-minimal.i386 2:7.0.109-7.el5 xinetd.i386 2:2.3.14-13.el5
yum.noarch 0:3.2.22-37.el5.centos zlib.i386 0:1.2.3-4.el5
Complete!