Friday, 11 June 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

Sunday, 6 June 2010

Amarok won't play audio files on Ubuntu 10.04

sudo apt-get install libxine1-ffmpeg

after install this package restart Amarok

Thursday, 6 May 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 unprotected.ps

ps2pdf unprotected.ps unprotected.pdf

Wednesday, 17 February 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

Monday, 15 February 2010

Share Internet between Ubuntu and VmWare Windows

On my Ubuntu 9.10 I use Vmware Server 1.09, I use that 'NAT' setting under the Ethernet option in the virtual machine settings. That means that the guest operating system uses the same IP address etc as the host.
It's working.

Saturday, 13 February 2010

How to view Quicktime videos

Download and install ubuntu-restricted-extras.

Code:

sudo apt-get install ubuntu-restricted-extras

Saturday, 12 December 2009

Uninstall netbeans 6.5.1

My NetBeans 6.5 was in /home/my_username/netbeans-6.5.1

cd ~/netbeans-6.5.1

./uninstall.sh

Installing Minikube on Ubuntu 22.04 LTS