See https://help.ubuntu.com/community/UFW ufw
How to remove "Permission denied" with find
Add
2>&1 | grep -v "Permission denied"
after the normal find. Eg.
find / -name domain.xml 2>&1 | grep -v "Permission denied"
0 comments Filed Under: Linux, Ubuntu
Stop service from starting automatic
I don't want mysql-db to start with the machine.
sudo update-rc.d mysql disable
did the trick.
0 comments Filed Under: MySQL, Ubuntu
How to setup Scanner Medion [MD 9458] on Ubuntu
Copy ePlus2k.usb to /usr/share/sane/gt68xx
Change /etc/sane.d/gt68xx.conf Eg. sudo gedit /etc/sane.d/gt68xx.conf
. . . ################################################## ############################ # Autodetect Mustek BearPaw 1200 CU, 2400 CU, Mustek ScanExpress 1200 UB Plus, # Artec Ultima 2000, and several other GT-6801-based scanners usb 0x05d8 0x4002 # Medion/Lifetec/Tevion/Cytron MD 9458: override "artec-ultima-2000" vendor "Medion" model "MD 9458" firmware "ePlus2k.usb" # Mustek BearPaw 1200 CU doesn't need any manual override . . .
To edit PDFs: http://www.accesspdf.com/pdftk/
0 comments Filed Under: PDF, Scanner, Ubuntu
How to change MAC
sudo ifconfig eth0 down sudo ifconfig eth0 hw ether NE:W0:MA:C0:00:00 sudo ifconfig eth0 up
0 comments Filed Under: Ubuntu
Make mms stream work with firefox on ubuntu
sudo apt-get install mozilla-plugin-vlc
Type about:config i firefox:
Add new String
network.protocol-handler.app.mmswith value
/usr/bin/vlc
Add new Boolean
network.protocol-handler.external.mmswith value
true
3 comments Filed Under: Firefox, Ubuntu
Cisco VPN from Ubuntu
Used sudo apt-get install network-manager-vpnc but got problems with the group password.
Then used: cisco vpnclient password decoder this site - perfect. :)
0 comments Filed Under: Ubuntu, VPN
Upgrade Openoffice in Ubuntu
sudo vi /etc/apt/sources.list
Add:
deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
deb-src http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
then do an update:
sudo apt-get update
sudo apt-get install openoffice.org
0 comments Filed Under: OpenOffice, Ubuntu
How to make Hotmail work in Firefox under Ubuntu
Write about:config in browser and change the value in general.useragent.vendor from Ubuntu to Firefox
0 comments Filed Under: Firefox, Hotmail, Ubuntu
To enable java in firefox running ubuntu
cd /usr/lib/firefox-3.0.3/plugins sudo ln -s /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so
0 comments Filed Under: Firefox, Ubuntu
Virtualbox stopping at spawning session 0%
Trying to start Virtualbox I got this: spawning session 0% and it never grows.
sudo /etc/init.d/vboxdrv setup
Fixed it.
0 comments Filed Under: Linux, Ubuntu, Virtualbox
How to make Citrix Client run on Linux
First need a Client witch can be found here: Linux ICA Clients
Unzip and run setupwfc. I selected /usr/lib/ICAClient as install dir.
If getting the fowling error: You have not chosen to trust “Thawte Server CA”, the issuer of the server’s security cerfiticate (SSL error 61) you need to copy the certificates to the client E.g.
sudo cp /usr/share/ca-certificates/mozilla/* /usr/lib/ICAClient/linuxx86/keystore/cacerts/
0 comments Filed Under: Citrix, Linux, Ubuntu
Install, Uninstall, Remove and reinstall apache2
To see which is installed:
dpkg -l | grep apache
To install apache2 on ubuntu:
sudo apt-get install apache2 apache2.2-common
To remove
sudo apt-get remove apache2 apache2.2-common --purge
apt-get -o DPkg::Options::="--force-confmiss" --reinstall install apache2.2-common
0 comments Filed Under: Apache, Ubuntu
Change spell check in Pidgin
To see installed dictionaries:
sudo aspell dicts sudo apt-get install aspell-da
Create file
.aspell.conf in home dir with following linemaster da
Restart pidgin.
1 comments Filed Under: Pidgin, Ubuntu
Mount NAS to Linux
apt-get install smbfs
sudo smbmount //192.168.3.10/media /home/kim/nas -o username=kim,password=pass,uid=1000,mask=000
0 comments Filed Under: Ubuntu
Mount windows drive in Ubuntu
sudo fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x91f391f3
Device Boot Start End Blocks Id System
/dev/sda1 * 1 7153 57456441 7 HPFS/NTFS
/dev/sda2 7154 14593 59761800 5 Extended
/dev/sda5 7154 14284 57279726 83 Linux
/dev/sda6 14285 14593 2482011 82 Linux swap / Solaris
cd /mnt/
sudo mkdir windrive
sudo mount -t ntfs /dev/sda1 /mnt/windrive -o "umask=022″
1 comments Filed Under: Linux, Ubuntu
Enable .htaccess in apache2
Go to /etc/apache2/sites-available
sudo vi default
Change 'AllowOverride None' to 'AllowOverride All'
and restart:
sudo /etc/init.d/apache2 restart
Note: Should be done by:
add new entry in /etc/apache2/sites-available and
Add by:
sudo a2ensite [name] // Means that there will be a new link in /etc/apache2/sites-enabled
Remove by:
sudo a2dissite [name]
0 comments Filed Under: Apache, Linux, Ubuntu