Login

Login
  • Register
  • VectorDesign blog

    Testing Automation and general Tech Geek stuff

    Linux Screen Cheat Sheet

    You can use Linux Screen to run tests  without maintaining an active shell session. To do that start Linux Screen by typing screen in the console  you can either close the session or hit Ctrl + a , d. To reattach to the screen. To Reconnect  type screen -r . if you have more than […]

    Tuesday, January 10th, 2017

    Manually upgrade Jenkins

    1. download the version of jenkins you want to use 2. Navigate to /usr/share/jenkins 3 Replace the war file   Restart the service

    Thursday, July 30th, 2015

    install I3wm on linux mini installation

    install xinit {code} sudo apt-get install xinit {code}   sudo apt-get install i3

    Sunday, June 7th, 2015

    Clean up trash from terminal

    find the path of the trash folder by typing sudo find / -type d -name *Trash* you should have an output /media/root/virtual_boxes/.Trash-0 /home/chester/.local/share/Trash   choose the trash folder you want to delete   sudo rm -rf /media/root/virtual_boxes/.Trash-0  

    Sunday, June 7th, 2015

    Log in as root Ubuntu

    Root user is locked by default in ubuntu systems but if you want to access root rights enter in  shell sudo -i

    Wednesday, April 29th, 2015

    OpenVpn Ubuntu how to

    Install Open VPN {code} sudo apt-get install openvpn {code} Connect

    Friday, April 3rd, 2015

    SVN over Terminal ubuntu

    SVN check out   svn checkout http://example.com/svn/somerepo {folder name}

    Friday, April 3rd, 2015

    Run Commands on UserLog in

    add the command you want to run in ~/home/.profile sudo nano .profile To run a command in boot you need to create a .sh file with the command you want to run and add a reference in  /etc/rc.local Example sh /selenium/selenium_service.sh exit 0    

    Friday, March 20th, 2015

    Install Updates Ubuntu

    Update Packages and updates sudo apt-get update # Fetches the list of available updates sudo apt-get upgrade # Strictly upgrades the current packages sudo apt-get dist-upgrade # Installs updates (new ones)

    Friday, March 20th, 2015

    Install Google Chrome Terminal

    To add PPA in Ubuntu 14.04 / 13.10 / 13.04 / 12.10 / 12.04  run the following command in the terminal, type the password for the user when prompted.   wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add – After installing the key, run the below command to add it to the repository. sudo […]

    Tuesday, March 17th, 2015

    Xvfb

    Install Xvfb – the X Virtual FrameBuffer This piece of software emulates the framebuffer using virtual memory which lets you run X-Server in machines with no display devices. This service is required to make browsers run normally by making them believe there is a display available. To install xvfb in ubuntu or Debian, run the […]

    Wednesday, March 11th, 2015

    Install Guest Additions on VM linux

    sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11 sudo apt-get install virtualbox-guest-additions-iso

    Tuesday, March 10th, 2015

    mount a shared folder in Virtual Box Linux Guest

    Start up your guest OS in VirtualBox. In the window for the running virtual machine, select Devices->Shared Folders… Click the icon to Add a New Shared Folder. Select the Folder Path drop-down and click Other. Navigate to your shared folder and click Choose. VirtualBox Add Share Click OK twice. That was the easy part. Go […]

    Monday, March 9th, 2015

    Install Java 8 in Ubuntu

    sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer

    Monday, March 9th, 2015

    clone git in console

    2.1 Git Basics – Getting a Git Repository If you can read only one chapter to get going with Git, this is it. This chapter covers every basic command you need to do the vast majority of the things you’ll eventually spend your time doing with Git. By the end of the chapter, you should […]

    Wednesday, March 4th, 2015

    Run Maven test on Linux command

    to run a Test Class mvn test -Dtest=classname To run a specific test (@Test) in a class file mvn -Dtest=TestCircle#xyz test where TestCircle is the test class name and xyz is the test method, wild card characters also work (both in the method name and class name).   To run all tests in a package […]

    Wednesday, March 4th, 2015

    Change Host name in linux

    In order to change the name of your Server you need to edit the computer name in two files: /etc/hostname and /etc/hosts These will both need administrative access, so run

    Wednesday, March 4th, 2015

    install an rpm package from terminal

    An rpm is simply a compressed folder that contains the source of the programm you want to install First check to see if a rpm is installed on your system rpm If you get a response rpm command not found install the rpm programm sudo apt-get install rpm simply guide to the folder that the […]

    Wednesday, November 12th, 2014

    Installing i3 on a minimal linux instalation

    i3-wm is a window title manager for linux that can come really handy to use if you can get seperated from the mouse. i3 needs openx to installed on your machine in order to work. Open a terminal and give the following command sudo apt-get install xinit then install the actual i3-wm by entering the […]

    Wednesday, November 12th, 2014