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

FreeBSD installation details-step by step to teach you to install FreeBSD

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Download address of freeBSD: http://mirrors.163.com/FreeBSD/ISO-IMAGES-amd64/8.3/FreeBSD-8.3-RELEASE-amd64-dvd1.iso can be downloaded with Xunlei. The hard disk of the virtual machine is set to 20g and memory 512MB. The partition is as follows: / 2048m swap 1024m / usr 17401m explain the installation process of freeBSD:

1. Select the startup mode

The options in the above figure are: 1. Directly start FreeBSD [default] 2. Start FreeBSD by disabling power management, 3. Start FreeBSD 4. 0 in safe mode. Start FreeBSD 5. 0 in single user mode. Output more details when starting FreeBSD 6. 0. Enter the command prompt state 7. In general, we press enter directly to restart by default. If you encounter a hardware error and cannot start, you can choose to disable power management. Safe mode disables more hardware features (including power management). As for single-user mode, it is generally used to restart after update, or to forget the root user password. The fifth mode can output more detailed information at startup, making it easy to identify some potential problems. The sixth mode can be used in situations where the self-compiled kernel cannot be started and you want to switch to the old kernel. 2. Select a country:

Use the arrow keys to select the country you need. It is recommended to use China during installation. 3. Choose keyboard mapping: Chinese users can choose the default. 4. Enter the installation menu: select the default standard mode (Standard) to install. 5, prompt message: very old hard disk need to pay attention to, modern hard disk can ignore this option 6, hard disk partition: if you have other systems or data on your hard disk, please make a backup. In this example, we use all the hard disk space, and we need to press An and Q at this time. Choose A to use the whole hard drive. Then press Q to exit step 7: the boot manager system lets me choose how to install the boot manager. We choose the first item, that is, the standard mode (no interaction is required), which is recommended by default. Among the other items, the second item "BootMgr" indicates that if there are other operating systems in your system, you can choose which system to enter after choosing the installation method. The third "None" means to retain an existing boot manager. 8, hint, just skip 9, create freeBSD partition 1), in the above figure, we select C, and then enter 2048M2), when we want to select / partition file type, we select FS type, as shown in the following figure: 3), with regard to the mount point, we choose /, as shown in the following figure: 4), next partition swap partition, if the memory is less than 4G, swap is recommended to be 1.5-2 times the memory If the memory is larger than 4G usr swap, it can be as much memory. In this case, the memory is 512m, so the swap is divided into 1024m. The partition process is as follows: all the hard disk space is divided into the / memory directory, the steps are the same as before. The freeBSD partition in this example is shown in the following figure: 10. Select the installation media, as shown in the following figure: 11. At this time, the system will be prompted to format and install the system immediately, whether to continue or not. This is the last chance to change. We choose YES, as shown in figure 12 below. The system will ask if you need to configure the Ethernet card, and we choose YES. The following figure shows: 13. In the following process, freeBSD8.3 will configure the network card for us (the default is em0), as shown in the following figure: 14. The system asks whether IPV6 is enabled, and we choose NO, as shown in the following figure: 15. The system will continue to ask whether we need to use the DHCP server to automatically assign IP. Here we want to configure ourselves and select NO, as shown in the following figure. 16. Enter the specific configuration of the network card. As shown in the following figure 17, the system will prompt us whether to enable the em0 network card immediately, select YES, as shown below: 18. The system prompts whether to use this machine as a gateway, select No, as shown in the following figure: 19. The system asks whether you need to configure inetd and other network services, and select No, as shown in the following figure: 20. The system asks whether you need to log in to SSH, that is, turn on the openssh service. The system will open port 22 to allow secure login to the system. Select YES here, as shown in figure 21 below. The system asks whether anonymous user FTP is allowed to enter the machine, select NO, as shown in figure 22, the system asks whether to configure this as a NFS server or client in the near future, and select NO, as shown in the following figure: 23. The system asks whether to define terminal configuration, such as font size, cursor movement speed, etc. Can be decided according to the specific environment, as shown in the following figure: 24. Ask whether to set the system time zone now, select YES, as shown in the following figure: 25. Do you need to define the GMOS clock of the system as the UTC system? select NO, as shown in the following figure 26, select the region, select Asia here, as shown in the following figure: 26, select the region, and select Asia here, as shown in the following figure: 28, select the time zone Beijing time is the first item, as shown in the following figure: 29, whether to use the Chinese national standard time (CST), select YES, as shown below 30, whether to use the mouse under the console, select No, as shown below: 31, whether to browse the FreeBSD software collection 32, whether to add new users, select YES, as shown in the following figure: 33, user and group management interface 34, add users Here we add a user of the wheel group, which allows you to switch to Root permissions for the necessary system administration through the su command. The wheel group is the root system group. The following figure shows: 35, exit user management, as shown in the following figure: 36, set the root password, as shown in the following figure: 37, the system asks if you still need to take a look at all or change the configuration, this is the last opportunity to change the configuration, choose NO here, as shown below, 38, end the installation, do not hesitate to choose [X Exit Install], we end the installation! (finally can breathe a sigh of relief) the last step Restart-Welcome to follow my Weibo http://weibo.com/pco18

Your top post is the driving force of my post ↘.

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