Notes by voodoo

Displaying keyword search results 1 - 11
Created by voodoo on May 22, 2012 12:26:41    Last update: May 22, 2012 12:26:41
My program core dumped but there was no core file. The problem was that the core file size was 0: $ ulimit -a core file size (blocks, -c... Use ulimit to enable it: $ sudo bash # ulimit -c unlimited
Created by voodoo on February 11, 2012 15:02:56    Last update: February 11, 2012 15:04:13
Screenshot: Details: W:Failed to fetch copy:/var/lib/apt/lists/partial/... Solution: Become root: $ sudo bash Goto the apt folder: # cd /var/lib/apt Remove (or move) lists: # rm -r lists Create new lists folders: # mkdir -p lists/partial Retrieve new lists of packages: # apt-get update
Created by voodoo on September 04, 2011 14:48:52    Last update: September 04, 2011 14:49:40
If Ubuntu does not recognize the wifi adapter, use ndiswrapper and Windows XP driver instead: Install the needed Ubuntu packages: $ sudo apt-get install ndisgtk If there's no Internet access, the needed packages are available from the Ubuntu live CD under the directory /pool/main/n . Install both ndiswrapper and ndisgtk . Download and extract the Windows XP driver for your wifi adapter. Install the Windows XP driver: Browse to System/Administration/Windows Wireless drivers Click Install New Driver Select the .inf file, then click Install Connect to wifi networks as you normally do.
Created by voodoo on September 04, 2011 14:23:17    Last update: September 04, 2011 14:25:05
I just installed Ubuntu 11.04 desktop on my old Dell laptop, but the cdrom is not auto-mounting. Normally this simply works. I tried various things like adding cdrom to /etc/fstab and installing halevt (which failed), none worked. However, I found out that despite talks of using gnome-volume-manager etc, at least for this version of Ubuntu automount is managed by Nautilus (file manager): start gconf-editor and navigate to /apps/nautilus/preferences/ , media_automount should be checked (but it's checked by default, unless you changed it). In the end, I wasn't able to make cdrom automount, although USB drives automounted fine. Instead of wasting more time to diagnose the problem, I manually mounted the cdrom drive: $ sudo mount /dev/cdrom /cdrom
Created by voodoo on August 20, 2011 14:02:12    Last update: August 20, 2011 14:02:12
To find the current version: $ sudo apt-cache search libdb To install: $ sudo apt-get install libdb4.6-dev Reading pac...
Created by voodoo on August 08, 2011 19:54:34    Last update: August 09, 2011 07:23:45
To install the base qemu system: $ sudo apt-get install qemu But that only installs the emulators matching the host system ( i386 for example). To install the emulator for other architectures like mips , use: $ sudo apt-get install qemu-kvm-extras For Fedora, the command is: $ sudo yum install qemu-launcher
Created by voodoo on August 08, 2011 20:13:13    Last update: August 08, 2011 20:13:13
Find the package name: $ sudo apt-cache search pcre libpcre3 - Perl 5 ... Install the package: $ sudo apt-get install libpcre3-dev Reading pac...
Created by voodoo on August 08, 2011 12:28:16    Last update: August 08, 2011 12:28:16
$ sudo yum whatprovides pcre-devel Loaded plugi...
Created by voodoo on June 16, 2011 11:34:39    Last update: June 16, 2011 11:34:59
Some ways to refresh DHCP on Linux: To release IP address lease: $ sudo dhclient -r then, to get fresh IP: $ sudo dhclient Use ifdown and ifup : $ sudo ifdown eth0 $ sudo ifup eth0 Restart network: $ sudo /etc/init.d/network restart or, $ sudo /etc/init.d/networking restart
Created by voodoo on June 05, 2011 20:10:38    Last update: June 05, 2011 20:10:52
Use apt-get to install openssh sshd on Ubuntu: sudo apt-get install openssh-server
Created by voodoo on June 17, 2010 16:47:29    Last update: June 17, 2010 16:47:29
While the rest of UNIX flavors use sudo , the preferred way for Solaris seems to be RBAC: Solaris 10 Role Based Access Control (RBAC)