This article is part of the series Arch Linux in a “VMware Workstation”.
In the second article I will explain to you how I get my scripts into virtual machine and execute them.
Configuration I use:
- Ubuntu 18.04 Desktop
- VMware Workstation Pro 15
For this article to follow along, I assume that you have completed the article Setup the virtual machine to continue.
Steps in this article:
- Accessing the VM from a terminal.
- Synchronize the time.
- Install git
- Download the repository
- Prep and execute the scripts
- Admire the results
Now we can ssh into this virtual machine from our host machine:
It shows 1 minute and 6 seconds…
Of course for the speed some factors play a big role: internet speed, power of your host system, the mirror used and its speed…
It shows the system name that is specified in the script and uname -a shows that the latest kernel (as of writing this article) is used.
NOTICE: I will not go in any detail of what to do next with the VM to make it a production ready and secured system. That is outside the scope of the series of articles.
The sshd service is enabled and started as specified in the script. Before you can connect to it, you have to either allow root to login with a password or create an administrative account with ssh rights.
This concludes this article. If all went fine, you have now a virtual machine running a freshly installed Arch Linux system and ready to connect from the host machine.