0% found this document useful (0 votes)
790 views

How To Convert Tiny Core in Web Server

This document provides instructions for setting up a web server on a TinyCore Linux distribution. It involves installing OpenSSH and Busybox HTTPD to enable remote access and web serving. Directories are created, services are started, and the bootloader is edited to automatically load the web server on startup. The process is completed by taking a backup and rebooting the virtual machine.

Uploaded by

sumit verma
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
790 views

How To Convert Tiny Core in Web Server

This document provides instructions for setting up a web server on a TinyCore Linux distribution. It involves installing OpenSSH and Busybox HTTPD to enable remote access and web serving. Directories are created, services are started, and the bootloader is edited to automatically load the web server on startup. The process is completed by taking a backup and rebooting the virtual machine.

Uploaded by

sumit verma
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Download Image

http://www.eve-ng.net/documentation/h...

1) Create Directory

mkdir /opt/unetlab/addons/qemu/linux-tinycore-6.4/

2) Save the config

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

WebServer Commands
======================
1)change root password

sudo su
passwd

2)Install and start ssh

tce-load -w -i openssh

3)Install Web-server

tce-load -wi busybox-httpd.tcz

4)Create a directory for index.html file


sudo mkdir /mnt/sda1/wwwsite

sudo su

5)Start the SSH and tftpd services

cd /usr/local/etc/init.d/
./openssh start
cd /etc/init.d/services/
./tftpd start

6)Edit bootloader to load everything whenever you boot the box

7)sudo vi /opt/bootlocal.sh

cp /mnt/sda1/wwwsite/index.html /usr/local/httpd/bin/index.html
cd usr/local/httpd/bin
./busybox httpd -p 80 -h /usr/local/httpd/bin/
cd /usr/local/etc/init.d/
./openssh start
cd /etc/init.d/services/
./tftpd start

8)take backup
filetool.sh -b

9)sudo reboot

https://www.youtube.com/watch?v=8Ox--v6JhSM

You might also like