Posts

Showing posts from January, 2018

Setup Jenkins: A continuous integration and continuous deployment toll on Ubuntu 14.04 machine for an Angular4 appication

How to setup jenkins in ubutu 14.04 SRC: https://vexxhost.com/resources/tutorials/how-to-install-configure-and-use-jenkins-on-ubuntu-14-04/ 1) sudo apt-get update 2) Basic Web Server [Only if you want build to be server by a web-server] apt-get install nginx Check service status: service nginx status 3) Java Installation sudo apt-get install openjdk-7-jdk verify the installation: java –version 4) Jenkins Installation and Configuration a) wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add – b) sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list' c) sudo apt-get install Jenkins Default user name [jenkin] Jenkins Continuous Integration Server is running with the pid 16997 Port: 8080 If you need to update the configurations of Jenkins as per your requirements, then you can find its configuration file under the `/etc/default/` directory and can make the changes...

Install Genymotion: A simulator tool for react-native applications and other mobile application in Ubuntu 14.04

Install genymotion 1) Download bin file https://www.genymotion.com/fun-zone/ 2) Give it executeable permissions chmod +x genymotion-2.1.0_x64.bin 3) cd genymotion 4) ./genymotion this will run the genymotion but it needs virtual box... 5) Download the virtual box from here... https://www.virtualbox.org/wiki/Linux_Downloads download linux for 64 bits or 32 based on OS sudo dpkg -i /path/to/deb/file followed by sudo apt-get install -f . ISSUES IN GENYMOTION 1) `CXXABI_1.3.8' not found (required by genymotion player issue while starting device SOL: https://stackoverflow.com/questions/37817792/how-to-fix-genymotion-in-linux-elementaryos-with-error-cxxabi-1-3-8-not-found/37817981 Execute the following 5 steps to solve it: LD_LIBRARY_PATH=/usr/local/lib64/:$LD_LIBRARY_PATH export LD_LIBRARY_PATH sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install gcc-4.9 g++-4...

Install watchman in Ubuntu 14.04

Install watchman:- SRC: https://facebook.github.io/watchman/docs/install.html Helper links: https://stackoverflow.com/questions/33592197/how-to-install-facebook-watchman-on-ubuntu https://www.howtoinstall.co/en/ubuntu/trusty/inotify-tools Installing from source You can use these steps below to get watchman built. You will need autoconf, automake and libtool (or glibtool on OS X). You may optionally build watchman without pcre and python support (see configuration options below). For python support, you will need setuptools and may need to install a python-dev or python-devel package. To build the C++ client library you will need to install libfolly. See below for some more information on options to configure your build. $ git clone https://github.com/facebook/watchman.git $ cd watchman $ git checkout v4.9.0  # the latest stable release $ ./autogen.sh [Issue1,2] $ ./configure $ make [Issue3] $ sudo make install ISSUE1: your system lacks libtooli...

Setup react-native in Ubuntu 14.04

https://facebook.github.io/react-native/docs/getting-started.html 1) Install build tools sudo apt-get install -y build-essential 2) Install react-native cli npm install -g react-native-cli 3)Install android studio - From: https://developer.android.com/studio/install.html download android studio go to path to bin ./studio.sh 3B) setup android stdio Choose a "Custom" setup when prompted to select an installation type. Make sure the boxes next to all of the following are checked: Android SDK Android SDK Platform Android Virtual Device Then, click "Next" to install all of these components. If the checkboxes are grayed out, you will have a chance to install these components later on. 3c) Install required JDK download the sdk for android 6.0 marshmallo The SDK Manager can also be found within the settings-> Android Studio "Preferences" dialog, under Appearance & Behavior → System Settings → Androi...