Version 6 (modified by mitty, 14 years ago) (diff) |
---|
Spec
- サービス仕様|VPS(仮想専用サーバ)は「さくらのVPS」 公式
- さくらのVPS 無料クローズドベータ版 - masa23のメモ
- Linux/SAKURA/さくらのVPS980 - Tomocha WikiPlus
Benck on 2010/12/16
- 使用開始から3ヶ月
- Ubuntu 10.04.1 x64
- uname -a
Linux wwwXXXXu 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 10:14:11 UTC 2010 x86_64 GNU/Linux
- uptime
15:25:38 up 14 days, 18:32, 2 users, load average: 0.15, 0.12, 0.09
- free -tm
total used free shared buffers cached Mem: 493 451 42 0 0 29 -/+ buffers/cache: 422 71 Swap: 895 184 711 Total: 1389 636 753
- df -h
Filesystem Size Used Avail Use% Mounted on /dev/sda1 20G 5.5G 14G 29% / none 243M 164K 243M 1% /dev none 247M 0 247M 0% /dev/shm none 247M 44K 247M 1% /var/run none 247M 0 247M 0% /var/lock none 247M 0 247M 0% /lib/init/rw
- sudo hdparm -tT /dev/sda
/dev/sda: Timing cached reads: 12276 MB in 2.00 seconds = 6143.08 MB/sec Timing buffered disk reads: 262 MB in 3.01 seconds = 87.14 MB/sec
- wget http://ftp.tsukuba.wide.ad.jp/Linux/ubuntu-releases/lucid/ubuntu-10.04.1-server-amd64.iso -O /dev/null
--2010-12-16 15:33:37-- http://ftp.tsukuba.wide.ad.jp/Linux/ubuntu-releases/lucid/ubuntu-10.04.1-server-amd64.iso Resolving ftp.tsukuba.wide.ad.jp... 203.178.132.77, 203.178.132.78, 203.178.132.79, ... Connecting to ftp.tsukuba.wide.ad.jp|203.178.132.77|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 715644928 (682M) [application/octet-stream] Saving to: `/dev/null' 100%[======================================>] 715,644,928 15.5M/s in 42s 2010-12-16 15:34:19 (16.2 MB/s) - `/dev/null' saved [715644928/715644928]
- wget http://ftp.riken.jp/Linux/ubuntu-iso/CDs/lucid/ubuntu-10.04.1-server-amd64.iso -O /dev/null
--2010-12-16 15:35:49-- http://ftp.riken.jp/Linux/ubuntu-iso/CDs/lucid/ubuntu-10.04.1-server-amd64.iso Resolving ftp.riken.jp... 134.160.38.1 Connecting to ftp.riken.jp|134.160.38.1|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 715644928 (682M) [application/octet-stream] Saving to: `/dev/null' 100%[======================================>] 715,644,928 6.06M/s in 1m 54s 2010-12-16 15:37:43 (5.98 MB/s) - `/dev/null' saved [715644928/715644928]
- wget http://ftp.iij.ad.jp/pub/linux/ubuntu/releases/lucid/ubuntu-10.04.1-server-amd64.iso -O /dev/null
--2010-12-16 15:38:00-- http://ftp.iij.ad.jp/pub/linux/ubuntu/releases/lucid/ubuntu-10.04.1-server-amd64.iso Resolving ftp.iij.ad.jp... 202.232.140.141, 202.232.140.135, 202.232.140.136, ... Connecting to ftp.iij.ad.jp|202.232.140.141|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 715644928 (682M) [application/octet-stream] Saving to: `/dev/null' 100%[======================================>] 715,644,928 51.8M/s in 18s 2010-12-16 15:38:18 (36.9 MB/s) - `/dev/null' saved [715644928/715644928]
Ubuntu lucid
df -h
Filesystem Size Used Avail Use% Mounted on /dev/sda1 20G 647M 19G 4% / none 243M 160K 243M 1% /dev none 247M 0 247M 0% /dev/shm none 247M 32K 247M 1% /var/run none 247M 0 247M 0% /var/lock none 247M 0 247M 0% /lib/init/rw
sudo fdisk -lu /dev/sda
Disk /dev/sda: 21.5 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000eff6a Device Boot Start End Blocks Id System /dev/sda1 * 2048 40105983 20051968 83 Linux /dev/sda2 40105984 41940991 917504 82 Linux swap / Solaris
sudo hdparm -tT /dev/sda
/dev/sda: Timing cached reads: 14280 MB in 2.00 seconds = 7147.01 MB/sec Timing buffered disk reads: 276 MB in 3.02 seconds = 91.41 MB/sec
CentOS 5.5
- サービスイン直後
# lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02) 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] 00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] 00:01.2 USB Controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01) 00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03) 00:02.0 VGA compatible controller: Technical Corp. Unknown device 1111 00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 52:54:XX:XX:XX:XX inet addr:59.106.180.xyz Bcast:59.106.181.255 Mask:255.255.254.0 inet6 addr: fe80::5054:XX:XX:XX/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1387 errors:0 dropped:0 overruns:0 frame:0 TX packets:103 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:88422 (86.3 KiB) TX bytes:12096 (11.8 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
# route
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 59.106.180.0 * 255.255.254.0 U 0 0 0 eth0 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0 default 59.106.180.1 0.0.0.0 UG 0 0 0 eth0
# cat /etc/resolv.conf
nameserver 210.188.224.10 nameserver 210.188.224.11 search sakura.ne.jp
# hostname
www5XYZu.sakura.ne.jp
# df -h
Filesystem Size Used Avail Use% Mounted on /dev/hda2 18G 1.5G 15G 10% / /dev/hda1 99M 12M 82M 13% /boot tmpfs 250M 0 250M 0% /dev/shm
# fdisk -lu /dev/hda
Disk /dev/hda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors Units = sectors of 1 * 512 = 512 bytes Device Boot Start End Blocks Id System /dev/hda1 * 63 208844 104391 83 Linux /dev/hda2 208845 37833074 18812115 83 Linux /dev/hda3 37833075 41929649 2048287+ 82 Linux swap / Solaris
# cat /proc/cpuinfo
processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz stepping : 11 cpu MHz : 2660.040 cache size : 4096 KB fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm constant_tsc pni ssse3 lahf_lm bogomips : 5320.08 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz stepping : 11 cpu MHz : 2660.040 cache size : 4096 KB fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm constant_tsc pni ssse3 lahf_lm bogomips : 5280.22 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management:
# hdparm -tT /dev/hda
/dev/hda: Timing cached reads: 20580 MB in 2.00 seconds = 10297.90 MB/sec Timing buffered disk reads: 266 MB in 3.02 seconds = 88.20 MB/sec
GRUB
CentOS 5.5
- # cat /boot/grub/grub.conf
# grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/vda2 # initrd /initrd-version.img #boot=/dev/vda default=0 timeout=5 #splashimage=(hd0,0)/grub/splash.xpm.gz serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 terminal --timeout=10 serial console hiddenmenu title CentOS (2.6.18-194.8.1.el5) root (hd0,0) kernel /vmlinuz-2.6.18-194.8.1.el5 ro root=LABEL=/ console=tty0 console=ttyS0,115200n8r initrd /initrd-2.6.18-194.8.1.el5.img