https://jenkins.io/ : The leading open source automation server, Jenkins provides hundreds of plugins to support building, deploying and automating any project.
openjdk-7-jre and openjdk-7-jdk are suggested.
Install Java 8 in Ubuntu:
1)
2)
3)
4)
Oracle JDK 8 installed
Optional:
set JAVA_HOME
1)
2)
3)
4)
Check Service -
** jenkins user is created to run the service
Log file location -
Config file -
Inside Your Ubuntu box :
root@ip-****:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
Setup: =>
You need to have a JDK and JRE installed.openjdk-7-jre and openjdk-7-jdk are suggested.
Install Java 8 in Ubuntu:
1)
praja@ip-****:/etc/apt/sources.list.d$ sudo add-apt-repository ppa:webupd8team/java
Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK7 / JDK8 / JDK9). There are no actual Java files in this PPA.
…
Ubuntu 16.10 Yakkety Yak is no longer supported by Canonical (and thus, Launchpad and this PPA). The PPA supports Ubuntu 17.10, 17.04, 16.04, 14.04 and 12.04.
…
Oracle JDK 9 is now considered stable. There are currently only 64bit builds (no other builds are available for download: http://www.oracle.com/technetwork/java/javase/downloads/index.html )
More info: https://launchpad.net/~webupd8team/+archive/ubuntu/java
Press [ENTER] to continue or ctrl-c to cancel adding it
OK
praja@ip-****:/etc/apt/sources.list.d$ ls
webupd8team-ubuntu-java-xenial.list
praja@ip-172-31-17-211:/etc/apt/sources.list.d$ cat webupd8team-ubuntu-java-xenial.list
deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main
# deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main
praja@ip-****:~/jenkins$ sudo apt-get update
Get:1 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease [17.5 kB]
Hit:2 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Get:5 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main amd64 Packages [2,912 B]
Get:6 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main Translation-en [1,260 B]
Get:7 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Fetched 226 kB in 0s (239 kB/s)
Reading package lists... Done
3)
praja@ip-****:~/jenkins$ sudo apt-get install oracle-java8-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
4)
praja@ip-****:~/jenkins$ javac -version
javac 1.8.0_151
Optional:
set JAVA_HOME
praja@ip-****:/usr/lib$ sudo update-alternatives --config java
There is 1 choice for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 auto mode
* 1 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 manual mode
Open => <sudo nano /etc/environment>
Update java home path.
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
JAVA_HOME="/usr/lib/jvm/java-8-oracle"
praja@ip-****:/usr/lib$ source /etc/environment
praja@ip-****:/usr/lib$ echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle
Install Jenkins :
1)
praja@****:~/jenkins$ wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
OK
2)
praja@ip-****:~/jenkins$ sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
praja@ip-****:~/jenkins$ sudo apt-get update
Hit:1 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:3 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Get:4 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Ign:5 http://pkg.jenkins.io/debian-stable binary/ InRelease
Get:6 http://pkg.jenkins.io/debian-stable binary/ Release [2,042 B]
Get:7 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:8 http://pkg.jenkins.io/debian-stable binary/ Release.gpg [181 B]
Get:9 http://pkg.jenkins.io/debian-stable binary/ Packages [12.5 kB]
Fetched 219 kB in 1s (181 kB/s)
Reading package lists... Done
praja@ip-****:~/jenkins$ sudo apt-get install jenkins
Reading package lists... Done
Building dependency tree
Reading state information... Done
…
Processing triggers for ureadahead (0.100.0-19) ...
Check Service -
praja@ip-****:~/jenkins$ sudo /etc/init.d/jenkins status
● jenkins.service - LSB: Start Jenkins at boot time
Loaded: loaded (/etc/init.d/jenkins; bad; vendor preset: enabled)
Active: active (exited) since Thu 2017-12-28 06:48:39 UTC; 3min 14s ago
Docs: man:systemd-sysv-generator(8)
Tasks: 0
Memory: 0B
CPU: 0
Dec 28 06:48:38 ip-172-31-17-211 systemd[1]: Starting LSB: Start Jenkins at boot time...
Dec 28 06:48:38 ip-172-31-17-211 jenkins[17388]: * Starting Jenkins Automation Server jenkins
Dec 28 06:48:38 ip-172-31-17-211 su[17409]: Successful su for jenkins by root
Dec 28 06:48:38 ip-172-31-17-211 su[17409]: + ??? root:jenkins
Dec 28 06:48:38 ip-172-31-17-211 su[17409]: pam_unix(su:session): session opened for user jenkins by (uid=0)
Dec 28 06:48:39 ip-172-31-17-211 jenkins[17388]: ...done.
Dec 28 06:48:39 ip-172-31-17-211 systemd[1]: Started LSB: Start Jenkins at boot time.
** jenkins user is created to run the service
praja@ip-****:~/jenkins$ id jenkins
uid=112(jenkins) gid=116(jenkins) groups=116(jenkins)
Log file location -
praja@ip-172-31-17-211:~/jenkins$ tail /var/log/jenkins/jenkins.log
Dec 28, 2017 6:48:59 AM hudson.model.DownloadService$Downloadable load
INFO: Obtained the updated data file for hudson.tasks.Maven.MavenInstaller
…
Config file -
praja@ip-172-31-17-211:~/jenkins$ cat /etc/default/jenkins
For More Info:
I have to appreciate you for your great work which you had done in your blog.i want you to add more like this.
ReplyDeleteJAVA Training in Chennai
JAVA Course in Chennai
Digital Marketing Course in Chennai
Python Training in Chennai
Big data training in chennai
Selenium Training in Chennai
JAVA Training in Chennai
JAVA Course in Chennai
I wanted to know how to Install Java Ubuntu and i came at right place. Thanks for sharing this article. Great efforts.
ReplyDelete"great
ReplyDeleteDigital Marketing Training Course in Chennai | Digital Marketing Training Course in Anna Nagar | Digital Marketing Training Course in OMR | Digital Marketing Training Course in Porur | Digital Marketing Training Course in Tambaram | Digital Marketing Training Course in Velachery
"
I have a similar interest this is my page read everything carefully and let me know what you think
ReplyDeleteDigital Marketing Training Course in Chennai | Digital Marketing Training Course in Anna Nagar | Digital Marketing Training Course in OMR | Digital Marketing Training Course in Porur | Digital Marketing Training Course in Tambaram | Digital Marketing Training Course in Velachery
instagram takipçi satın al
ReplyDeleteinstagram takipçi satın al
takipçi satın al
takipçi satın al
instagram takipçi satın al
takipçi satın al
instagram takipçi satın al
aşk kitapları
tiktok takipçi satın al
instagram beğeni satın al
youtube abone satın al
twitter takipçi satın al
tiktok beğeni satın al
tiktok izlenme satın al
twitter takipçi satın al
tiktok takipçi satın al
youtube abone satın al
tiktok beğeni satın al
instagram beğeni satın al
trend topic satın al
trend topic satın al
youtube abone satın al
beğeni satın al
tiktok izlenme satın al
sms onay
youtube izlenme satın al
tiktok beğeni satın al
sms onay
sms onay
perde modelleri
instagram takipçi satın al
takipçi satın al
tiktok jeton hilesi
pubg uc satın al
sultanbet
marsbahis
betboo
betboo
betboo
marsbahis
ReplyDeletebetboo
sultanbet
marsbahis
betboo
sultanbet
Are Yorkies good for first time dog owners?
ReplyDeleteteacup yorkie for sale
The Yorkshire terrier is a great starter dog for those who want a little lap dog. This breed is affectionate towards its owner and may even act protective around strangers.
The Yorkie has a moderate energy level and only needs basic exercise.
yorkie puppies for sale good for first time owners?
yorkie puppies for sale
It is the ideal pet for people who don't want to deal with pet fur at home or in their cars. This is the ideal pet for first time dog owners, since it trains easily and needs only moderate grooming maintenance. Yorkie poos are good with kids. It will play with them, is energetic and affectionate.
Are Yorkie hypoallergenic? Yes
Are Yorkie Poo good for first time owners?
yorkie for sale
It is the ideal pet for people who don't want to deal with pet fur at home or in their cars. This is the ideal pet for first time dog owners, since it trains easily and needs only moderate grooming maintenance. Yorkie poos are good with kids. It will play with them, is energetic and affectionate.
teacup chihuahuas for sale
Are Yorkie Poos good dogs?
yorkies for sale
Are Chihuahua puppies hard to train?
ReplyDeletechihuahua puppies for sale
Chihuahuas are intelligent, strong-minded dogs that like to do their own thing. This can make them stubborn, earning them a reputation for being hard to train. However, reward-based training methods do appeal to a Chihuahua and there's no reason why they can't be trained to be obedient, just as with any dog
Chihuahuas Have Fun, Playful Personalities
teacup chihuahuas for sale
Though chihuahuas are loyal and affectionate with their owners, they are anything but dull and love to play! However, no two chihuahuas are the same, so if you have a friend with a chihuahua, your pet is likely to be quite different and unique
What food is bad for Chihuahua?
teacup chihuahua for sale
Foods Your Chihuahua Shouldn't Eat
Alcohol. Alcohol (ethanol) is highly toxic to dogs. ...
Caffeine. Coffee is one of the world's most popular beverages, with roughly 83% of the United States adult population consuming it on a daily basis. ...
Chocolate. ...
Some Fruit Seeds, Pits and Cores. ...
Garlic. ...
Grapes and Raisins. ...
Hops. ...
Onions.
chihuahua puppy for sale
The easiest way to adopt a Chihuahua would be through a rescue that specializes in Chihuahuas. A great place to start would be by starting a breed search on https://www.chihuahuapuppiesforsale1.com/chihuahua-puppies-for-sale-near-me/. The search will show you all the available Chihuahuas in your area.
chihuahua puppies for sale near me
Is a Yorkie a good family dog?
ReplyDeleteYorkies, like many other Toy breeds, make good pets for people; they're especially good for senior citizens, people with medical issues, and those who may worry about the size and strength of a larger dog. ... They're loving, devoted, and very affectionate: This makes them great personal companions and good family pets.
Do Yorkshire terriers bark a lot?
yorkies for sale
Yorkshire Terriers are little dogs with huge personalities. teacup yorkies for sale With those huge personalities come a fierce territorial bark. Any time your phone rings, someone speaks or knocks on your door, or your doorbell chimes, your Yorkshire Terrier will likely bark. Outside noises aren't even required for barking for some Yorkies. yorkie puppies for sale
How much do Yorkshire terriers cost?
yorkie for sale near me
Typical Yorkie prices range from $1,500 to $3,000, but the cost can fall far below or above that range. Prices will vary based on the puppy's lineage, appearance, health, and the breeder. It's also possible to adopt an older Yorkie for significantly less through a rescue shelter. yorkie for sale
Ahaa, its nice dialogue about this piece of writing at this place at this webpage,
ReplyDeleteI have read all that, so at this time me also commenting here.
havanese dogs for sale
havanese puppies for sale
teacup havanese puppy
chocolate havanese puppy for sale
teacup pomeranian for sale
doodle puppies
aussiedoodle puppies for sale
bernedoodle puppies for sale
goldendoodle puppies for sale
https://www.fluffyhavanese.com/
Thanks for sharing your thoughts. I truly appreciate your efforts and I will be waiting for your further
ReplyDeletewrite ups thanks once again
pomeranian puppies for sales
pomeranian for sale
teacup pomeranian for sale near me
pomeranians for sale near me
teacup pomeranian for sale
pomeranian puppies for sales
pomeranian for sale
teacup pomeranian for sale
havanese puppies for sale near me
https://www.pomeranianpuppiesforsales.com/
I take pleasure in, result in I discovered exactly what I used to be taking a look
ReplyDeletefor. You’ve ended my 4 day lengthy hunt! God Bless you man.
great dane puppies for sale
great dane puppy for sale
great dane puppies near me
great dane puppies for sale near me
ragdoll kittens for sale near me
ragdoll kitten near me
goldendoodle for sale
teacup havanese puppies for sale
pomeranian teacup for sale
great dane puppy for sale
https://www.redemptionbullies.com/
you will need support or suggestions, write me privately.
ReplyDeleteI interested in your implementation/use case.
the best situs slot terbaik
Togel2win
seo fiyatları
ReplyDeletesaç ekimi
dedektör
instagram takipçi satın al
ankara evden eve nakliyat
fantezi iç giyim
sosyal medya yönetimi
mobil ödeme bozdurma
kripto para nasıl alınır
bitcoin nasıl alınır
ReplyDeletetiktok jeton hilesi
youtube abone satın al
gate io güvenilir mi
binance referans kimliği nedir
tiktok takipçi satın al
bitcoin nasıl alınır
mobil ödeme bozdurma
mobil ödeme bozdurma