![]() Here's a diagram for those of you who don't know chroot. I think that it is sufficiently operational if you grasp it as a convenient version of chroot. Unlike VMs, there is less overhead, and since it is treated as a separate node from the host in terms of networking, it is possible to perform NAT when connecting to the Internet, join the same network as the host, and handle it in various ways depending on the configuration. Specifically, it shares the same kernel as the host, but isolates the virtual environment from the host's file system (FS) and processes. There are various forms of virtualization technology, such as hypervisor, hosted, container, etc., but jail in particular is officially called 1operating system-level virtualization. (Both host and virtual environment listen with sshd on port 22) We thought it would be good to keep the example as simple as possible, so we decided to run sshd on both the host and the virtual environment, connect directly to the host on port 22, and redirect to port 22 in the virtual environment on port 1022. However, if you find it ambiguous and difficult to understand, we recommend that you read the official manual. I will explain on the assumption that the reader has not read these, and explain as much as possible the "intent" of every action. Of these, those marked as "required reading" are official manuals and guides that we have judged that you should read especially when operating. The annotations are links to the articles you referenced. It is a situation where you are disgusted by other unkind articles that say that it is for beginners but have too much premise knowledge.Knowledge of basic networks that has passed the Basic or Applied Information Technology Engineer Examination.Understand the merits and demerits of various virtualization methods and have enough knowledge to be able to choose as appropriate.Knowledge of the operating layers of each protocol in TCP/IP.Have knowledge of package management by pkg (it is good if you know install, delete).Knowledge of NAT and port forwarding (described as redirects in the article).FreeBSD is installed on the machine (private IP fixed, x86_64 CPU). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |