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 - 3:05pm by str
From your Mac, how you can connect to your remote Ubuntu desktop?
Note: This is also applicable to other Linux desktop with some variations in step 1-3
- Open Remote Desktop Preferences
System -> Preferences -> Remote Desktop
- Enable Sharing by desired
- Select Security as desired
Posted Thu, 05/08/2008 - 1:47pm by str
Some of my ebooks are in chm format and there is no default application that can read this file.
To install chm reader in Ubuntu, open your terminal and enter the following command:
sudo apt-get install xchm
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 Sun, 12/30/2007 - 7:24pm by str
Did you experience while checking email and while waiting to finish downloading new emails, you press the Home button and open other applications like for example Safari browser or notes and after some time the vibration and alert sound for new email will come up? As like any other UNIX machine, iPhone is capable of doing multiple tasks at the same time. Cool!
Now, the problem is how you can assure that there is no other unneeded applications are running (except the phone process) that will surely waste your battery?
Posted Sat, 12/22/2007 - 7:21pm by str
We know we can double-tap iPhone to "zoom in" whatever you tap and magnifying it like in Safari, Photos and Google Maps.
But do you know that can also use your two fingers to tap?
Yes, two-finger (single) tap on the screen “zoom out” Google Maps.
Pretty good shortcut combination with one finger double tap for zooming in.
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
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