64 bit Flash in Ubuntu


2011-06-16 Digg! icurtain Delcious icurtain
64 bit Flash in Ubuntu
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...

Uninstall VMWare Workstation 7 in Linux


2011-04-30 Digg! icurtain Delcious icurtain
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...

Ubuntu 10.x Startup Applications location for user scripts


2011-03-12 Digg! icurtain Delcious icurtain
Ubuntu 10 x Startup Applications location for user scripts
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...

change linux process priority with nice and renice


2009-12-03 Digg! icurtain Delcious icurtain
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...

find java path in ubuntu


2008-12-08 Digg! icurtain Delcious icurtain
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...

mounting external discs


2008-11-10 Digg! icurtain Delcious icurtain
sudo fdisk -l sudo mount -t ntfs-3g /dev/target /media/target...

Install Nvidia Drivers on Ubuntu


2008-08-25 Digg! icurtain Delcious icurtain
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...

whois on linux


2008-06-19 Digg! icurtain Delcious icurtain
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...

search for DHCP servers on a network - dhclient


2008-06-16 Digg! icurtain Delcious icurtain
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...

compile kernel in gentoo


2008-06-10 Digg! icurtain Delcious icurtain
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...

Command Line Web Browser


2008-06-05 Digg! icurtain Delcious icurtain
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...

Centos NFS Install


2008-06-04 Digg! icurtain Delcious icurtain
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:...

Ubuntu 7.10 with Beryl on ATI Mobility Radeon X700


2008-04-11 Digg! icurtain Delcious icurtain
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...

how to rip a dvd to mpg in 7 lines of perl


2008-04-01 Digg! icurtain Delcious icurtain
#!/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...

Automatic Zimbra Backup


2008-03-10 Digg! icurtain Delcious icurtain
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...

Gateway on Centos


2008-01-10 Digg! icurtain Delcious icurtain
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...

Changing CVS file permissions with chown


2007-12-13 Digg! icurtain Delcious icurtain
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...

Set Date Linux


2007-12-12 Digg! icurtain Delcious icurtain
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...

Find Files Linux


2007-12-10 Digg! icurtain Delcious icurtain
find [dir] -name '[name]' # find / -name '*'...

Nvidia MCP61 noapic linux network card bug


2007-12-07 Digg! icurtain Delcious icurtain
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...

Open Source Solutions


2007-12-05 Digg! icurtain Delcious icurtain
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...

Enable Auto-Start SSH Redhat


2007-12-04 Digg! icurtain Delcious icurtain
chkconfig --add sshd chkconfig --level 35 sshd on /etc/rc.d/init.d/sshd start (just to start it up now)...

Linux Start Up


2007-12-03 Digg! icurtain Delcious icurtain
/etc/rc.* contains symbolic links to all start up scripts...

RHEL (redhat) Install Manager


2007-11-26 Digg! icurtain Delcious icurtain
install package: yum -y install application_name (gentoo/ubunto)get package: apt-get application_name...

linux free drive-space command


2007-10-22 Digg! icurtain Delcious icurtain
df (disk free)...

open ports in firewall etc


2007-09-25 Digg! icurtain Delcious icurtain
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...

Samba System Share


2007-09-20 Digg! icurtain Delcious icurtain
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...

Message file sp1.msb not found - solution


2007-09-17 Digg! icurtain Delcious icurtain
export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/...

SSH on Ubuntu


2007-09-17 Digg! icurtain Delcious icurtain
to install SSH on ubuntu type: sudo apt-get install openssh-server...

make mod_jk in Debian Sarge


2007-09-14 Digg! icurtain Delcious icurtain
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...

Debian Java/Tomcat Configuration on Sarge


2007-09-14 Digg! icurtain Delcious icurtain
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...

Debian Java Install on Sarge [fragment]


2007-09-14 Digg! icurtain Delcious icurtain
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...

mod_jk - exclude sub-dirs from tomcat with no-jk


2007-09-10 Digg! icurtain Delcious icurtain
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...

autostart with chkconfig in linux


2007-09-07 Digg! icurtain Delcious icurtain
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...

exit linux terminal and leave programs running


2007-09-05 Digg! icurtain Delcious icurtain
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...

auto-run at startup in linux


2007-09-04 Digg! icurtain Delcious icurtain
for simple commands just put them inside: etc/rc.local for example route add default gw 192.168.1.1...

Redhat Linux Network Config


2007-09-04 Digg! icurtain Delcious icurtain
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...

Installing Java on Linux


2007-08-31 Digg! icurtain Delcious icurtain
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...

Linux IP address Configuration - ifconfig


2007-08-31 Digg! icurtain Delcious icurtain
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...