[Beginner] Procedure to log in to the virtual environment built with Vagrant

  1. Start the terminal

First of all, it comes out as follows

username$ 

  1. Move from the current directory This time, there is a "Vagrantfile" in home / MyVagrant / MyCentOS, so move to that.
~$ cd      //Return to home directory (confirm location)
~$ cd MyVagrant
~$ cd MyCentOS   //Move to MyCentOS

pc name: MyCentOS user name $//← is OK if it comes out

3. Start the virtual environment and log in

~$ vagrant up
~$ vagrant ssh

After executing these two, if the following is displayed, login is complete!

[vagrant@localhost ~]$

Recommended Posts

[Beginner] Procedure to log in to the virtual environment built with Vagrant
I want to recreate the contents of assets from scratch in the environment built with capistrano
Super beginner builds Rails6 + Postgresql environment with Docker to the end
How to install Titan2D (v4.2.0) in virtual environment
[Rails] How to use PostgreSQL in Vagrant environment
I want to embed any TraceId in the log
How to use git with the power of jgit in an environment without git commands
Organized how to interact with the JDK in stages
Use the --build-arg option of docker-compose to pass environment variables to the container built with Dockerfile
How to manage the difference in each environment with yml without increasing the number of RAILS_ENV
Ubuntu unable to log in
[Programming beginner] What to do when rails s becomes an error in the local development environment
How to make an application with ruby on rails (assuming that the environment has been built)
When a beginner makes a personal app with rails, the procedure to bring it to the starting point anyway.
I tried to build the environment of PlantUML Server with Docker
Setting to start multiple units at the same time with Vagrant
How to install the language used in Ubuntu and how to build the environment
I want to display the images under assets/images in the production environment
When log data accumulates in Rails and the environment stops working
[Java] I want to perform distinct with the key in the object
ngrok --https communication in local environment (exposing the server to the outside)
A story stuck with log output in Docker + Play framework environment
Steps to build a Ruby on Rails development environment with Vagrant
[Rails] How to reset the database in production environment (Capistrano version)
[Ruby on Rails] How to log in with only your name and password using the gem devise
Pass the i18n locale to JavaScript
Log output to file in Java
Place in the middle with css
[Rails] How to log in with a name by adding a devise name column
Problems I was addicted to when building the digdag environment with docker
Procedure to make the value of the property file visible in Spring Boot
How to execute with commands of normal development language in Docker development environment
I tried to build a Firebase application development environment with Docker in 2020
I tried to solve the tribonacci sequence problem in Ruby, with recursion.
[Rails] How to get the user information currently logged in with devise
I was addicted to unit testing with the buffer operator in RxJava
How to display the text entered in text_area in Rails with line breaks
I had to lower the PHP version in Docker + Composer + Laravel environment
[Rails] How to apply the CSS used in the main app with Administrate
I tried migrating the portfolio created on Vagrant to the Docker development environment
I built a CentOS 8 environment with Vagrant and tried to sync_folder, but I got an error, so I solved it.