Ssh or ftp to LFS in the vm-Linux Enterprise Application-Linux server application information. The following is a detailed description. I made an animation and realized the s-demo.
For the first time, LFS was mostly carried out in the vm, and I am no exception. However, it is a headache to execute so many commands.
A command error may result in a loss of the system we have built, especially for our first LFS users.
Therefore, I am going to copy and paste it to LFS.
Two methods I used:
1. ssh to the vm system, copy and paste lfs in the ssh software under windows.
2. Upload the script edited in windows to the vm system through ftp. Then in the vm lfs.
The following 345 is an idea. I have never tried it. If you are interested, you can try it.
3. Of course, you can also mount the shared fat partition in windows (My ntfs ).
4. I do not have a network.
5. I have never tried an FTP server.
Use SecureCRT and SecureFX to connect to the vm system. Of course, you can use putty and psftp instead.
I just got SecureCRT and SecureFX today. I want to see how to use it.
Can telnet be used? Yes, but telnet is transmitted in plain text,
The default root user cannot log on. (You can log on as a common user first, and then log on to the root user in su)
Of course, you can also modify the security configuration file to log on as root,
For security issues, telnet to the server to maintain the server, and listen to the data packet in the route,
After the capture, your password will be lost. Of course, it doesn't matter if you telnet to the virtual machine on the local machine.
In 6.1.1.-3, I have not found anything about telnet. telnet has been eliminated.
Many Release versions are not used, not to mention LFS.
In the vm System
Set ip: ip addr add 192.168.1.100/24 dev eth0
Enable: ip link set eth0 up
My virtual machine is configured with a NAT network and an ip address already exists. Use ip addr to view and enable it.
Start the ssh service:/etc/rc. d/init. d/sshd start
All passwds are required for ssh authentication.
If you use ssh every day, you can save the key and log on directly without a password.
Windows
SecureCRT and SecureFX are used to ssh and ftp to virtual machines.
Then copy and paste it to complete your lfs. Or, you can make the command into a script and upload it to lfs in the vm.
Ps: we strongly recommend that you do not use manual lfs because the learning effect of manual lfs is incomparable.
I am not responsible for the negative effects of lfs learning caused by this animation.
If you are not afraid, check my jhalfs. The software packages are all completed with ready-made scripts.
After several commands, wait for 2-3 hours. It feels no different from installing a release.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.