EasyManua.ls Logo

Sharp Zaurus SL-C3000 - Page 55

Sharp Zaurus SL-C3000
212 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
my Zaurus SL-C3000 and SL-C3100 http://www.users.on.net/~hluc/myzaurus/
55 of 212 16/09/2007 12:23
# vi /etc/inetd.conf
ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a
# /etc/rc.d/init.d/inet restart
Make sure you use tcp wrapper as it is slightly more secure. Then enable tcp wrapper security by
creating hosts.allow and hosts.deny as follows:
# su
# echo "ALL:ALL" > /etc/hosts.deny
# echo "in.ftpd: 192.168.129., 192.168.1." >> /etc/hosts.allow
Add any IP range you want to give access to in addition to the above.
Installing Web Server
Apache
There is a few things that need to be done before you can install Apache:
# su
# mkdir -p /hdd2/ramfs/www
# ln -sf /hdd2/ramfs /mnt/ramfs
# ln -s /hdd2/ramfs/www /usr/local/apache
Now we are ready to install apache [apache-1.3.27-php-4.2.3_0.1_arm.ipk]
When apache is installed you need to do the following:
# su
# ln -s /usr/local/apache/bin /usr/local/apache/src
(you can also fix apachectl to look at the right place instead of creating a link)
You can now start apache with the following command:
# su
# cd /usr/local/apache/bin
# ./apachectl start
You can stop apache with the following command:
# su
# cd /usr/local/apache/bin
# ./apachectl stop
I have also created a opie-sh script [
apachegui_0.1_arm.ipk] which allows you to stop and start
apache from the GUI. You will be required to configure sudo and add /usr/bin/apache to the allowed
list for zaurus user (see sudo).

Other manuals for Sharp Zaurus SL-C3000

Related product manuals