well….

i am now 1/4th of a century old … does it feel any different nope not yet.just another year older.

so happy b-day to me!

Advertisements

openSSH server on ubuntu (hardy)

open up a Terminal window, and use apt-get to download and install OpenSSH Server:

sudo apt-get install openssh-server

Once the installation is finished. We’ll need to make a few changes to your sshd_config file in order to increase SSH’s security. To edit your your sshd_config file, use the following command:

sudo gedit /etc/ssh/sshd_config

(Note that you can use your editor of choice instead; vi or emacs or whatever. when I’m at my desktop I use gedit if I’m running through command line its always nano but its up to you what you want to use.)

Once you’re editing the file, we’ll need to change the following directives:

PermitRootLogin no

Never, ever give root access to SSH unless you have an extremely good reason for doing so.

The default port is 22, you can change this if you want some people will say yes change it, its really up to you.

You may also want to change the AllowUsers directive, which specifies which users can access SSH. For example, to restrict access to only the users b4d455 and billybob:

AllowUsers b4d455 billybob

Once you’ve finished changing your settings, save your changes, and restart the SSH daemon:

sudo /etc/init.d/ssh restart

You should now be able to SSH into your Ubuntu machine. You can do so from the Terminal on another Linux machine, through cgywin, or by using Putty on a Windows machine.

wait what…?

so i’m surfing for some recipes (yes I do this; eating the same thing gets old after awhile) looking to improve my cooking skills …haha! i came across an article about making your own energy drink which consisted of tea, salt, and lemon … yuck! but any ways the article started out with this quote.

“We all work out, we all need re-hydration, we all buy Gatorade…”

Wait, we all work out? Did everyone in the world get a free gym membership and not tell me? Heck i dont even work out at home! i’m afraid we all dont work out … thats one problem with us.

this article apparently was created to make a drink that was to replace Gatorade … i thought Gatorade was good for you … until i did some research ..although it is good for you ..but only in extreme re-hydration such as sports when you need to be re-hydrated, or when you are sick.

but anyways i did find this and i want to try it out some time.
Continue reading

so I watched the debate…

and i still dont want to vote for either of these guys .. so its up in the air about who im voting for.

i think Matt put it the best over at bgwillers.com

In the end, on one hand I feel I wasted my time…while on the other, I feel I was somewhat obligated to at least observe and digest some information on the future leaders of this country. Neither has earned my vote, however. I still intend to write-in this election.

wide awake at 1am..

it is apparently that time of year again where my allergies go into full swing then i cant sleep regardless the meds im taking so i sit up wide awake into the wee hours of the morning praying for sleep to come. so over the next few days if im really cranky … its not my fault and i apologize now for anything i might do to piss you off.

but in the mean time ill be making some rather unimportant nerd post as you have already seen ive post a couple of tutorials for Ubuntu. since apparently finding simple how to’s on this subject matter have been scarce, so ive created some to post out on the interwebz hopefully they come in handy.

oh new desktop time …in the spirit of fall – I know lame default PS brush .. sue me!

auto mounting drives in ubuntu (Hardy)

NOTE:apparently i cant write a tutorial … so i changed it abit
1: Open up Terminal (Applications – Accessories – Terminal) and type the following:

sudo fdisk -l (this is a lower case “L”)

you will be asked for the root password (password you chose at setup) and will be presented with a list that looks similar to this I have more than one extra drive to mount so my output is different:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x71dca7a4

Device Boot Start End Blocks Id System
/dev/sda1 * 1 60802 488384512 7 HPFS/NTFS

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x007e007e

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 26485 212738872 7 HPFS/NTFS
/dev/sdb2 26486 30401 31455270 5 Extended
/dev/sdb5 26486 30234 30113811 83 Linux
/dev/sdb6 30235 30401 1341396 82 Linux swap / Solaris

this tells us that the drives are 500gb and 2500GB and are located at /dev/sda1 and /dev/sdb1, you will need to remember the location of the drives.

Continue reading

easily setup a webserver on ubuntu (hardy)

Install apache2 using apt-get by typing the following

sudo apt-get install apache2

Note that you should know the root password.
Now everything should be downloaded and installed automatically.
To start/stop apache2 write:

sudo /etc/init.d/apache2 start
sudo /etc/init.d/apache2 stop

Your www folder should be in: /var/www/

If everything is working you should see an ordinary HTML page with “it works” when you type: http://localhost in your browser

lets conquer PHP:
Continue reading