How to install common multimedia codecs in Ubuntu

Submitted by str on Thu, 05/08/2008 - 11:08

Sometimes you you want to play some music or video but it doesn't allow you because it asked for some strange codecs that you may not understand :)

Good news is, it relatively easy to download most of them all together.

Here's how:

Switch to super user
sudo -s -H

Update and upgrade your present system by using these two separate commands
apt-get update

apt-get upgrade

Ubuntu 8.04 LTS (Hardy Heron) Apache-PHP-MySQL Server

Submitted by str on Tue, 05/06/2008 - 17:52

Once again, here's my updated simple installation of Apache, PHP and MySQL in Ubuntu 8.04 LTS (Hardy Heron) Server.

Install SSH Client and Server (for my remote access)
sudo apt-get install ssh

Install Database Server
sudo apt-get install mysql-server-5.0

Install Apache HTTP Server
sudo apt-get install apache2

Install PHP5 and Apache PHP5 module
sudo apt-get install php5 libapache2-mod-php5

Restart Apache
sudo /etc/init.d/apache2 restart

Optionally, install phpMyAdmin
sudo apt-get install phpmyadmin

PHP5 for CentOS 4.4

Submitted by str on Tue, 02/27/2007 - 23:13

I’m using right now CentoS 4.4 and PHP5 is not yet part of the rpm package. I can always download the source and compile it or search some pre-pack PHP5 RPM and install it.

Alternatively, here’s how to do it using the good old yum one liner command.

Edit CentOS-Base.repo
vi /etc/yum.repos.d/CentOS-Base.repo
Enable CentOSPlus by changing:

Restrict printing time

Submitted by str on Tue, 02/27/2007 - 10:18

Sometimes there are some requirements that you want to restrict the time a printer can print. Here’s how to do it:

Open the Printers and Faxes Control Panel.
Right-click the printer you want to configure in this manner and select Properties.
Go to the Advanced tab, and then click Available From.
To set the time period that the printer is available, click the up or down arrows, or alternatively, type a start and end time, such as "7:00 a.m. to 4:00 p.m."
Click OK to finish the wizard.