Oracle VM VirtualBox installation tutorial for CentOS 6.9

<div id="Article"> 

 <p>The CentOS we have here is 32-bit (no 64-bit <a href="https://www.2cto.com/os/xuniji/" target="_blank" class="keylink">virtual machine< /a>Settings), and a minimal installation!</p> 

 <p>首先,我们需要先安装 <a href="https://www.2cto.com/database/Oracle/" target="_blank" class="keylink">Oracle</a> VM VirtualBox,</p> 

 <center> 

  <img alt="\" height="388" src="/uploadfile/Collfiles/20171118/20171118090813154.png" width="499" />

 </center> 

 <p>After the installation is complete, we can manually modify the virtual machine file directory, (the default is C drive, not recommended)</p> 

 <center> 

  <img alt="\" height="371" src="/uploadfile/Collfiles/20171118/20171118090813155.png" width="497" />

 </center> 

 <p>Next, we will create our own virtual machine, named CentOS, the corresponding type is Red Hat! Needless to say the relationship between CentOS and Red Hat. </p> 

 <center> 

  <img alt="\" height="373" src="/uploadfile/Collfiles/20171118/20171118090814156.png" width="499" />

 </center> 

 <p>Continue to the next step, select the memory at least 1G above, which is required for the graphical installation of CentOS Chinese. </p> 

 <center> 

  <img alt="\" height="377" src="/uploadfile/Collfiles/20171118/20171118090814157.png" width="505" />

 </center> 

 <p>Continue to the next step, basically the default options, just click "Next", the default hard disk size is 8G, I adjusted it to 16G, just for personal needs!</p> 

 <center> 

  <img alt="\" height="380" src="/uploadfile/Collfiles/20171118/20171118090814158.png" width="509" />

 </center> 

 <p>After setting up the virtual machine, we also need to set two items, one is the network and the other is to load the iso file. </p> 

 <p>VirtualBox provides four network access modes, we just use "Network Address Translation (NAT)" and "Bridged Network Card"!!</p> 

 <p>Network Address Translation (NAT) is the easiest way to get a virtual machine online. </p> 

 <p>Bridge network card is through the host network card, so that the virtual machine can be assigned to a separate IP in a network and can be accessed. </p> 

 <center> 

  <img alt="\" height="384" src="/uploadfile/Collfiles/20171118/20171118090814159.png" width="514" />

 </center> 

 <center> 

  <img alt="\" height="384" src="/uploadfile/Collfiles/20171118/20171118090814160.png" width="515" />

 </center> 

 <p>With the above configuration, our virtual machine can access the Internet and can be accessed by the host through the assigned IP. </p> 

 <p>Finally we need to set up to load the CentOS-6.9-i386-minimal.iso file we downloaded</p> 

 <center> 

  <img alt="\" height="394" src="/uploadfile/Collfiles/20171118/20171118090814161.png" width="579" />

 </center> 

 <center> 

  <img alt="\" height="394" src="/uploadfile/Collfiles/20171118/20171118090814162.png" width="528" />

 </center> 

 <p>Finally set up, we can start the virtual machine. </p> 

 <center> 

  <img alt="\" height="463" src="/uploadfile/Collfiles/20171118/20171118090815163.png" width="540" />

 </center> 

 <p>Skip Self Test! SKIP !</p> 

 <center> 

  <img alt="\" height="353" src="/uploadfile/Collfiles/20171118/20171118090815164.png" width="540" />

 </center> 

 <center> 

  <img alt="\" height="428" src="/uploadfile/Collfiles/20171118/20171118090815165.png" width="543" />

 </center> 

 <p>Click next to install, choose Simplified Chinese, American keyboard, ignore hard disk data, set host name, choose time zone!</p> 

 <p>Finally setting up the partition work, we use "Create Custom Layout" here, <a href="https://www.2cto.com/os/linux/" target="_blank" class="keylink">Linux </a>The hard disk partition under Windows is different from that under Windows!</p> 

 <p>Under Linux, the directory is first, and the hard disk is behind, that is, the hard disk needs to be hung on the directory. </p> 

 <center> 

  <img alt="\" height="428" src="/uploadfile/Collfiles/20171118/20171118090815166.png" width="543" />

 </center> 

 <p>We first create a swap partition, that is, the SWAP partition, which is generally twice the memory by default. If this thing is unclear, you can Baidu!</p> 

 <center> 

  <img alt="\" height="431" src="/uploadfile/Collfiles/20171118/20171118090815167.png" width="547" />

 </center> 

 <center> 

  <img alt="\" height="436" src="/uploadfile/Collfiles/20171118/20171118090815168.png" width="552" />

 </center> 

 <center> 

  <img alt="\" height="439" src="/uploadfile/Collfiles/20171118/20171118090815169.png" width="556" />

 </center> 

 <p>Finally, we create the primary partition and hang all the remaining space of the hard disk to "/" in the root directory. In fact, we can continue the detailed partition scheme, which is not discussed here!</p> 

 <center> 

  <img alt="\" height="449" src="/uploadfile/Collfiles/20171118/20171118090815170.png" width="569" />

 </center> 

 <p>The partition format is Ext4, there are many options here!</p> 

 <center> 

  <img alt="\" height="448" src="/uploadfile/Collfiles/20171118/20171118090816171.png" width="568" />

 </center> 

 <p>The partition scheme has been completed, and the next step is to format it! Some of the parameter options used in the picture can be found on Baidu, which is easy to understand. </p> 

 <center> 

  <img alt="\" height="451" src="/uploadfile/Collfiles/20171118/20171118090816172.png" width="572" />

 </center> 

 <center> 

  <img alt="\" height="454" src="/uploadfile/Collfiles/20171118/20171118090816173.png" width="575" />

 </center> 

 <p>Reboot and you can log in to the CentOS <a href="https://www.2cto.com/os/" target="_blank" class="keylink">system</a>!</p> 

 <center> 

  <img alt="\" height="462" src="/uploadfile/Collfiles/20171118/20171118090816174.png" width="586" />

 </center> 

 <p>At this point, our CentOS virtual machine is installed. In the next section, we will introduce some basic system settings and install the LAMP environment!</p> 

</div>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326400825&siteId=291194637