reboot

Linux Mint (and Ubuntu): Suspend vs Hibernate (meaning)

When I put Linux Mint on a few of my computers recently I quickly encountered the words “suspend” and “hibernate” when attempting to put a laptop to sleep:

LInux Mint, Suspend vs Hibernate

“What the heck is the difference between Suspend and Hibernate,” I wondered. “I’m used to just having a ‘Sleep’ option on my MacBook Pro.”

What is Android doing when it says “optimizing apps” after a system upgrade?

Android FAQ: What is Android doing when it says “optimizing apps” after an Android system upgrade (and reboot)?

The short story is that Android is doing what it says, creating an optimized version of each app for the new version of Android you just upgraded to. This process makes each app start as fast as possible with the new Android version.

How to gracefully restart Nginx

Nginx FAQ: How do I gracefully restart Nginx?

This used to be harder, but these days all you have to do is run this command:

$ sudo service nginx restart

Note that you will probably want to make sure your configuration is correct with this command before running that command:

$ nginx -t

iptables restart tip - How to make your Linux iptables firewall automatically restart after a reboot

iptables restart FAQ: How do I make my iptables firewall start/restart after I reboot my Linux system?

I was going to write a tutorial about configuring a firewall on a Linux system using iptables, but then I found this great CentOS iptables tutorial, and I think they really nailed it.

The only thing I think they didn't fully cover is how you get your Linux iptables firewall to start up again properly after your Linux system is rebooted (which is kind of a huge deal). To that end, I thought I'd describe the process of getting your iptables firewall to restart after a system reboot.

And -- as an added bonus -- this same process will help you get any Linux service to automatically start after a reboot.

iPhone "Slide for Emergency" and "Activated" error messages alvin July 7, 2009 - 6:13pm

I'm not sure what I keep doing, but every once in a while when I turn on my iPhone 3G (after turning it off completely, i.e., a restart/reboot) I see a couple of different weird "error" messages. The first error message says, "Slide for emergency", and looks like this:

How to restart/reboot an iPhone or iPod

iPhone reboot FAQ: How do I restart (reboot) an iPhone, iPod, or iPad?

As a new iPhone user, after hearing that the iPhone may suffer from a memory leak which causes applications to become slower over time, I looked at my phone and wondered "How do I turn off my iPhone?", quickly followed by "How do I restart my iPhone?"