TinyCoreLinux 配置
Ting Core Linux 是一个最精简的Linux操作系统。
硬盘安装
tce-load -wi tc-install
sudo tc-install.sh
安装源: C
安装位置:F
核心安装位置:1 Whole Disk
安装硬盘:1 sda
安装bootloader:y
分区格式:ext4
Boot显示选项:直接回车
销毁数据:y
常用软件安装
OpenSSH
tce-load -wi openssh
sudo cp /usr/local/etc/ssh/sshd_config.orig /usr/local/etc/ssh/sshd_config
sudo /usr/local/etc/init.d/openssh start
持久化
/opt/.filetool.lst
opt
home
usr/local/etc/ssh
etc/passwd
etc/shadow
opt/eth0.sh
/opt/bootlocal.sh
#!/bin/sh
sudo /usr/local/etc/init.d/openssh start
sudo /opt/eth0.sh &
cat /opt/eth0.sh
sleep 10
sudo ifconfig eth0 172.19.240.5 netmask 255.255.240.0
sudo route add default gw 172.19.240.1 dev eth0
sudo echo nameserver 172.19.240.1 >> /etc/resolv.conf
软件安装
tce-ab
查找S