Currently Viewing Posts Tagged VPS

How to check the disk usage of your VPS

The df utility displays the disk space usage on all mounted filesystem.

The -T option prints the filesystem type as well. By default, df measures the size in 1K blocks, which could be a little difficult for a desktop user to decipher. Use the -h option to get the more understandable output:

davidyin@localhost:~$ df -h -T
Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  463M     0  463M   0% /dev
tmpfs          tmpfs      99M  7.0M   92M   8% /run
/dev/sda       ext4       25G   12G   12G  51% /
tmpfs          tmpfs     493M     0  493M   0% /dev/shm
tmpfs          tmpfs     5.0M     0  5.0M   0% /run/lock
tmpfs          tmpfs     493M     0  493M   0% /sys/fs/cgroup
tmpfs          tmpfs      99M     0   99M   0% /run/user/1000
davidyin@localhost:~$

The VPS system will be problemed when the disk is used 100% full.

So to make sure the disk usage in the health range is very important. Clean the files when it is growing too fast or close to 85% or 90%.

Look at the log files. For example, web site error log, web site access log, security log files.

How to SFTP your Google Computer Engine in Dreamweaver 2017

It is very strange that I can not use my private/public key pair to connect my VPS on Google Computer Engine. Although I can SFTP to the same VPS with same keys in Filezilla client, and PuTTY client.

I did a lot of try. At the last I found it is because I make the keys by PuTTY Key Generator program.

My PuTTY programs are the latest version 0.70.

It is the solution to tell you how to SFTP to Google Computer Engine in Dreamweaver 2017, or even Dreamweaver 2018.

Step 1, Generate public/private key pair

Run Git Bash terminal window.

I want to make the key by my name, binghuiyin

ssh-keygen -t rsa -b 2048 -C "binghuiyin"

Then it will ask for the location of the keys. I prefer to have them in d:/gce-key/ folder.

It will also ask for the passphrase. So I entered my password.

Done, I have two files in the d:/gce-key/

binghuiyin is the private key.

binghuiyin.pub is the public key.

ssh-keygen generate keys

 

 

Continue reading “How to SFTP your Google Computer Engine in Dreamweaver 2017”

Bashrc is not loading? (Fixed)

I have the .bashrc file, but it is not loading when I connect my VPS through SSH.

The content of .bashrc looks like below:

alias ls='ls --color=auto'
force_color_prompt=yes
PS1='\[\033[1;36m\]\u\[\033[1;31m\]@\[\033[1;32m\]\h:\[\033[1;35m\]\w\[\033[1;31m\]\$\[\033[0m\] '

It provides a colorful terminal look.

How to fix the problem of .bashrc not loading?

Continue reading “Bashrc is not loading? (Fixed)”

Move to Linode Server

When you saw this post, it means the blog is moved to a new server at Linode.

New server is a little bit better than the old one at DigitalOcean.

Here is how old server looks like:

  • Operating system     Ubuntu Linux 14.04.4
  • Kernel and CPU     Linux 3.13.0-88-generic on x86_64
  • Processor information     Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz, 1 cores
  • 1 GB RAM
  • 20 GB Storage SSD

digitalocean-spotlight

New server at Linode has following specs:

  • Operating system     Ubuntu Linux 16.04
  • Kernel and CPU     Linux 4.6.3-x86_64-linode70 on x86_64
  • Processor information     Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz, 1 cores
  • 2 GB RAM
  • 24GB Storage SSD

linode-brentwood Continue reading “Move to Linode Server”

CloudatCost VPS – an VPS service provider from Canada

I am customer of CloudatCost, which is a VPS service provider at Ontario, Canada.

I saw the Ads on twitter, or just someone make a tweet. The most interesting thing is the one time payment and no more recurring invoice. Only one time setup fee.  It also has monthly plan.

For example, the very basic plan, Developer 1, $1/month or $35/one time.

If subscribe the monthly plan, it will be $1/month, after a year, you paid $12.  One time fee $35 is about three year subscription fee. So pay three year service in the front. That’s it. You own the plan for ever.

cloudatcost-plans

I purchased plan Developer 2, by one time fee.

Developer 2:

  • $10/month or $70/one time
  • 2 Xeon vCPU
  • 1 public IP
  • 1GB ECC RAM
  • 20GB SSD
  • 100Mbit Network
  • 1TB monthly transfer

 

