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 […]
1. download the version of jenkins you want to use 2. Navigate to /usr/share/jenkins 3 Replace the war file Restart the service
install xinit {code} sudo apt-get install xinit {code} sudo apt-get install i3
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
Root user is locked by default in ubuntu systems but if you want to access root rights enter in shell sudo -i
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
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)
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 […]
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 […]
sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11 sudo apt-get install virtualbox-guest-additions-iso
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 […]
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer
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 […]
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 […]
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
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 […]
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 […]