How to Change the Default SSH Port 22 to Another Port?

▲▲With SSH, you can do a lot of work on a remote host SSH comes built into almost every Linux system. It makes it easy to connect to and manage your host. Once you are connected over SSH, you can do a lot of work on your server. But that also makes SSH a likely target for attacks. The default SSH port is 22, so if someone guesses your password, your server is in serious danger. That is why this post covers a second layer of protection: changing the default port. With that in place, an attacker needs to know not only your password, but also which port you are using....

April 16, 2011 · 2 min

[Linux] How to Change a User Password (Also for Changing the SSH Password on iOS)

On Linux systems, for security reasons, every account must have a password. A user must enter the correct password to log in to the system. This article shows you how to change account passwords when you manage a Linux host or a VPS. The same method also applies to jailbroken iPads and iPhones and other iOS devices. iOS’s default password is “alpine,” so if you never change it and your iOS device is jailbroken, it could be attacked. ...

March 18, 2011 · 1 min

Uptime Robot - Checking Whether Your Site Is Reachable at 5-Minute Intervals

Uptime Robot is an uptime monitoring service that I personally recommend. It checks whether your server is running and whether visitors can actually reach your website. Many services are similar to Uptime Robot, but most free uptime monitoring services only check every hour or less (in other words, how often the service checks your site). Uptime Robot's shortest interval is 5 minutes, and if it detects a problem with your site, it automatically sends you an email. Uptime Robot is free for now, but I'm not sure whether it will charge later......

February 20, 2011 · 3 min

Manually Backing Up and Restoring a Database with phpMyAdmin

In this post, I’ll show you how to back up and restore a database by hand. If you know a bit about building websites, you know you should back up your database regularly, because almost all of a website’s data is stored in the database. But how many people actually back up their databases? Most people learn to build websites from so-called “ten-minute website” books, and those usually don’t go into any depth, so plenty of people don’t know how to back up a database. So here I’m going to show everyone how to back up a database by hand (a MySQL database). . ...

February 11, 2011 · 2 min

[VPS] Tips for Buying a VPS, and a Recommended Provider: PhotonVPS

In this article, I'll show you how to choose a VPS. For an explanation of what a VPS is, see [VPS] What Is a VPS? What Are the Benefits of Using One?. This article also introduces PhotonVPS, the provider I'm currently using. If you're thinking about buying a VPS, you might want to give it a try~ ...

February 9, 2011 · 6 min

[VPS] What Is a VPS? What Are the Benefits of Using One?

If you've been reading this site's "About" page, or following me on Plurk and Facebook, you'll know this site recently switched to a VPS~ In fact, it's been about three weeks since the switch. On the day I switched, I meant to write a post introducing VPS, but midterms were coming up and I didn't have time. After midterms, I went back to classes at Beishang, and I kept putting it off until now, when I finally have time to write this. 0.0...

February 5, 2011 · 10 min

How to Check Whether a Domain's DNS Is Set Up Correctly?

Anyone who runs a website has probably set up DNS records for a domain many times. You probably also know that after you change DNS, it takes 12 to 24 hours before the change takes effect. That is because ISPs need to clear their DNS caches. A DNS mapping is not applied instantly. It takes some time before it works. So today I want to introduce a command that lets you check whether a given domain points to the correct IP address....

February 1, 2011 · 1 min

PHP Probe: Checking How Stable Your Hosting Space Is

I imagine many people building a website start out on free web hosting. You’re probably also curious whether your host is stable, and how fast it is. Today I came across an article on a free site where someone used a PHP probe to check their hosting, so here it is for everyone to try~~~~ First, download the PHP probe ...

June 14, 2009 · 1 min