Testing the FTP server / WebServer installation
Find out your server computer local ip address on your router by using: ipconfig -a
freemonsandlewould@freemonsandlewould-desktop:~$ ifconfig -a
eth1 Link encap:Ethernet HWaddr 00:0f:1f:e2:12:e4
inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20f:1fff:fee2:12e4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:56119 errors:0 dropped:0 overruns:0 frame:0
TX packets:45698 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:56322994 (53.7 MB) TX bytes:7952143 (7.5 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1134 errors:0 dropped:0 overruns:0 frame:0
TX packets:1134 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:156376 (152.7 KB) TX bytes:156376 (152.7 KB)
My boxes local IP on my router is 192.168.1.104 and you should substitute yours for this number.
Test the webserver
Bring up a browser and dial in: http://192.168.1.104/
Test the FTP server
Dial in 192.168.1.104 into your FTP tool and your linux box users name and password.
In both of the tests above you should see a result that is recognizable.
If you are doing any kind of PHP development, you’ll almost always be using Apache along with it. Here’s the quick and easy way to get PHP up and running on your Ubuntu box.
First, you’ll want to add the extra repositories to Ubuntu’s sources.list file.
From a command shell, you will run the following commands:
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart
Note that if apache is already installed you can omit the first line. Your web files will now be found in /var/www/
sudo a2enmod rewrite/etc/init.d/apache2 force-reloadorsudo apache2ctl restart
Repositories on Ubuntu are the locations that you can download software from. As a general rule, the default repositories don’t contain the right locations for most software packages that you’ll want to install. You will want to open up the /etc/apt/sources.list file, find and uncomment the following lines
deb http://us.archive.ubuntu.com/ubuntu dapper universe main restricted universe
deb http://security.ubuntu.com/ubuntu dapper-security universe
Note that if you are using a different version than Dapper Drake (6.06), you will probably see a different name there, something like breezy or edgy.
Once you are done adding the repositories, you’ll need to run this command:
sudo apt-get update
(Thanks to Gregg in the comments for catching that)
Installation list of linux server
Installing MySQL 5 Server on Ubuntu is a quick and easy process. It almost feels like it should be more difficult. ( original article )
Open a terminal window, and use the following command:
sudo apt-get install mysql-server
If you are running PHP you will also need to install the php module for mysql 5:
sudo apt-get install php5-mysql
To create a new database, use the mysqladmin command:
mysqladmin create <databasename>
I have been learning about drupal open source software. Its an open source solution for creating community based websites. An easy comparison for purposes of explanation is wordpress. Wordpress is based on the single user concept. However many times that is not the best model. Imagine ebay with only 1 buyer and that same person is the only seller.
What "community" can be inferred from poopreport.com . The page linked shows user generated page content. The drupal plugin User Points is used to keep track of how many posts a person has made and allows readers to click into other stories written by the user. I assume it allows the readers to rate the page content also.
Some other sites that use this module:
I wanted to do some longer length recording and quickly found out that Sound Recorder that comes as part of Windows only goes to 60 seconds duration. After a quick search I found a program called Audacity. It does a good job and exports as an mp3 if you add a lame plugin for it. Open source is changing the world. You sappy global warming goofs would like to think you are saving the world. You could only wish to have an effect while open source is forging a new paradigm.