Блог

How to install java 8 on Ubuntu 16.04

The Oracle JDK, includes a development environment for building applications with the Java programming language. Please be aware that some elements of the Oracle JDK are proprietary, meaning that there may be licensing implications with respect to applications you develop with it.

Installing Jenkins on Ubuntu

Installation wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins

Upgrade
Once installed like this, you can update to the later version of Jenkins (when it comes out) by running the following commands: sudo apt-get update
sudo apt-get install jenkins

What does this package do?

How to enable ssh remote access in Ubuntu

Here’s how to enable ssh remote access in Ubuntu

  • Open terminal (Ctrl+Alt+T)
  • Install openssh-server using following command:
    sudo apt-get install openssh-server
  • To check ssh status run
    sudo service ssh status
  • You may change some settings (e.g., the listening port, and root login permission) by editing the configuration file via command:
    sudo nano /etc/ssh/sshd_config
  • Restart ssh server:
    sudo service ssh restart

How to execute some script on once user logged in

Hi everyone!

Today I'm going on to talk about how to execute some script on once user logged in.

The full instruction is seporated to three main steps:

  • Create executor
  • add the executor to user's login items
  • enable auto login after reboot/turn on a mac.

1. Create executor:

Work with Jenkins on Mac OS 10.+/Ubuntu 16.10

Based on https://wiki.jenkins.io/display/JENKINS/Thanks+for+using+OSX+Installer

Changing boot configuration

Mac OS

The launch daemon picks up the command line options from a standard preferences file, /Library/Preferences/org.jenkins-ci.plist. If the file does not exist, built-in defaults are used. The preference files are manipulated using the standard utility defaults.

How to Configure STF Cluster

Precondition:

master machine: #1 Mac OS - with public ip X slave machine: #2 Mac OS - with public ip Y

Preparing machines

Environment

  1. Xcode 8.3+
  2. Android SDK
  3. Java 1.7+
  4. STF - use this instructions to install the stf on mac os https://github.com/openstf/stf

Getting Started On the macos #1

How to point command line tools to necessary xcode

Hi everyone!

Sometime when we have more the one xcodes on the mac we need to point command line tools to necessary of them.

For this target use the following command:sudo xcode-select --switch /Applications/Xcode-beta.app/Contents/Developer

Have a nice day!

How to install/downgrade Android SDK via terminal

1. Go to the android developer com  to find the link https://developer.android.com/studio/index.html
mkdir android-sdk
cd android-sdk
on macos: curl -O https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip
brew install wget
wget https://dl.google.com/android/repository/sdk-tools-darwin-3859397.zip
on linux: wget https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip
unzip sdk-tools-*.zip

Страницы