I have a coupon for 50% off, that means you just need to pay $35/one time fee, you can have it for ever. See the coupon code :

Continue reading “CloudatCost VPS – an VPS service provider from Canada”

A new VPS service provider – Vultr

I  just ordered a new VPS from Vultr.com.

It has All SSD. Maybe the lowest price per memory. Pay $0.007/hr, you get 768MB RAM, 3GHz CPU and 15GB storage. It is about $5/month.

And more datacenters than other VPS service providers. There are 14 locations worldwide, right now.

I did following test though Benchmark Serverbear.

The simply results as below.

UnixBench score: 2242.1

I/O rate: 409.0 MB/second

Bandwidth rate: 97.4 MB/secon

Continue reading “A new VPS service provider – Vultr”

Linode annouced $10 Plan

It is the first time Linode announced $10 plan in the past 11 years.

They call it Linode 1G

Linode 1G – a $10/mo ($.015/hr) entry into our Linode plan lineup. This new Linode runs on the same 40 Gbps network, SSDs, and processing power as our larger plans. Likewise, inbound traffic is free and restricted only by link speed (40 Gbps).

  • 1 GB RAM
  • 1 CPU Core
  • 24GB SSD Storage
  • 2TB Transfer
  • 40 Gbit Network In
  • 125 Mbit Network Out

 

I have a node at Linode for two years. It has much more stable service and keeps updating the hardware without increasing fees.

The plan supports monthly pay, or yearly pay(10% discount) or bi-yearly pay(15% discount). Now I am using yearly payment play.

linode-1024

I recommend the small business to start their first VPS at Linode with this starter plan.

Upgrade Awstats to 7.3

I am using Advanced Web Statistics(Awstats) for many years. I haven’t upgrade my installation for a long time. Last time, I upgrade my Awstats to 7.1, is almost two years ago.

Now it is 7.3.

Let’s have a look at the changes since Awstats 7.1

 

***** 7.3 *****

New features:
- Add command line option -version
- Better error management of geoip modules.
- Update domains, robots and search engines database:
- #877 Windows 8 + iOS Support in AWStats
- Detection of 8.1 and IE11.

Fixes:
- When using builddate option of script awstats_buildstaticpages,
  static link is wrong.
- Restore detection of Opera browsers versions.
- #838 GeoIP Cities page doesnt work.
- Add missing icons.
- #881 Avoid warning mixed http/https with module graphgooglechartapi.
- #918 $MinHit{'Host'} rather than $MinHit{'Login'} used in sub HTMLShowLogins.
 
Other:
- Move version system to sourceforge Git instead of CVS.


***** 7.2 *****

New features:
- Upgrade licence to GPL v3+.
- Update documentation.
- Support modCloudFlareIIS.

Fixes:
- Since updating Webmin to 1.53, the Add New Config File screen layout is
  totally messed up and unusable.
- Update broken links to maxmind.

Continue reading “Upgrade Awstats to 7.3”

Benchmark Report of 4GB Servermania VPS with SSD Cached

The VPS with SSD cached is much faster than normal HDD.  Servermania had a email to me last week. It said there is a upgrade of the hardware on the host of my VPS. From normal HDD storage to SSD Cached HDD.

Here is a benchmark report for the new one.

UnixBench score: 2456.6

I/O rate: 139.0 MB/second

Bandwidth rate: 37.5 MB/second

 

servermania-unixbench

It is 4 core CPU.

Continue reading “Benchmark Report of 4GB Servermania VPS with SSD Cached”

Linodes New SSD VPS performance test

Yes, I just upgraded my VPS from old plan to new platform. Actually my old VPS at Linode is SSD cached system. They called it SSD Beta. I used it from last September.  I did a performance test at that time.

SSD Cached Linode

UnixBench

  • UnixBench (w/ all processors) 2086.0
  • UnixBench (w/ one processor) 324.3

IOPS

  • Read IOPS  28016.0
  • Read Bandwidth  112.0 MB/second
  • Write IOPS  12494.0
  • Write Bandwidth  49.9 MB/second

 

Now, after upgrading my VPS, I did a new test through ServerBear.com

linode-2gb Continue reading “Linodes New SSD VPS performance test”

  • Archives