Posted in Solaris, Unix

Shut Down Solaris 11 Express

Here’s a quick command on how to shut down – or power off – a Solaris machine. I tried this using Solaris 11 Express, but have also tested it to work on OpenSolaris and OpenIndiana.

From the terminal:

$ sudo shutdown -y -i5 -g0

This is what it means:

– sudo: Run the command with elevated privileges. Not needed if logged in as root

– shutdown -y: Confirm that you DO want to shut down the system

– i5: init level 5: Power off the machine.

– g0: (it’s not “go”, it’s gzero). Shut down the machine immediately without a grace period. Increase the number to delay the shutdown by n¬†amount of seconds. I always use 0 seconds on my Solaris server.

Advertisements
Posted in Linux, Ubuntu

Install Flash Player on Ubuntu 11.04 x64

I was under the impression that Ubuntu 11.04 installed a flash player during initial setup.

Well, I was wrong. After installing Ubuntu on my system and heading to Pandora, I discovered that flash was not installed. I installed the version from Adobe’s site, but that one still didn’t work.

Here’s a quick way to install it from the command line:

$  sudo apt-get install flashplugin-nonfree

Restart your browser, and give it a try. YouTube and Pandora should work now.