Skip to content

joaoramos1993/LinuxConfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents

LinuxConfig

Configurations of Vim Screen and Bashrc Test

In order to use copy the files using, located in config:

cp .bashrc ~/.bashrc
cp .vimrc ~/.vimrc
cp .screenrc ~/.screenrc

⚠️ No need to copy the above ⚠️ It's synced with the vagrant machine.

Change to root user and check linux configuration files. Check if your changes in Vim/Vi editor and your bash runcom file with root are as intended.

Vagrant

Vagrant is a tool for building and managing virtual machine environments in a single workflow. With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases production parity, and makes the "works on my machine" excuse a relic of the past.

Download

Download Location

Vagrant Setup

  • Virtualbox (Provider)
  • Vagrant > 2.2.2

Objective of Vagrant in Linuxconfig Project

This will help deploy a Linux machine to test out linux user environment configurations. Deploying what is on the repo and making it available directly on the machine.

Use Vagrant File

This was tested in Windows Host.
In your IDE (VSCode) or in your OS host shell interpreter, open the terminal on the root folder where vagrant file is located and run the following:

vagrant up

This will start the project and build the needed environment. For more information, click here
Vagrant File is written in Ruby syntax standard. Ruby and DSL's.

⚠️⚠️⚠️ Warning ⚠️⚠️⚠️
Don't run the following:

vagrant provision

This file was not made to provision the same stuff twice due to duplication settings on the virtual machine. Follow the initial steps again by doing the following.
After stopping the machine (manually) in virtualbox or with:

vagrant halt

To delete the machine:

vagrant destroy

Change keyboard layout through virtualbox GUI on the terminal

The keyboard configurationin the box is in English. This will only seen if using virtualbox GUI to access the VM.

sudo dpkg-reconfigure keyboard-configuration

Altough the above is taken care of to use the shell output through the Virtualbox GUI with the PT keyboard layout the above instruction will predure in the readme for future configurations if ever need change, due to multiple setup workstation that may be involved in ALTRAN and in any development circunstances.

Through putty your keyboard setting will be as your system is configured to. Since putty is a shell interpreter on another layer.

SSH Client

We recommend putty and the below configuration part.
But you are free to add your own key to the server and use any client that supports OpenSSH-2 PEM with RSA type (with the key vagrant generates).

You can also use:

vagrant ssh

With the terminal of your favourite IDE or powershell in the root folder where Vagrantfile is located to connect to your new provision machine.
For more information check the documentation.

What does this Box contain

Linux Config Dev Machine

  • Already syncing the git repository folder config with root home folder.

  • Content:

    • Ubuntu Bionic 18.04 LTS (64) - EOL 2023-04
      • Syncing the main 3 files of the Project
        • bashrc
        • screenrc
        • vimrc
      • US Layout changed to PT on VB GUI Usage
  • Note:

    • There is a reboot to apply keyboard layout and GUI at the end of the installation
  • Virtualized Components:

    • CPU: 1 Core
    • RAM: 2048 MB
    • Machine Domain: lc.inet
    • Host Only Virtual Network Adapter IP: 192.168.200.100
    • DISK Size: 20 GB (without this parameter the default is 10 GB)
    • Bidrectional clipboard & drag and drop enabled

For more information in customizable Virtual Box settings through Vagrant:

Vagrant User Experience Deployment

This is a user experience and the time taken of Vagrant local deployment. This was achieved prepending the command time as follows to the command to run in vagrant.

Installation Time: '6 minutes'

Virtual Box Version: 5.2.34 r133893 (Qt5.6.2) Vagrant Version: 2.2.6

time vagrant up

Deploy:

  • real 6m2,688s

About

Configurations of Vim Screen and Bashrc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published