sobota, 24 sierpnia 2013

ubuntu 13.04 and problem with installation vmware-tools-distrib

first of all install linux-headers
sudo apt-get install linux-headers-$|(uname -r)
before installing vmware tools on ubuntu 13.04 run following command
sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h

piątek, 3 maja 2013

How unistall Uninstall VMware Player from ubuntu

Use ubuntu terminal, and enter your password when prompted: sudo vmware-installer -u vmware-player

niedziela, 20 marca 2011

How-To Clone or Copy a VirtualBox Virtual Disk

With VMWare’s copying a virtual disk is easy: copy the disk in Windows Explorer and add it to a new VM; VMWare will detect that the disk was a copy and create a new unique identifier (UUID) for the disk before adding it to the VM. VirtualBox in this case isnt's so easy.

With VirtualBox, copying a virtual disk is a bit of a pain. If you copy the disk in Windows Explorer and try and use it in a new VM, VirtualBox will have a hissy fit and display the error shown below. A bit of a ‘wordy’ way to say that it already knows about this disk, don’t you think?

The VBoxManage tool will clone the disk for you, creating a new UUID in the process:

VBoxManage clonevdi source destination

piątek, 11 czerwca 2010

Completely reset an Apache instance in Ubuntu

After start and stop apache:

.: 44: Can't open /etc/apache2/envvars

Find and drop all Apache packages:

sudo dpkg --get-selections | grep apache

sudo apt-get remove --purge apache2 apache2-mpm-worker apache2-threaded-dev apache2-utils apache2.2-common libapache2-mod-python libapache2-mod-python-doc libapache2-mod-wsgi

reinstall apache:

sudo apt-get install apache2 libapache2-mod-python libapache2-mod-wsgi libapache2-mod-python-doc

niedziela, 6 czerwca 2010

Amarok won't play audio files on Ubuntu 10.04

sudo apt-get install libxine1-ffmpeg

after install this package restart Amarok

czwartek, 6 maja 2010

Print protected pdf

Convert the pdf to a postscript file and the postscript file to a pdf.
Open the new pdf for example with Acrobat Reader and you can print.

pdf2ps protected.pdf

ps2pdf unprotected.pdf

środa, 17 lutego 2010

How format pendrive with fat32 File System

1. Clean (remove everything) your device with fdisk.
sudo fdisk -l

2. Create a fat32 FS:
mkfs -t vfat /dev/sda