Langsung ke konten utama

Postingan

Menampilkan postingan dari Agustus, 2018

SSL Certificate at Apache2

We need installed apache2, teks editor (e.g. nano) and domain (e.g. jusmelon.com) Install apache2 $ sudo apt install apache2 -y Get certificate and put to path e.g. /home/ubuntu/ssl-certificates/here $ ls /home/ubuntu/ssl-certificates/   cert.crt cert.key README Configuration $ sudo nano /etc/apache2/sites-available/000-default.conf Add this to end of file <VirtualHost *:443> SSLEngine on SSLCertificateFile /home/ubuntu/ssl-certificates/cert.crt SSLCertificateKeyFile /home/ubuntu/ssl-certificates/cert.key </VirtualHost> Enable module and restart service $ sudo a2enmod ssl $ sudo service apache2 restart Check Open browser and type https://jusmelon.com Enter

Jenkins

Pull from Docker-Hub To use the latest LTS:  docker pull jenkins/jenkins:lts To use the latest weekly:  docker pull jenkins/jenkins Build from Docker images docker run -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home --name jenkins --restart always jenkins/jenkins:lts Check at http://localhost:8080/ (Dashboard) http://localhost:50000/ (Status)