LPIC looks interesting, so why not take it! So for the time being
Book 3rd Edition Thorough Strategy Series where you can learn the basics of LPIC in a week
Read,
Linux textbook LPIC Level 1 Version 5.0 compatible
I am solving the problem of ping-t while inputting the question range in.
Well, it seems that I will be able to memorize the problem and solve it, but if I can change the structure of the problem a little, it will not be possible to solve it, and I felt that it would be difficult to remember without moving it, so let's move it! I built it for the purpose.
I thought that there might be some precedent, and when I searched for it, I found that CentOS was actually running in a similar environment with the following video, so I tried to build an environment for running Ubuntu.
Professional training for new employees teaches! LPIC-1 Learning Points
Virtualbox
Software for building an OSS virtual environment managed by Oracle.
So what makes you happy when you create a virtual environment? However, it is common to be able to handle multiple OSs on one OS. For example, production and development environments are often different. There are various different factors such as required packages and differences depending on the OS, but these are used when you actually want to run them in the local development environment.
Also, if you make a fatal mistake in a virtual environment, that environment will not affect the original OS. Virtualization is used to take advantage of these benefits.
Vagrant
It is software that operates virtualization software such as VMWare and Virtualbox on your behalf. This time, by building using this, you will be able to manage the operations of the originally required OS (such as downloading Ubuntu images) through Vagrant.
** You will be able to manage the virtual environment based on the vagrantfile with commands. ** **
The benefits here are talked about everywhere, so I won't go into too much detail, but this is one of the great benefits of using Vagrant. It is troublesome to write the VM configuration from 1 in the procedure manual when sharing with team members or when you want to set up a virtual environment in such an article format. Then, fetch the file that describes the specific configuration, hit the command, and you're done! Will also increase other speeds.
~~ I also wanted to study personally ~~
VirtualBox
Download the package from the Official Page (https://www.virtualbox.org/).
Install it. This completes the VirtualBox settings.
Vagrant
Go to the Official Page and click Download.
Download the version for each platform as it is available for download.
Install the downloaded package.
Then you should have successfully installed it, so proceed as follows in the terminal.
#Create and move directories
$ mkdir Ubuntu && cd Ubuntu
#Check the list installed on Vagrant
#Probably nothing! Come out
$ vagrant box list
#Download Ubuntu vagrantfile in folder and start provisioning
$ vagrant init ubuntu/trusty64
$ vagrant up
# ubuntu/trusty64 (virtualbox, 20190514.0.0)
$ vagrant box list
#Port information etc. will be displayed with the following command, so log in based on the information here
$ vagrant ssh-config
#ssh login
# user,password is both vagrant
$ ssh -p 2222 vagrant@localhost
Now you can actually run Ubuntu on your terminal. In fact, if you look at Virtualbox, the virtual environment works as follows.
Now you can actually enter commands and enjoy. You did it!
Thank you for your hard work.
Recommended Posts