Skip to content

Instantly share code, notes, and snippets.

View samsulmaarif's full-sized avatar

Samsul Ma'arif samsulmaarif

View GitHub Profile
## deploy codelabs/tools
wget https://github.com/googlecodelabs/tools/releases/download/v2.2.0/claat-linux-amd64
mv claat-linux-amd64 /usr/bin/claat
chmod +x /usr/bin/claat
su - ubuntu
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash
nvm install 12.11.0
https://192.168.1.200:8006
user : root
password : smknusa
http://192.168.1.14:9001/notes.txt
wiki.samsul.web.id
# model = 1100AHx2
# Panduan instal http://labkom.co.id
/system script
add name=tg_getUpdates policy=read \
source=":global TGLASTMSGID\r\
\n:global TGLASTUPDID\r\
\n\r\
\n:local fconfig [:parse [/system script get tg_config source]]\r\
\n:local http [:parse [/system script get func_fetch source]]\r\
\n:local gkey [:parse [/system script get tg_getkey source]]\r\
login samsul
sudo hostnamectl set-hostname irgsh
sudo vim /etc/hosts
sudo apt update
sudo apt install docker.io redis gpg pbuilder debootstrap devscripts python-apt reprepro curl
curl -L -o- https://raw.githubusercontent.com/BlankOn/irgsh-go/master/install.sh | bash
irgsh-init
@samsulmaarif
samsulmaarif / README.md
Created April 27, 2019 14:55 — forked from sutlxwhx/README.md
Installation of Proxmox 5 on Debian 9

Introduction

This tutorial will help you install Proxmox 5 on a freshly installed Debian 9.
It was tested on a dedicated server at hetzner.

Installation

Fisrt things first. Create a custom repository to pickup Proxmox related packages:

echo "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
wget http://download.proxmox.com/debian/proxmox-ve-release-5.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg
sudo apt update
sudo apt-get -y install qemu-kvm libvirt-daemon libvirt-clients bridge-utils sasl2-bin python-guestfs supervisor
virsh list --all
sudo apt install virt-manager
sudo systemctl status libvirtd
sudo systemctl restart libvirtd
#!/bin/bash
CONTAINER_LIST=$(docker ps -aq)
for CONTAINER in $(echo $CONTAINER_LIST); do
if [ "x${CONTAINER}" == "x" ]; then
echo "UNKNOWN - Container ID or Friendly Name Required"
exit 3
fi
Cafe Pelangi, Malang
Minggu, 7 April 2019
@pmiirtimerdekamalang x KLiM
Berkenalan dengan GNU/Linux
- Apa itu GNU/Linux?
- sudah pake Linux?
- mengapa belum pake Linux? apa saja alasannya?
class quiznginx{
class{ 'nginx':
repo_manage => true,
repo_branch => 'stable',
package_ensure => 'latest',
package_name => 'nginx',
package_extras => [],
service_manage => true,
service_enable => true,
service_ensure => 'running',
Composer: COMPOSER_CACHE_DIR
Yarn: YARN_CACHE_FOLDER
npm: NPM_CONFIG_CACHE
bower: bower_storage__packages
RubyGems: GEM_SPEC_CACHE
pip: PIP_DOWNLOAD_CACHE