Tiny Core Base > Micro Core
TCL as micro web server ~ n00b starts here
cpcnw:
Hi all,
Got Core loaded on a USB stick on an old thinclient with the intention of creating a micro webserver!
I now have several daunting tasks in front of me ;
* Install lighttpd
* lighttpd config
* Install ssh service
* ssh config
* Set static ip
* Make all above persisitent
So, my questiosn are;
1) Is the above possible?
2) Has anyone else done this who could throw in some quick pointers to get me started.
Right now I am going round in circles with the wiki trying to find out how to make my ip
static and survive reboots!
Thanks for your patience!
Rich:
Hi cpcnw
Here's a step by step to set up static IP:
http://forum.tinycorelinux.net/index.php/topic,13781.msg77070.html#msg77070
etopeter:
Just few days ago I wrote HowTo setup webserver using nginx. Im not allowed to post external links so I have to post it like this:
blog.matchgenius.com/tinycore-nginx-server-with-php-cgi-and-vsftpd/
I have wordpress running there and another Tiny Core box is my mysql server. Hope that helps.
cpcnw:
Thanks for the tips - I realise now that what I am actually managing to get booted is not the same as what should be happening when following the wiki instruction for installing to USB stick - which actually fails.
So, using UNetbootin-windows248.exe and the core iso I can get a boot but of course the wiki instructions for persistence wont work because there is no extlinux.conf etc
When creating core usb from the CD installer I get one cursor past the syslinux output and a halt.
Guess this should be a seperate post now ...
btw DSL 3.4.12 boots flawlessly but is outdated and gui ...
etopeter:
I guess this is different problem now.
Here's what works for me:
1. Windows format usb FAT32
2. Unetbootin install tiny core iso (download from website not from dropdown)
3. Boot USB
4. Inside console list for your disks and if needed setup linux partitions/swaps
5. Mount your drive /mnt/sda1 (depends on your setup)
6. Create boot dir /mnt/sda1/boot
7. Copy vnlinuz and core.gz from /mnt/sr0/boot (or whatever other device device you have there) to /mnt/sda1/boot
8. Get grub using tce-ab
9. Copy grub files to /mnt/sda1/grub
10. Create grub config /mnt/sda1/grub/menu.lst and make sure you have kernel /boot/vmlinuz and initrd /boot/core.gz
11. Install grub MBR (sudo grub -> root (hd0,0) -> setup (hd0) ( depends on your HD configuration)
12. Create /mnt/sda1/tce/mydata.tgz
13. Reboot
That would be it ... in short.
Navigation
[0] Message Index
[#] Next page
Go to full version