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

11/23/2010

[linux] Split it out

Ever wondered how to transfer a huge file across network without having to worry about disconnection in the middle of the transfer?

How about splitting it into pieces and transfer it piece by piece, that way you won't worry about your connection getting cut off all of a sudden. Then after you have transferred all the pieces, just put it back all together again.

Here's an example

You have a large file about 100mb that needs to be transferred to the other side of the globe

let's split it into 15m each until the size is consumed, by default the prefix of the file is x followed by some letters

to make the file pieces more descriptive let's specify a prefix

we can have numeric suffixes too

to restore the file, we use cat for this job
simple and easy :)

11/14/2010

Linux Mint 10 ‘Julia' Is Now Official

The Linux Mint team announced today that the final release of version 10 of the free and open source operating system, dubbed "Julia," is now officially available.

Launched in 2006, Linux Mint has quickly become the third most popular Linux distribution out there behind only Ubuntu and Fedora, and version 10 makes it easy to see why. Based on Ubuntu 10.10, or Maverick Meerkat, Julia offers numerous enhancements that put it at the forefront of usability.

Read more

11/12/2010

Running VMWare Workstation 7.1 on Ubuntu 10.10

Installing VMWare Workstation 7.1 on Ubuntu 10.10 works fine but when running it for the first time it will fail, tracing the logs you will see these lines

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.35-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c:2004: warning: ‘newUpBase’ may be used uninitialized in this function
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_SetupMMU’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:156: error: implicit declaration of function ‘iommu_map_range’
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_VMCleanup’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:403: error: implicit declaration of function ‘iommu_unmap_range’
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'

I found a fix to this problem, thanks to chantra of Debuntu

First, download the patch
wget http://www.debuntu.org/sites/www.debuntu.org/files/vmware-7.1-ubuntu10.10-patch-v2.tar_.gz

Extract and run it as root
tar -xzvf vmware-7.1-ubuntu10.10-patch.tar.gz
cd vmware-7.1-ubuntu10.10-patch
sudo ./apply_patch.sh

Then run VMWare again, the modules should compile this time.

10/25/2010

[ubuntu] A Peek At Ubuntu's New Touch Support

While there's still no official word on which PC manufacturers will produce a Ubuntu touch netbook, the company released a sneak-peak video that shows it's new Netbook Edition Unity interface and gesture library in action.

Read More

---
PC manufacturers will embrace Ubuntu touch because it will cost less than it's predecessor OS :)

10/22/2010

[linux] It's TOP and more

I've been using top for checking processes for CPU and memory usage but there's even more user-friendly way to check it. Here comes htop.

htop is an interactive process viewer that is similiar to top but more, it's interactive, easier to understand and it has graphs.


To install on debian/ubuntu
sudo apt-get install htop
To install on CentOS/Fedora
yum install htop

10/21/2010

[ubuntu] Use wicd instead of network-manager

Tired of entering your password every time Network Manager connects to a wireless/wired device on first boot?

Replace it with wicd :D
sudo apt-get install wicd

Then remove Network Manager
sudo apt-get remove network-manager

Restart your system and you're done.