2011-06-16
64 bit Flash in Ubuntu is still a flakey beta (as of this blog post).
It can be downloaded from adobe labs.
Once downloaded, extract it from the tar.gz - use archive manager or
m@mbx:~$ tar -zxvf flashplayer10_2_p3_64bit_linux_111710.tar.gz
tar will then notify it has dumped
libflashp...
2011-04-30
uninstalls/alterations are managed by the vmware-installer script located in:
/usr/bin/vmware-installer
so to remove vmware workstation for example the command is:
user@mibox:/usr/bin$ sudo vmware-installer -u vmware-workstation...
2011-03-12
Ubuntu startup applications can be accessed via Preferences->Startup Applications (gnome-session-properties in the terminal).
The file location for these from bash is /home/userName/.config/autostart/
If you create an entry that wont allow you to boot into an X session you can go into the...
2009-12-03
Process priorities are set between 20 (lowest) and -19 (highest)
To launch a task with a priority of 5 try: mike@mikebox:~$ sudo nice task 5
If you're laptop is overehating and kacpi_notify is stealing all your CPU power polling the CPU temperature you can use renice to change priority of a runnin...
2008-12-08
finding the java path in ubuntu is easy, just follow the links... most links live in /usr/bin so:
mike@mbox:/$ ls -l /usr/bin/java
lrwxrwxrwx 1 root root 22 2008-12-07 22:16 /usr/bin/java -> /etc/alternatives/java
mike@mbox:/$ ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 40 2008-12-07 2...
2008-11-10
sudo fdisk -l
sudo mount -t ntfs-3g /dev/target /media/target...
2008-08-25
First stop the X Server
This should be done by running sudo gdm stop but ubuntu keeps restarting them
chmod -x /etc/rc3.d/gdm
then drop into init level 3
you must pre-install
sudo apt-get install build-essential linux-headers-$(uname -r)
then sudo sh NVIDIA**.run...
2008-06-19
installing whois on a linux box
# sudo apt-get install jwhois
# yum install jwhois
or
browse to: http://packages.qa.debian.org/j/jwhois.html
find the latest version and
# wget http://ftp.debian.org/debian/pool/main/j/jwhois/jwhois_4.0.orig.tar.gz
tar xf jwhois_4.0.orig.tar.gz...
2008-06-16
If you wish to search for DHCP servers on a network just type:
dhclient [interface]
and it will bring back information on all running DHCP servers on your subnet...
2008-06-10
compile kernel in gentoo
cd /usr/src/linux/
make menuconfig
Linux Kernel v2.6.*-gentoo Configuration
make
make modules_install
cp arch/i386/boot/bzImage /boot/kernal-2.6.*-gentoo...
2008-06-05
If need to browse the world wide web and you are either running in an ssh window or you really hate the whole web 2 thing.. help is at hand
Centos
yum install lynx
Debian
apt-get intall lynx
run lynx then you can view this page like this...
icurtain - lights on the roundab...
2008-06-04
Download the Centos Boot image
Download the Centos DVD image and save it on an NFS enabled share on your lan
Install with Network boot CD
choose to boot: linux text
Choose Manual IPv4
192.168.1.* / 255.255.255.0
192.168.1.*
192.168.1.*
Choose NFS Install
Server:...
2008-04-11
It took a day of playing but it is possible to get Beryl running with the proprietary ATI X700 drivers at a reasonable speed under Ubuntu (on an Acer Aspire 1691wlmi)
The biggest problem is the fact that the X700 chipset along with a bunch of others are black listed by compiz in the config file a...
2008-04-01
#!/usr/bin/perl -w
# 531-byte qrpff-fast, Keith Winstein and Marc Horowitz
# MPEG 2 PS VOB file on stdin -> descrambled output on stdout
# arguments: title key bytes in least to most-significant order
$_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map{$_%16or$t^=$c^=(
$m=(11,10,116...
2008-03-10
If you are backing up Zimbra to a remote NFS file system then you should probably mount it in the fstab r the init.d - bear in mind that if the remote box cannot be found on boot or shutdown the machine will hang for ages before it times out.
#mounts remote file system
#init.d
mount remoteB...
2008-01-10
How to change your gateway in Centos
temporary change:
route del default gw 192.168.1.1
route add default gw 192.168.0.1
pemanent change
cd /etc/sysconfig/
nano network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=centosBox
GATEWAY=192.168.0.1...
2007-12-13
If someone has added something to CVS with incorrect permissions (ie. their own username instead of cvs) then you can do the following
# chown -R cvs templates/ - changes ownership of templates to cvs
# chgrp -R cvs templates/ - changes group ownership of templates to cvs
# chmod -R 0444 * - se...
2007-12-12
Setting the date in linux
# date 121210312007
in the format - DDMMhhmmYYYY
# date
returns: Wed Dec 12 10:31:00 GMT 2007
type to commit to the hardware clock
# hwclock --utc --systohc...
2007-12-10
find [dir] -name '[name]'
# find / -name '*'...
2007-12-07
When using any board that utilises the Nvidia NForce 6100 (MCP61) chipset with Linux you will probably have to add the boot option of noapic as due to all the funky energy saving features on the board the chipset speed is all screwed up and Linux can't interface with any of the board management feat...
2007-12-05
Open source alternatives for common desktop tasks in Windows and Linux
CD Burning Software
InfraRecorder
Archiving and Compression
7-Zip
Desktop Publishing
Scribus
FTP Client
Filezilla
Image Editing
Gimp
Image Editing
InkScape
Office
Open Office
PDF Printer
PDFCre...
2007-12-04
chkconfig --add sshd
chkconfig --level 35 sshd on
/etc/rc.d/init.d/sshd start (just to start it up now)...
2007-12-03
/etc/rc.* contains symbolic links to all start up scripts...
2007-11-26
install package: yum -y install application_name
(gentoo/ubunto)get package: apt-get application_name...
2007-10-22
df (disk free)...
2007-09-25
chown munin:munin /usr/share/munin/plugins*
chmod 0755 /usr/share/munin/plugins*
ln -s --target-directory=/etc/munin/plugins /usr/share/munin/plugins*
iptables -I RH-Firewall-1-INPUT -m state --state NEW -p tcp --destination-port 55 -j ACCEPT
iptables -nvL...
2007-09-20
cd /etc/samba/
nano samba.conf
# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the Samba-HOWTO-Collection for details.
security = SHARE
# DNS Proxy - tells Samba whether...
2007-09-17
export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/...
2007-09-17
to install SSH on ubuntu type:
sudo apt-get install openssh-server...
2007-09-14
to make mod jk under debian enter the following command to make sure your compiler environment is working
set up your environment with
apt-get install libtool autoconf gcc apache2-prefork-dev
great.. now we are ready to compile
copy the tomcat source native directory over to the server...
2007-09-14
Following on from the previous article Java should now be located in
/usr/lib/j2re1.6-sun/bin
You will have to set up
JAVA_HOME and JRE_HOME
these can be set in
/etc/environment
add the lines
JAVA_HOME = "/usr/lib/j2re1.6-sun"
export JAVA_HOME
CATALINA_HOME= "/opt/Tomcat5...
2007-09-14
I dont have a clue what im doing with Debian so im sticking it all here in no particular order
for sarge:
add to etc/apt/sources.list
deb http://oss.oracle.com/debian unstable main non-free
deb http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia sarge main
deb ftp://ftp.sunet...
2007-09-10
excluding sub-directories from mod_jk (mod jk) and allowing apache to execute them natively can be done with with SetEnvIf no-jk. simply add the following code to either the httpd.conf or the mod-jk.conf
DocumentRoot /var/www/html/
SetEnvIf Request_URI "/munin/*" no-jk
JkMount /* ajp13...
2007-09-07
in order to allow chkconfig to run a file in etc/init.d or wherever as a start up service the file must have a descriptor header that tells chkconfig what its
run level - startup - shutdown
are - this is set in the following way
#!/bin/sh
#
# chkconfig: 3 87 20
# description: Description...
2007-09-05
to exit it a terminal window and leave spawned process running
eg ./etc/prog/bin/run.sh &
type exit instead of logout
this causes the shell to exit with a status of n. if n is omitted the exit status is that of the last command executed. a trap on EXIT is executed before the shell terminates...
2007-09-04
for simple commands just put them inside:
etc/rc.local
for example
route add default gw 192.168.1.1...
2007-09-04
Linux Redhat - when the network comes up it will try to execute all of the ifcfg* files in ### etc/sysconfig/network-scripts so create a new file ifcfg-eth01 for arguments sake and add:
### /etc/sysconfig/network-scripts/ifcfg-eth0:1
DEVICE=eth0:1
BOOTPROTO=static
IPADDR=192.168.0.1
NETMA...
2007-08-31
Install:
chmod +x jdk-6u2-linux-i586-rpm.bin
./jdk-6u2-linux-i586-rpm.bin
Follow prompts [yes]/[no] etc
If it gives the error message
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Then you have to download...
2007-08-31
ifconfig is the linux equivilent of ipconfig and will give you your ipaddress and network details :)
to edit it in red hat go into /etc/sysconfig/network-scripts/ifcfg-eth0 (where 0 is the interface u want to change) and append as desired. then from the command line:
service network [start,stop,re...