Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Process after custom FreeBSD12 image pulls up ECS error report

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Today, I made a custom image of FreeBSD12 for the customer. After using the custom image to create ECS, I found that the machine started abnormally, and then use VNC to log in to the system:

1. After uploading a custom FreeBSD image to the environment of the cloud platform, create a virtual machine using the custom image, which cannot be accessed normally. Log in to the remote machine using vnc and find that the card is in mountroot status:

2. Display disk partition information

3. According to the prompt: ufs:/dev/da0s1a, and then enter ufs:/dev/vtbd0p2 according to the actual partition.

4. Modify / etc/fstab file

5. Modify the network card configuration file

6. Edit the network card configuration file (/ etc/rc.conf)

7. Restart the network configuration (service netif restart)

8. Check the network card information

9. Remote login system

10. Error message on the machine

11. By default, FreeBSD prohibits root users from logging in to ssh remotely. You need to make the following simple modifications:

12. Enable password authentication and root remote login

13. Restart sshd service

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report