DAMZIE.net – The Geeky Things

Just another BS

Archive for the ‘Tutorials’ Category

Monday
Jan 25,2010

I recently come across with a problem on Windows Vista. When Vista is started the login screen didn’t
come out and the background was all black and only with a moving mouse pointer. When I went to Safe Mode it
works perfectly fine.

It happens that the logs in the Event Viewer corrupted. So to fix this problem you do this:

1. Insert Windows Vista DVD and go to repair your computer.
2. Select your OS and hit NEXT
3. Click open Command Prompt
4. You are now on X:\Sources so now we go to the C drive by typing

C:

5. Go to the Windows event log folder by typing

cd C:\Windows\System32\winevt

6. Type

ren Logs Logs_old

7. Type

mkdir Logs

8. Restart your Windows Vista

Hope that works! :P

Wednesday
Oct 21,2009

After upgrading my Ubuntu box I find that everytime I boot up I see alot of items on my GRUB list.

So I decided to delete the useless ones.

So just so that I wont forget next time here’s how I did it:

Hit ALT+F2 then type the following & run:

gksu gedit /boot/grub/menu.lst

Scroll down to the bottom of the page. Select & delete the ones you dont want.

Here’s a screenshot of my case:

Screenshot-menu.lst (-boot-grub) - gedit-1

(If you cant see the image then click to view larger size)

I deleted the ones that I have selected (highlighted) & “Save” the file.

Reboot & there you go. All those useless items are gone!

Tuesday
Oct 20,2009

I finally decided to upgrade my 8.04 (Hardy Heron) to 9.04 (Jaunty Jackalope)

It’s AWESOME!! I love Ubuntu & I love linux OS! I can really feel the huge difference on 9.04 compared to 8.04.

Here’s a tutorial on How-To Upgrade to your latest Ubuntu distribution, in my case Ubuntu 9.04 using Torrent.

The first thing I did was:

Go to http://www.ubuntu.com/getubuntu/downloadmirrors#alternate

Then, I download:

ubuntu-x.xx-alternate-i386.iso.torrent

* I assume that you are on i386 platform.

Since I do not want to waste my CD/DVD, i mounted the ISO file directly from terminal by typing:

sudo mount -o loop /location/of/ubuntu-x.xx-alternate-1386.iso /media/cdrom0

And then from terminal, I typed the following:

gksu sh /cdrom0/cdromupgrade

Lasty, we wait untill all the updating & installing is completed, restart your computer and there you go. Full upgrade yo!

Here’s a screenshot of my desktop:

Screenshot-9.04

Ubuntu 9.04 (Jaunty Jackalope)

Monday
Sep 29,2008

As I was installing the latest Wordpress on my localhost, I found out that my mod_rewrite wasn’t working properly. So What I did was first I typed:

sudo apache2ctl -l

To know if this module is already loaded. Turns out it’s not, so what I did after that was I typed in:

a2enmod rewrite

To enable the mod_rewrite module. So i tested accessing my localhost link and it didn’t work. I checked back by typing the first command line and it says that the module isn’t enabled yet. So what I did next was I typed in:

Know Thy Enemy full movie

sudo gedit /etc/apache2/sites-available/default

Then I looked for AllowOverRide and change it from None to All

I restarted Apache2 by typing:

sudo /etc/init.d/apache2 restart

And everything works perfectly fine! My mod_rewrite is working!

HOW TO: Vista Telnet

Wednesday
Aug 6,2008

I recently come across this troublesome situation where I cant access telnet from Command Prompt.

So here’s how it’s done.

  • Start > Computer then click ‘Uninstall or change a program’ on the top button bar.
  • Click ‘Turn Windows features on or off’ on the left side panel and click ‘Continue’
  • Scroll down and tick ‘Telnet Client’ & click ‘OK’

Done. That simple huh?