Testing LAMP-server question

Stephen Liu satimis at yahoo.com
Mon Nov 13 04:17:43 UTC 2006


Hi folks,

Ubuntu-6.06.1-LAMP-server-amd64


I have the said server installed and configured.

$ ps -ef | egrep '/mysql|postfix|portmap|apache2'
daemon    3513     1  0 09:56 ?        00:00:00 /sbin/portmap -i
127.0.0.1
root      4022     1  0 09:56 ?        00:00:00 /bin/sh
/usr/bin/mysqld_safe
mysql     4086  4022  0 09:56 ?        00:00:00 /usr/sbin/mysqld
--basedir=/usr --datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysqld/mysqld.pid --skip-locking --port=3306
--socket=/var/run/mysqld/mysqld.sock
root      4254     1  0 09:56 ?        00:00:00 /usr/sbin/saslauthd -m
/var/spool/postfix/var/run/saslauthd -a pam
root      4255  4254  0 09:56 ?        00:00:00 /usr/sbin/saslauthd -m
/var/spool/postfix/var/run/saslauthd -a pam
root      4256  4254  0 09:56 ?        00:00:00 /usr/sbin/saslauthd -m
/var/spool/postfix/var/run/saslauthd -a pam
root      4257  4254  0 09:56 ?        00:00:00 /usr/sbin/saslauthd -m
/var/spool/postfix/var/run/saslauthd -a pam
root      4258  4254  0 09:56 ?        00:00:00 /usr/sbin/saslauthd -m
/var/spool/postfix/var/run/saslauthd -a pam
root      4430     1  0 09:56 ?        00:00:00 /usr/sbin/apache2 -k
start -DSSL
www-data  4468  4430  0 09:56 ?        00:00:00 /usr/sbin/apache2 -k
start -DSSL
www-data  4469  4430  0 09:56 ?        00:00:00 /usr/sbin/apache2 -k
start -DSSL
www-data  4470  4430  0 09:56 ?        00:00:00 /usr/sbin/apache2 -k
start -DSSL
www-data  4471  4430  0 09:56 ?        00:00:00 /usr/sbin/apache2 -k
start -DSSL
www-data  4472  4430  0 09:56 ?        00:00:00 /usr/sbin/apache2 -k
start -DSSL
satimis   4906  4836  0 10:35 pts/2    00:00:00 grep -E
/mysql|postfix|portmap|apache2
* end *


$ sudo iptables --list
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
TCPMSS     tcp  --  anywhere             anywhere            tcp
flags:SYN,RST/SYN tcpmss match 1400:1536 TCPMSS clamp to PMTU
ACCEPT     all  --  192.168.0.0/16       anywhere
ACCEPT     all  --  anywhere             192.168.0.0/16      state
RELATED,ESTABLISHED

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
* end *


Please advise how to test this server?  Where can I find appropriate
documents on testing a LAMP server?

1)
Self test


2)
Testing with a workstation

I don't have router so I'll install an additional network card on the
server and connect it with a  Cat5 cable to the workstation (one
network
card on workstation).  OR is there any other suggestions?  TIA


3)
Testing on Internet.

I don't have Domain nor Static IP.  I'll register a free Domain later
for this test and use Dynamic IP.


Now my problem is I have only on broadband.  Connecting the workstation
to Internet via a modem?  I have modem available.


Advice will be appreciated.  Tks.


B.R.
satimis





More information about the ubuntu-users mailing list