1) Run Tiny Core Linux
2) Install BusyBox Httpd
tce-load -wi busybox-httpd.tcz
3) Create Home directory
Go to /mnt/sda1/ directory
cd /mnt/sda1/
Make a new directory wwwsite
sudo mkdir wwwsite
4) Create html page
sudo vi index.html
Type vi command: [ESC] i
<h1>HelloWorld</h1>
Type vi command: [ESC] :wq!
5) Run httpd command
sudo /usr/local/httpd/sbin/httpd -p 80 -h /mnt/sd1/wwwsite/
6) View the website in the web browser
You can automate the entire process by following the next article:
No comments:
Post a Comment