Tuesday, December 21, 2010

sK1 vector graphics editor Installation

sK1 is an open source vector graphics editor similar to CorelDRAW, Adobe Illustrator, or Freehand. First of all sK1 is oriented for "prepress ready" PostScript & PDF output.

for updated source copy click here.

Now for the installation...
Prerequisites:
1. Install the ff:
  • Python2.6-dev
  • liblcms
  • libxcursor-dev
  • tcl 8.5 & dev
  • tk 8.5 & dev
2. Install the sK1 library
  • sk1libs
  • sk1sdk
Either directly compile and install them or build a .deb file. See the README on the commands on how to compile them.

3. Install sK1
Either directly compile and install them or build a .deb file. See the README on the commands on how to compile.

Install Python 2.6 on Ubuntu 8.04 LTS

Add to /etc/apt/sources.list

deb http://ppa.launchpad.net/python-dev/ppa/ubuntu hardy main
deb-srchttp://ppa.launchpad.net/python-dev/ppa/ubuntu hardy main

Import the pub key sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D81367B9


Install python2.6sudo apt-get install python2.6

(ext. source: Irimia'S Blog) 

Saturday, November 6, 2010

My Stargate name!!!

While browsing the net I found Stargate Wiki and got a name meaning...

Ramir

  Edit
Read more: Asgard technology
Ramir, or Goa'uld weapon disabler, is a type of technology of Asgard design.
It appears as a circular piece of equipment that emits an energy field around itself that disrupts the flow of power between Naquadah and the technology it energises. As such, all forms of Goa'uld technology are incapable of functioning while a Ramir is present.(RPG: "Fantastic Frontiers: Stargate Season One")
On Cimmeria, an underground cavern where Thor's Hammer transported Goa'uld and their servants into was filled with Goa'uld weapon disabler which overlapped with one another to create a large bubble where Goa'uld technology was incapable of functioning. (SG1: "Thor's Hammer")

Just happy to found one! Cheers!

Wednesday, February 24, 2010

How to upgrade Open Office in Ubuntu

here's the external link

Prevent users from logging into your system using SSH

Preventing access to the SSH server:

The best and most secure practice of running an SSH server is to tighten the hatches as much as possible. In this example, I will show you how to edit your sshd_config file and allow only certain users (except “joe”) to access the system via SSH. Now, lets say that you want to prevent the user “joe” from logging into SSH, but you still want him to be able to access the machine via FTP. Here is what you would do:

Edit /etc/ssh/sshd_config
Ex: vim /etc/ssh/sshd

Add a line that says AllowUsers
Ex: AllowUsers adamk tim sean jacob dave

Note that joe is not included here.
Save the sshd_config file.
Restart your sshd daemon.

Another (quick) way to do this in one simple command is:
echo “AllowUsers adamk tim sean jacob dave” >> /etc/sshd/sshd_config

Wednesday, February 17, 2010

how to regenerate expired snakeoil certificate

It's been a while. Just stumbled on an error from my test email server where the certificate on my imap snakeoil certificate being expired so I search an info how to update my certificate and here's how...



sudo make-ssl-cert generate-default-snakeoil --force-overwrite

and that's it!

Thursday, July 9, 2009

How to create a BartPE utility on a USB Disk

In this blog I posted the things that I used that I think is necessary for simplicity of use.

1. Prerequisites:

All you need is:
> a USB Flash Drive with at least 1GB of storage or an external HDD*
> the original Windows XP Setup CD
> BartPE program creator

2. Preparing BartPE
> use PEbuilder and build the file only not an ISO
> while the file is being processed let,s go to the usb drive. NOTE: Make sure you have no important files on the usb drive for it's content is to be erased!
> let's use the HP format tool button to format the usb drive.
> on the HP format tool only use fat32 filesystem or the system will not boot.
> when the build is finished copy all the files to the newly formatted usb drive
> rename i386 directory to minint
> copy setupldr.bin and ntdetect.com from the renamed i386 directory to root directory or you can download all the boot files from here
> rename setupldr.bin to ntldr
> create a boot.ini file containing the ff:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\minint
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\minint="XPE" /fastdetect

3. Making it bootable
> we'll gonna use the bootfiles in the Vista installer (so better have one)
> use diskpart to make the partition active (see my other posts regarding diskpart)
> then use bootsect.exe in the vista installer.
ex: bootsect /nt52 d:
> after seeing that there is no error on the updating of the bootcode it should be bootable now.

note:
* not all HDD can be used as a bootable drive