Xi6.org

Tag: linux/ubuntu

How To install Zend Ioncube Loader PHP Ubuntu Linux

by on Feb.20, 2009, under linux/ubuntu

Download the current tarbal for your architecture. (Mine is x86_64) Choose your’s accordingly.

wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

next extract it

tar -zxvf ioncube_loaders_lin_x86-64.tar.gz

move the loader you need or just extract the whole dir to whatever location

sudo mv -R ioncube/ /usr/local/lib/

Edit your php ini file and add the following line:

sudo nano /etc/php5/apache2/php.ini

zend_extension=”/usr/local/lib/ioncube/ioncube_loader_lin_x.x.so”

restart apache

sudo /etc/init.d/apache restart

(or)

sudo apache2ctl restart

2 Comments :, , , more...

Change Computer Name / Host Name Ubuntu Linux (8.10)

by on Feb.19, 2009, under linux/ubuntu

If you want to change the computer name of your linux box, it’s quite simple. Use the following commands to ensure the name is changed.

sudo nano /etc/hostname

And then make sure your hosts file is updated with the new name as well

sudo nano /etc/hosts

I typically use nano (pico) because to me it seems more user friendly and intutive. You may use vi or any such editor you wish.

2 Comments :, , , , , more...

How To Connect To a VPN using Ubuntu Linux (8.10)

by on Feb.19, 2009, under linux/ubuntu

In order to connect to a VPN you need a few things. Firstly you’ll need to install a VPN client. (Openvpn being my choice).

sudo apt-get install network-manager-openvpn

Then on the network icon on your task bar, right click and select “edit connections”.

Clicking on the VPN tab should now show the add/import buttons available. Click either depending on the files you were given by your system administrator (or whomever). Enter all your settings and select all the key locations and click OK when done.

Close the network connections box and then you are able to left click on the network icon on the taskbar, going to “VPN Connections” and selecing the VPN you just created. (A little lock will show up with a swirly thing going around your icon!).

2 Comments :, , , more...

Ubuntu Create an ISO image using the command line.

by on Oct.08, 2008, under linux/ubuntu

Ubuntu Create an ISO image using the command line.

If you’re like me, you have a server or other system which doesn’t have an X system for various reasons. But you want to use all the hardware and create ISO’s or burn dvd’s from the command line for backups or what have you.

In order to copy a data disk or directory I use the following

dd if=/input/file of=outputfile.iso

Ripping dvd’s

mkisofs -dvd-video -o /home/dir/myiso.iso /media/dvdrom
growisofs -dvd-compat -Z /dev/dvd=myiso.iso

Comments Off :, , , , more...

Ubuntu Linux – disable PC speaker beep.

by on Aug.02, 2008, under linux/ubuntu

Removing the PC Speaker beep on Ubuntu, Debian or other Unix systems.

You can easily blacklist the pc speaker with the following commands.

rmmod pcspkr

open /etc/modprobe.d/blacklist and add the following line

blacklist pcspkr

to re-enable the pc speaker

modprobe pcspkr

Comments Off :, , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...