me looking so small in this world

30 2006f November, 2006

prevent image hot-linking

Filed under: apache, htaccess — rudyegenias @ 10:44 am

 RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?your-domain.com/.*$ [NC]
RewriteRule .(gif|jpg)$ – [F]

Preventing hot linking of images in pages.

src:  http://www.bloghash.com/2006/11/beginners-guide-to-htaccess-file-with-examples/

16 2006f November, 2006

create virtual machine free using easyvmx.com

Filed under: bayanihan linux, virtualization — rudyegenias @ 10:22 am

As I have said in my previous example of creating a virtual machine for Bayanihan Linux Server 2006: creating virtual machines for testing is quite easy but it is also much easier if you let easyvmx.com do it for you.

First it has option for:

  1. Easy Vmx
  2.  Simple
  3. Expert with all of it’s option included.

At the end of the creation you will be prompted with the created .vmx file also a download link for the needed vmx files to use for your virtual machine..

It’s so easy as easyvmx.com. Try it here.

11 2006f November, 2006

accessing virtual host from another machine on a local network

Filed under: apache, centos4, virtual host — rudyegenias @ 3:57 pm

So you have configured so many virtual host in your server machine and it’s readily available on the network. How then you’d access it?

In windows XP edit your hosts file. There is this tutorial to edit hosts file in windows xp.

In CentOS it’s located at directory

/etc/

Edit it using your favorite text editor.

At the last part of it enter the following

xxx.xxx.xxx.xxx space nameofvirtualhost

where xxx.xxx.xxx.xxx is the ip of the server configured to host the virtual host.

Enjoy.

9 2006f November, 2006

my first dip in virtualization (virtual machine) using Bayanihan linux server

Filed under: linux, virtualization — rudyegenias @ 1:11 pm

This post can also be named: install any operating system as a virtual machine.

Tools:

  1. qemu-img.exe – from Fabrice Bellard
  2. vmplayer – vmware.com
  3. iso file of operating system you want to install – bayanihan linux server in my case.

Links:

  1. http://www.consolevision.com/members/dcgrendel/vmx… – .vmx file creator
  2. http://fabrice.bellard.free.fr/qemu/

Steps:

  1. Create a pseudo hard disk drive using qemu-image.exe. If you have installed it on program files folder then the command should look like

    c:\program files\Qemu\qemu-img.exe create blserver.vmdk 2G

    That would create a 2 gigabytes of hard disk drive data.Found in a website by John Bokma is a tutorialthat lets you run windows xp on an xp based system :D

  2. You can place the blserver.vmdk in any place you like. I have put mine in c:\blserver directory
  3. Goto link #1 to create your vmx file. Here’s mine. config.version = “8″
    virtualHW.version = “3″
    ide0:0.present = “TRUE”
    ide0:0.filename = “blserver.vmdk”
    memsize = “256″
    MemAllowAutoScaleDown = “FALSE”
    ide1:0.present = “TRUE”
    ide1:0.fileName = “bls2k6.iso”
    ide1:0.deviceType = “cdrom-image”
    ide1:0.autodetect = “TRUE”
    floppy0.present = “FALSE”
    ethernet0.present = “TRUE”
    usb.present = “TRUE”
    sound.present = “TRUE”
    sound.virtualDev = “es1371″
    displayName = “Bayanihan Linux Server”
    guestOS = “linux”
    nvram = “blserver.nvram”
    MemTrimRate = “-1″ ide0:0.redo = “”
    ethernet0.addressType = “generated”
    uuid.location = “56 4d d8 d7 29 7a 76 18-d9 60 ec 44 af 20 1c 13″
    uuid.bios = “56 4d d8 d7 29 7a 76 18-d9 60 ec 44 af 20 1c 13″
    ethernet0.generatedAddress = “00:0c:29:20:1c:13″
    ethernet0.generatedAddressOffset = “0″

    tools.syncTime = “TRUE”
    ide1:0.startConnected = “TRUE”

    uuid.action = “create”

    checkpoint.vmState = “”

  4. Please set your memsize less than your actual physical memory size. For reasons you might have known by now.
  5. Install vmplayer now. You could do this step earlier than this.
  6. Double click the .vmx file that you have created. I have late captured the screen. Figure #1 shows initialization after the installation of the server. (by this time im taking some capture onthe system itself)
  7. Proceed with the installation.

figure #1

bl server booting:

figure #2

bl server login:

figure #3:

inside bl server

Projects:

Install fedora core 6’s 5 cds using above instruction but using:

ide1:0.present = “TRUE”
ide1:0.fileName = “fc6disk1.iso”
ide1:0.deviceType = “cdrom-image”
ide2:0.present = “TRUE”
ide2:0.fileName = “fc6disk2.iso”
ide2:0.deviceType = “cdrom-image”

— etc.

Don’t know if it’ll work though.. If you do experiment and it worked please email me rudy @ egenias dot info

slackware virtual machine

Filed under: linux, virtualization — rudyegenias @ 9:15 am

Hey guys, want to try out slackware and you don’t just have the spare hdd to do that? try this one.

http://vmwhere.net/

And if you need the necessary tools, kindly see my other post on virtualization.

Don’t forget to comment on my post if you have made milestones. :D

8 2006f November, 2006

notable security blogs in php and mysql

Filed under: php — rudyegenias @ 4:10 pm

Been an avid fan of Chris’ blog at shiflett.org here is one of my favorite.

http://shiflett.org/archive/255

http://egenias.info

Filed under: woes — rudyegenias @ 8:40 am

Seen this link from http://marvinsweb.net to enroll a dot info account for PhP150. (Don’t have enough money so the lesser price tops my priority list). Then thought I might as well register one for myself… my own domain.

My old host http://pinoywebhosting.net would not reconfigure my hosting towards this new domain unless I have paid the renewal fee. Which of course other hosting companies would likely configure since it’ll take this only minutes to change. But luckily that was the verdict, which of course for being a rebel on business persons and proprietarism, that I didn’t gave way for.

I still have my web host now and don’t plan to give it another year. Have reregistered in another webhost company this time it’s marvinsweb again since having the same domain registration and hosting on the same company would soon prove to be not pain in the f*cking ass. I hope marvinsweb will be my host for years to come. I am also planning to register

http://egenias.info is now parked online(not fully working though).

7 2006f November, 2006

linux is easy – apple nano commercial parody

Filed under: entertainment, linux — rudyegenias @ 12:53 pm

ipod nano commercial parody and shows how linux is so easy.. somewhat.. :) enjoy

 

http://www.swfcollector.com/main.php?p=43

6 2006f November, 2006

Seven deadly sins

Filed under: woes — rudyegenias @ 8:00 am

This morning I took this seven deadly sins test at http://tickle.com to see how I level with the sins.. Here is the result:


Rudy, you’re less sinful than the average person.

Still, your sinful tendencies are running just below the surface and could start to affect your choices in life. For example, if you aren’t careful, your quick temper could ultimately be your downfall. Beware of letting rage take over your life. It can easily mislead you to irreversibly destructive words and actions.
Though you’re less sinful than others, this, and the sins you scored highest on, can still jeopardize the things that are most important to you. Don’t let them.

Blog at WordPress.com.