This is as straightforward as setting up a network printer from Windows.
Go to Start → Settings → Printers and Faxes. Click on Add a printer. Tell the wizard that you wish to add a network printer. Specify that you want to Connect to a printer on the Internet or on a home or office network. Specify the URL of your printer:
http://192.168.0.1:631/printers/printer-name
Where in printer-name you should replace the name of your printer. Complete the installation of your printer by specifying the driver to be used. You should now be able to print from your Windows.
Don’t forget to adjust your /etc/cups/cupsd.conf to allow remote printing or use system-config-printer an click on Server → Settings → Settings → Publish shared printers[...] → Allow printing from the Internet
Resources:
http://www.giannistsakiris.com/index.php/2007/11/05/share-printer-connected-to-ubuntu-from-windows-xp-on-virtualbox/
Because CentOS doesn’t pull all dependencies correctly, here is my little memory hook for installing phpmyadmin (and mysql, of course)
rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum install php phpmyadmin php-mcrypt php-mbstring mysql-server
After installing the packages, edit /etc/httpd/conf.d/phpmyadmin.conf and add the IP of your admin workstation to the line that begins with Allow from.
For using phpmyadmin with cookie auth, you have to set a blowfish secret in /usr/share/phpmyadmin/config.inc.php:
[...]
$cfg['blowfish_secret'] = 'Secret_Password';
[...]
Update: Added php-mbstring
Wanted to flash a BIOS lately and noticed that all major mainboard manufactors still use DOS flash utilities? I did. Unfortunately my mainboard isn’t supported by flashrom yet and a floppy drive wasn’t available. So, why not use FreeDOS?
Read more…
It shouldn’t happen, but it does: I forgot my MySQL root password. Resetting is rather simple:
mysql --user=root
update mysql.user set Password=PASSWORD('your_new_root_password') where User='root';
flush privileges;
quit;
Don’t forget to clear ~/.mysql_history afterwards!
Modern CPU throttling technology like Intel’s SpeedStep or AMD’s Cool’n'Quiet are quite fancy. They not only reduce the CPU frequency and the core voltage, the mainboard also detects an idling, cool CPU and therefore reduces the fanspeed.
But what if the fanspeed is still to high while the CPU is doing nothing? Or maybe the fan doesn’t spin fast enough while your CPU is burning in a very small case.
Read more…