Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Tuesday, May 19, 2009

Using CAT for concatenating files broken down via HJSplit

My friend Bu wanted to share with me a large 3GP file. However, attaching large files in email is limited (20MB or so in Gmail), so we needed to split the files. I have been using WinRAR to split files, but he is using HJSplit.

Oh, and I'm on Ubuntu.

I tried to look for an HJSplit equivalent for ubuntu, but I can't find anything useful. Somewhere, I've read that if the files are not compressed when split, you can use CAT to recombine them.

Here is the syntax:

Saturday, February 21, 2009

Postfix + GMail + Ubuntu 8.04 LTS

Finally, I was able to create a prototype mailer using Ubuntu and Postfix. The mailer will be used to send server status reports.

I've been working on this project since last year and I thought, maybe DilNET is blocking the ports that I need. After our Bayantel line was installed, Postfix can now deliver messages.

Here are the guides that I used to successfully create a simple postfix mailer.

The Prancing Tarantula - Guide to Getting Postfix to work on Ubuntu with Gmail by Mattox Beckman

His step-by-step instruction was clear and direct. If you just need to send a few automated emails using Gmail, this is a must-read.

Soup to Nuts - Gmail on Home Linux box using Postfix and Fetchmail by Mike Chirico

This is a more comprehensive guide for setting up a full blown mail server.

With these two guides, making your first email server will be a lot easier. Thanks Mattox and Mike!

For further reading:
http://www.akadia.com/services/postfix_mta.html

Friday, February 20, 2009

How to find motherboard model in Ubuntu Linux

I've been very dependent on CPU-Z when I need to check the motherboard model of a PC. However, since I've been using Ubuntu lately, this is now a problem. I needed to get my motherboard model without opening my casing and voiding the warranty.

Here is the command to show the motherboard model in Ubuntu.

Monday, February 2, 2009

Ubuntu smbmount error

screenshot of smbmount error in Ubuntu
smbmount error in ubuntu
Sumakit ulo ko dito, saka ko na explain. Basta nagloko smbmount.

Sometimes, smbmount fails. Your mounted directory doesnt show up in file explorer but it shows up in terminal (through command ls -ltu). However, its permissions change to d?????????. Quite irritating.

The solution to this is to unmount it with command

sudo umount -l

That is small letter L, not number 1

What does -l mean? From man umount,

-l Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. (Requires kernel 2.4.11 or later.)

Laziness wins for now.

Enable 3D in Chess - Ubuntu 8.10 Intrepid Ibex

Ever seen the following error when you try to enable the 3D view in chess?

No Python OpenGl Support
No Python GTKGLExt Support



screenshot of ubuntu chess before enabling 3D
Before enabling 3D

Here are the instructions on how to enable 3D in Chess for Ubuntu 8.10.

1. Open Terminal, then enter the following command

sudo apt-get install python-opengl libgtkglext1 python-gtkglext1
Your chess game should now look like this:

screenshot of ubuntu chess after enabling 3D
After enabling 3D

Have fun!



Saturday, January 31, 2009

Ubuntu 8.10 Security Notice

Ubuntu Security Notice - linux vulnerabilities (USN-715-1)

http://net-security.org/advisory.php?id=9701
Use the Main Server when you're going to update your system. My current software source still doesn't have the necessary updates for this vulnerabilities, thus I reverted to the Main Server.

To change the software sources, follow this steps:

1. Click on System

2. Choose Administration > Software Sources

3. Click on the Download From, then choose Main Server



You should now be able to update your system.


If you have VirtualBox installed, it will not load. You must run the following command to make it work again.

sudo /etc/init.d/vboxdrv setup

Thats it! ^_^

Monday, January 26, 2009

How to Enable USB in VirtualBox in Ubuntu 8.10

Here is a guide for enabling the USB support in VirtualBox in Ubuntu.

1. Open fstab

sudo nano /etc/fstab

2. Add the following at the end of the file

# usbfs
none /proc/bus/usb usbfs devgid=46,devmode=664 0 0

Mine looked like this



3. restart Ubuntu

Friday, January 23, 2009

Install Skype 2.0 in Ubuntu 8.10 Intrepid Ibex

1.Add Medibuntu repository to your sources.list:

sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list

2.Add the GPG Key:

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

3. Lastly, install Skype 2.0:

sudo apt-get install skype

Tuesday, January 6, 2009

How to install Google Earth in Ubuntu 8.10

1. Open Terminal
[Applications] > [Accessories] > Terminal

2. enter the following in the terminal prompt
wget http://dl.google.com/earth/client/current/GoogleEarthLinux.bin
This command will download the binary file for google earth.


3. enter the next command
sh GoogleEarthLinux.bin

A popup box will prompt you for the installation directory. Click Next and the installer will then proceed to install google earth.


Related Posts Plugin for WordPress, Blogger...