poniedziałek, 16 stycznia 2017

Install Oracle Java(TM) SE Runtime Environment (build 1.8.0_111-b14)

1. Remove OpenJdk
sudo apt-get purge openjdk*

2. Add repository from terminal
sudo add-apt-repository ppa:webupd8team/java

3. Update list packages
sudo apt-get update

4. Install package
sudo apt-get install oracle-java8-installer

5. Enjoy java version (1.8.0_111-b14)
java - version

poniedziałek, 17 listopada 2014

Failed to find /lib/modules/3.13.0-39-generic/build/include/linux/version.h vmware-player on ubuntu 14.04

Problem with built vmware modules:

1. sudo apt-get install build-essential linux-headers-$(uname -r)

2. 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

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

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