Prepare tools
0. Download The ttylinux system.
Http://minimalinux.org/ttylinux/downloadX86.html (ttylinux-i686-11.1.iso.gz) (bootcd-i386-5.3.iso.gz)
1. Download thttpd.
Http://minimalinux.org/ttylinux/addons.html (thttpd-2.25b-i486.tbz)
(1)
Ttylinux installation (ttylinux-i686-11.1.iso)
Extract ttylinux-i686-11.1.iso.gz ttylinux-i686-11.1.iso.
2. Start the CD (or install it on a virtual machine ).
Note: Only IDE Hard Disks are supported.
3. Enter the user name and password to enter the system.
Root
Password
4. view the drive letter.
Fdisk-l
5. Start installation.
Ttylinux-installer-M/dev/HDC/dev/hda
6. Shut down the system.
Shutdown-H
7. Uninstall the CD image.
8. Restart.
Ttylinux (ttylinux-i686-11.1.iso)
1. Change the password.
Passwd (123456)
2. Modify the host name ).
VI/etc/hostname
Ttylinux_cc.domain.net
It takes effect after restart.
3. Start the network.
Ifconfig
If the NIC is not started, you must manually configure it.
VI/etc/sysconfig/network-scripts/ifcfg-eth0
① DHCP gets the IP address.
Enable = Yes
DHCP = Yes
② Manually assign IP addresses.
Enable = Yes
DHCP = No
Other parameters.
Name = Ethernet
IPaddress = 192.168.0.7
Cidrlen = 24
Network = 192.168.0.0
Netmask = 255.255.255.0
Gateway = 192.168.0.1
Broadcast = 192.168.0.255
4. Restart the network.
Service Network restart
5. SSH connection.
Install thttpd (ttylinux-i686-11.1.iso) in ttylinux)
1. Pass thttpd-2.25b-i486.tbz to ttylinux.
FTP 192.168.0.7
Put thttpd-2.25b-i486.tbz.
Or
Wget http: // 192.168.0.8/thttpd-2.25b-i486.tbz
Or winscp upload to ttylinux.
2. Install thttpd in Pacman.
CD/home/ftpd/
Pacman-I thttpd-2.25b-i486.tbz
3. Start thttpd.
/Etc/rc. d/init. d/thttpd start
4. Open a browser to test whether the installation is successful.
Http: // localhost/
(2)
Ttylinux installation (bootcd-i386-5.3.iso)
1.unzip the bootcd-i386-5.3.iso.gz bootcd-i386-5.3.iso.
2. Start the CD (or install it on a virtual machine ).
Note: Only IDE Hard Disks are supported.
3. Enter the user name and password to enter the system.
Root
Root
4. view the drive letter.
Fdisk-l
5. Start installation.
Installer MBR/dev/HDC/dev/hda
6. Shut down the system.
Halt
7. Uninstall the CD image.
8. Restart.
Ttylinux (bootcd-i386-5.3.iso)
1. Change the password.
Passwd (123456)
2. Modify the host name ).
VI/etc/hostname
Tiny. CC
It takes effect after restart.
3. Start the network.
Ifconfig
If the NIC is not started, you must manually configure it.
CP/etc/network. d/sample/etc/network. d/interface. eth0
VI/etc/network. d/interface. eth0
① DHCP gets the IP address.
DHCP = "yes"
② Manually assign IP addresses.
DHCP = "no"
Other parameters.
Interface = "eth0"
IPaddress = "192.168.0.7"
Netmask = "255.255.255.0"
Broadcast = "192.168.0.255"
4. Restart the network.
Service Network restart
5. SSH connection.
Ttylinux File Download Method (bootcd-i386-5.3.iso)
1. Pass thttpd-2.25b-i486.tbz to ttylinux.
Wget http: // 192.168.0.8/thttpd-2.25b-i486.tbz
Summary
In-depth analysis of ttylinux is conducive to the study of Linux streamlining.