CentOS minimal template’s issue with crontab

On my CentOS 5.x 64bit XEN PV template (XEN PV is a virtualization type, this means I am talking about a VPS) doing ‘crontab -e’ gave me the following error

[root@vpsadmin ~]# crontab -e
no crontab for root - using an empty one
/bin/sh: /bin/vi: No such file or directory
crontab: "/bin/vi" exited with status 127

To correct this issue, do the following

[root@vpsadmin ~]# touch ~/.bashrc
[root@vpsadmin ~]# export VISUAL=nano
[root@vpsadmin ~]# source ~/.bashrc

So, now if you do ‘crontab -e’ it will work as it should

[root@vpsadmin ~]# crontab -e
no crontab for root - using an empty one
crontab: no changes made to crontab

ThrustVPS XEN HVM Benchmark

Update (25-Aug-2010): Rus Foster from ThrustVPS.com is a blackmailer and a person with low self-esteem. He actually blackmailed me to hand him over certain domain names which he thinks believes is breaching the AUP. My accounts, VPS and the $60 of affiliate commission was terminated. I will advise everyone to KEEP AWAY from Rus Foster and ThrustVPS.com (click here to read the full review)

Unix Benchmark results from ThrustVPS (XEN HVM running Ubuntu 10.04 LTS on their West Coast (LA) node) using unixbench v 5.1.2

Specs: 512MB / 15GB XEN HVM running Ubuntu 10.04 LTS 32bit

Note: Although the test results from the previous bechmark on their XEN PV is just average, this one is the best benchmark I had on a 512MB VPS ever!

Continue reading

RackVM Benchmark

Alert: (05-Sep-2010) RackVM is/was a shady business and Ben, owner of RackVM, has run away with hundreds of client’s payments. As of today, all of their nodes are down. Ben just tricked everyone to his per annum offers and ran away with cash in hand. Unfortunately, I was also one of these victims.

Unix Benchmark results from RackVM using unixbench v 5.1.2

Specs: 128MB / 10GB XEN PV running Ubuntu 10.04 LTS
The most amazing part? well, I got this VPS for just 6pounds bi-annually (6 months), thats 1 pound per month 🙂

Note: Although their servers are Core2Quad, I have access to 4 cores and the benchmark results (as compared with my QuickWeb 128MB XEN PV) are very good

Continue reading

ThrustVPS Benchmark

Update (25-Aug-2010): Rus Foster from ThrustVPS.com is a blackmailer and a person with low self-esteem. He actually blackmailed me to hand him over certain domain names which he thinks believes is breaching the AUP. My accounts, VPS and the $60 of affiliate commission was terminated. I will advise everyone to KEEP AWAY from Rus Foster and ThrustVPS.com (click here to read the full review)

Unix Benchmark results from ThrustVPS using unixbench v 5.1.2

Specs: 512MB / 15GB XEN PV running Ubuntu 10.04 LTS

   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.2                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   December 22, 2007                  johantheghost at yahoo period com


1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: wc.li-node.com: GNU/Linux
   OS: GNU/Linux -- 2.6.32-306-ec2 -- #11-Ubuntu SMP Tue Jun 1 14:35:25 UTC 2010
   Machine: x86_64 (unknown)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (4791.1 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   18:19:22 up  3:09,  1 user,  load average: 0.26, 0.26, 0.32; runlevel 2

------------------------------------------------------------------------
Benchmark Run: Wed Jul 28 2010 18:19:22 - 18:47:38
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       26329137.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3042.7 MWIPS (10.0 s, 7 samples)
Execl Throughput                               1574.9 lps   (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        231428.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           59019.0 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        719938.8 KBps  (30.0 s, 2 samples)
Pipe Throughput                              365359.6 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  89788.9 lps   (10.0 s, 7 samples)
Process Creation                               3490.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   3024.7 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    396.9 lpm   (60.1 s, 2 samples)
System Call Overhead                         429628.4 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   26329137.2   2256.1
Double-Precision Whetstone                       55.0       3042.7    553.2
Execl Throughput                                 43.0       1574.9    366.3
File Copy 1024 bufsize 2000 maxblocks          3960.0     231428.5    584.4
File Copy 256 bufsize 500 maxblocks            1655.0      59019.0    356.6
File Copy 4096 bufsize 8000 maxblocks          5800.0     719938.8   1241.3
Pipe Throughput                               12440.0     365359.6    293.7
Pipe-based Context Switching                   4000.0      89788.9    224.5
Process Creation                                126.0       3490.3    277.0
Shell Scripts (1 concurrent)                     42.4       3024.7    713.4
Shell Scripts (8 concurrent)                      6.0        396.9    661.5
System Call Overhead                          15000.0     429628.4    286.4
                                                                   ========
System Benchmarks Index Score                                         507.5

root@wc:~/unixbench-5.1.2# 

The Planet Announces Cloud Hosting

The Planet just jumped in to the cloud computing announcing the launch of Server Cloud Hosting.

Cloud computing gives you more reliability, computing power with the advantage of seamless scalability in terms of resources but at the same time its pretty expensive, in my opinion.

The minimum package starts from $49 with just 60GB space and 512MB ram with 1TB bandwith (transfer). The bigger packages cost $99 and $179. All prices are per month in USD. One thing that amazes is why there is just 60GB in the core packages?

I wonder if a XEN from LINODE.COM is better then this cloud offer? LINODE has been very very stable with almost no downtime or issues. XEN512 from LINODE costs $20 per month.

Since The Planet is new, I cannot comment on their reliability but The Planet is one of the best data centers in the US so I expect it to be nothing but the BEST.

Got my first Linode today

Today at around 02am, I signed up for my very own LINODE. I have been with many different cheap providers but one way or the other, LINODE impressed me a lot.

My client, at work, also signed up for LINODE at my recommendation a little while ago. Linode uses 1GB pipe networking port on a XEN VPS that gives you blazzing fast speed as if its on your local machine. I choose London data center for my VPS.