Often caused by excessive polling of the sr0 device. Fix: sudo hal-disable-polling –device /dev/sr0
Linux administration
Pages related to maintaining your linux box, managing devices and users, installing, upgrading and keeping it secure.
Setting up a ‘LAMP’ server (Linux-Apache-mySQL-PHP)
… copied as-is from : http://fedorasolved.org/server-solutions/lamp-stack Very useful info, everything works like a charm (I tried on FC15) so I am replicating this here in case that page ever gets archived, goes offline, etc. I will see if I can add some more info about setting phpMyAdmin here as well. Doing the work The best […]
How to install drupal in a sub-directory
I tried to install a drupal site in a sub-directory of a domain and I ran into some problems. I will explain here how I solved them. Many forum topics and issues on drupal.org and elsewhere on the web discuss how to install drupal in a sub-directory of your domain and to have it appear […]
How to setup Samba
Best Samba how-to I’ve ever seen: http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:samba It is somewhat slackware-centric but could easily use it on Fedora and was able to setup a shared folder and access it from Windows in no-time. NOTE: If after doing everything your windows machine STILL can not see/access/login-into your samba server do a “service smb restart”.
Error in PREUN scriptlet … file was supposed to be removed but is not
Sometimes a yum/RPM package would get “stuck” and just won’t go away. Actually usually the package is already gone but yum/rpm fails to update it’s internal DB and still thinks it is there. The error one usually sees in such cases is something like: Error in PREUN scriptlet in rpm package stlinux23-sh4_uclibc-which stlinux23-sh4_uclibc-which-2.16-5.sh4_uclibc was supposed […]
Problems with a buildroot root filesystem (no initial console, libgcc_s, etc)
Making an embedded system boot up properly can be quite a hurdle sometimes. Among the various problems you might encounter, those related to your root filesystem are some of the most common ones I have seen and among those a very frequent problem is not being akle to acquire an initial console/terminal. These boot problems […]
Deleting print jobs in Linux (…and other printer problems…)
The command to remove a stuck print job in Linux (CUPS): $ lprm =============== To list HP printers visible across the network: $ hp-probe =============== HP_LaserJet_P2055dn Paused – “/usr/lib/cups/backend/hp failed” SOLUTION: Printer state must be set to “Enabled” # sudo system-config-printer
How to uninstall the old kernels in Ubuntu (and grub)
How can we remove the unused linux kernels and at the same time have our boot configuration (grub’s entries in the grub cfg menu) updated? First we want to list all the kernel-related packages, like linux-image and linux-headers, linux-generic, etc: $ dpkg -l linux-* On my 10.04 Ubuntu system the above command results in the […]
How-to check my Linux distro (not kernel!) version
To check your Linux distribution version (i.e. release)… —————————- On Ubuntu/Debian: cat /etc/lsb-release or cat /etc/debian_version —————————- On RedHat/Fedora: $ cat /etc/fedora-release —————————- On Slackware: cat /etc/slackware-version —————————-
How do I add a new RPM/yum repo in Fedora
To enable a new RPM (yum) repository add a new .repo file for it under /etc/yum.repos.d. For example, to add a repository to install google’s Chrome browser add a file (e.g. google.repo) in the /etc/yum.repos.d directory and copy the following into it: [google-chrome] name=google-chrome – 64-bit baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub You may also append the […]