Skip to content

Instantly share code, notes, and snippets.

View lubry's full-sized avatar
💭
I may be slow to respond.

Lubriady Oktana lubry

💭
I may be slow to respond.
View GitHub Profile
@lubry
lubry / nginx.conf
Created January 19, 2018 11:40
nginx.conf and artifactory.conf in docker registry artifactory
root@c80fc0168cb6:/etc/nginx# cat conf.d/artifactory.conf
ssl_certificate /var/opt/jfrog/nginx/ssl/example.pem;
ssl_certificate_key /var/opt/jfrog/nginx/ssl/example.key;
ssl_session_cache shared:SSL:1m;
ssl_prefer_server_ciphers on;
## server configuration
server {
listen 443 ssl;
listen 80 ;
@lubry
lubry / install-docker-on-linux-mint-18.03.txt
Last active March 9, 2018 08:14
Install Docker Community Edition in Linux Mint 18.03
1. Update the apt package index:
$ sudo apt-get update
2. Install packages to allow apt to use a repository over HTTPS:
$ sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
@lubry
lubry / Install and Configure Ubuntu Firewall (UFW) on Ubuntu
Last active September 16, 2022 16:50
Install and Configure Ubuntu Firewall (UFW) on Ubuntu
##Install and Configure Ubuntu Firewall (UFW) on Ubuntu##
Install UFWsudo
root@xinix ~ # apt-get install ufw
Check the install
root@xinix ~ # ufw --version
#WARNING!
#You should Execute After Install UFW for Allow SSH Connnection
@lubry
lubry / Setup Rundeck Database Postgresql Debian 9
Created September 20, 2018 18:01
Setup Rundeck Database Postgresql Debian 9
Stop Service
service rundeckd stop
*)Note
Backup Before!
Backup your Rundeck data
Make a backup of your Projects
RPM/Debian install location: /var/rundeck/projects
Launcher location: $RDECK_BASE/prjoects
@lubry
lubry / Install OpenConnect in Debian 9.md
Last active January 18, 2023 18:49
Install OpenConnect in Debian 9 from .tar
Go to /tmp folder
root@debian-id:/# cd /tmp/
Extract in /tmp/
root@debian-id:/tmp# tar -xf openconnect-7.08.tar.gz
root@debian-id:/tmp# cd openconnect-7.08
Install some dependencies
root@debian-id:/tmp/openconnect-7.08# apt install pkg-config
@lubry
lubry / db-connect-test.php
Created January 14, 2019 17:40 — forked from chales/db-connect-test.php
Script for a quick PHP MySQL DB connection test.
<?php
# Fill our vars and run on cli
# $ php -f db-connect-test.php
$dbname = 'name';
$dbuser = 'user';
$dbpass = 'pass';
$dbhost = 'host';
$connect = mysql_connect($dbhost, $dbuser, $dbpass) or die("Unable to Connect to '$dbhost'");
@lubry
lubry / accounts.list
Created July 5, 2019 11:51 — forked from onlime/accounts.list
imapsync script to migrate multiple IMAP accounts in a row
# <SRCUSER> <SRCPW> <DSTUSER> <DSTPW>
@lubry
lubry / mrmeee-ansible-awx-epel-7.repo
Created September 24, 2019 01:34
mrmeee-ansible-awx-epel-7.repo
[copr:copr.fedorainfracloud.org:mrmeee:ansible-awx]
name=Copr repo for ansible-awx owned by mrmeee
baseurl=https://copr-be.cloud.fedoraproject.org/results/mrmeee/ansible-awx/epel-7-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/mrmeee/ansible-awx/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
@lubry
lubry / Requires: erlang 20.3.txt
Created September 24, 2019 02:40
Requires: erlang >= 20.3 CentOS 7
Requires: erlang >= 20.3
vi /etc/yum.repos.d/erlang-solutions.repo
Insert:
[erlang-solutions]
name=CentOS $releasever - $basearch - Erlang Solutions
baseurl=https://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch
gpgcheck=1
@lubry
lubry / Integrasi Jira dengan Jenkins.txt
Last active October 3, 2019 15:57
Integrasi Jira dengan Jenkins
Integrasi Jira dengan Jenkins
Oleh @lubry
Download MySQL Yum Repository pada halaman (http://dev.mysql.com/downloads/repo/yum/)
###Konfigurasi dan Instalasi Database MySQL untuk kebutuhan Jira###
[*]Install Yum Repository MySQL 5.7
sudo yum localinstall mysql57-community-release-el7-11.noarch.rpm