Howto
Posted Tue, 05/06/2008 - 5:52pm by str
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
Posted Thu, 05/08/2008 - 11:08am by str
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
- Here's now the magic; install the following common codecs
Posted Thu, 05/08/2008 - 10:48am by str
With Ubuntu's LTS (Long Time Support) and usual 6 months release cycle, sometimes you tend to confuse or forget what version of Ubuntu you are using.
How to know what version of Ubuntu you're using?
Easy! Fire up your your terminal and type this command:
lsb_release -a
Posted Sat, 07/21/2007 - 5:48pm by str
Duplicating CD or DVD in Ubuntu is so easy.
First we create an image of the CD/DVD to your hard disk drive.
sudo umount /dev/cdrom
readcd dev=/dev/cdrom f=file.iso
And then, we finally burn the iso image file to blank or writable CD/DVD .
Right click on Image (ISO) file -> Write to Disc... -> Write
Posted Fri, 06/22/2007 - 11:30pm by str
I was kinda surprise that HyperTerminal is not available anymore in Windows Vista. No problem, I rebooted my notebook to Ubuntu and fire-up minicom.
- By default, minicom is not installed in Ubuntu, so you need to install it first.
sudo apt-get install minicom
- Find the name of your Serial Port
dmesg | grep tty
In the output look for something like "tty". The output in my case is like this:
$ dmesg | grep tty
[ 17.341823] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Posted Sun, 06/10/2007 - 12:13pm by str
Here are the packages you need to install to make your Ubuntu 7.04 as webserver with PHP and MySQL support.
- Install Apache:
sudo apt-get install apache2
- Install PHP5:
sudo apt-get install php5-common php5 libapache2-mod-php5
- Install MySQL:
sudo apt-get install mysql-server mysql-client
- To use MySQL with PHP:
sudo apt-get install php5-mysql
Posted Tue, 02/27/2007 - 11:13pm by str
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:
#additional packages that extend functionality of existing packages
[centosplus]
Posted Tue, 02/27/2007 - 10:18am by str
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.
Posted Tue, 02/27/2007 - 10:04am by str
To publish a printer to Active Directory, follow these steps:
- Open the Printers and Faxes Control Panel.
- Right-click the printer you want to publish into the active directory, and go to the Sharing tab.
- Click Share This Printer, and enter the name for the printer share.
- Check the List in the Directory check box.
- Click OK.
Posted Tue, 02/27/2007 - 9:54am by str
To start or stop the printer spooler from a command line, follow these steps:
- Open a command prompt.
- Execute the following commands, depending on your intent:
net start spooler to start the spooler, or net stop spooler to stop it.
Recent comments
5 days 18 hours ago
6 weeks 5 days ago
6 weeks 6 days ago
6 weeks 6 days ago
7 weeks 5 days ago
13 weeks 17 hours ago
13 weeks 1 day ago
13 weeks 2 days ago
16 weeks 3 days ago
18 weeks 3 days ago