TheSSS download
Features: thttp, php5.5.1, mysql, vsftp, proxy, firewall, with rpm manager. Frequently updated.
Official Help File: View (new window opens)
It is found that the introduction of 4Mlinux in China is almost zero. A very small system (40 + MiB) has a very small server version branch, but I have not mentioned the configuration.
It took a little time over the past few days to get to know about most of the functions. I hope that the "human" who are interested can quickly master this small system. Here we take TheSSS as an example.
After Hyper-v is installed, there are some problems. Of course, there must be similar issues in VMware and VirtualBox.
Hint: Remember to add the hardware "old network adapter" before starting the hyper-v virtual machine, and adjust the startup memory of the virtual machine to at least 512 or more,
Otherwise there is a problem, and the system will not say anything wrong ~
TheSSS configuration file Overview:
Php. ini/etc/php. ini
Thttp. conf/etc/httpd/thttpd. conf
Ssh_config/etc/sshd_config
Vsftp/etc/vsftpd. conf
Support for mysql and Sqlite3.0
I have read some information about the root password on mysql and cannot find the password ~
/Root/. mysql_passwd no password!
Use -- skip-grant-* to reset the password!
TheSSS provides installdb to create databases and accounts!
"Segmentation fault" error
An amazing error occurs when you change the password.
You can change some other passwords.
Install TheSSS: (skip this step if not required)
After starting with iso, enter the password and use root to log on.
Cfdisk can be used to partition a disk. It is recommended that the primary partition be 3GiB, And the configuration file must be 1GiB. After Bootable and Write partition tables.
Mkfs. ext3/dev/sda1; # The sda1s here are the primary partitions that can be started.
Install2hd; # TheSSS built-in hard disk installation program. In the end, sda1 is formatted as Ext4.
Then the installation is complete. Before the restart, you can adjust the memory to about MIB or MIB for testing.
Now there will be no errors.
Configure TheSSS:
Restart and then reset the New root Password.
View the help Command provided by TheSSS: help
Enable ssh: Modify vi/etc/sshd_config and
# PermitRootLogin yes
Remove comments,/usr/sbin/sshd restart
Enable server: Modify vi/etc/httpd/thttpd. conf to delete the vhost line (important; otherwise, files cannot be found on the website)
Modify php. ini: vi/etc/php. ini and add the following line: data. timezone = "Asia/Shanghai"
Start firewall and proxy (optional), which is easier.
The obvious function of firewall is (iptables rule): ping is prohibited.
Set boot start: Modify/etc/server/autostart. conf
Package management: zk, thesss System Installation Package Manager is similar to rpm, and rpm can also be used, you can use zk update to update the system.
(Hint: the executable file of 4MLinux is compiled with gcc on fefora19, and can also be compiled using * VM)
Network Configuration: TheSSS provides the netconfig command. Follow the prompts. We recommend that you use a static address;
(Hint: Hyper-v remember to enter 192.168.137.1 for both the gateway and DNS addresses)
Unity:
Mc: File Manager;
Links: A small command line web browser. You can enter the URL by pressing g, and press Alt + F to open the menu.
Fsbackup and backup: tools used to configure backup to Upan. Remember to back up data before zk update + _ + !.
Nmonitor: Some status monitors, of course top and free can also be used, among which the best thing is the nmon tool.
Ps:
At this point, most TheSSS functions have been completed and tested to run the php framework normally.
The configuration file for php. ini and thttp. conf is very simple. You can add modules by yourself.
There may be many errors and we hope to have a response.
Email: yantze@126.com