Cloudcore VPSに申し込んでみた
自分用にメモ。SSHで入るの専用。
# free -m total used free shared buffers cached Mem: 2005 907 1097 0 163 669 -/+ buffers/cache: 75 1930 Swap: 4095 0 4095
# df -h Filesystem サイズ 使用 残り 使用% マウント位置 /dev/vda1 97G 5.2G 87G 6% / tmpfs 1003M 0 1003M 0% /dev/shm
# uname -a # yum update後 Linux yoshihama4 2.6.18-274.17.1.el5 #1 SMP Tue Jan 10 17:25:58 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
# yum update # yum install tcpdump bind-utils man # vi /etc/sysconfig/network HOSTNAME=hogehoge # useradd -u 1000 -G wheel username # この辺で某さくらVPSの公開鍵を登録 # passwd -d root # vi /etc/ssh/sshd_config Port 22 # 適当に変更 PermitRootLogin no # 明示的に書くのが安全 # /etc/init.d/sshd restart # この辺でログインテスト # reboot
- メモ
- DNSを適当に登録しておく
- 何かしたら追加する