Skip to content

Instantly share code, notes, and snippets.

View riipandi's full-sized avatar
🦀
Deep dive into Rust

Aris Ripandi riipandi

🦀
Deep dive into Rust
View GitHub Profile
@riipandi
riipandi / pureftpd-centos-setup.sh
Created March 11, 2012 11:01
Pure-FTPd Install Script - CentOS 6.x / Fedora 16
#!/bin/bash
# ----------------------------------------------------------------------
# http://www.howtoforge.com/virtual-hosting-with-PureFTPd-and-mysql-debian-lenny
# ----------------------------------------------------------------------
# Install Apache, MySQL, PHP
yum install -y mysql mysql-server php phpmyadmin httpd
# Install & konfigurasi PureFTPd
@riipandi
riipandi / squid-plus-mikrotik.txt
Created March 11, 2012 11:02
Squid Proxy & Mikrotik Setup Script
http://ictsentani.org/?p=258
http://opensource.telkomspeedy.com/forum/viewtopic.php?pid=122506
#-------------------------------------------------------------------------------
E1 Modem1 : 192.168.77.1 -> IP Modem1 : 192.168.77.2
E2 Server : 192.168.88.1 -> IP Server : 192.168.88.2
E3 Hotspot : 192.168.99.1 -> IP Hotspot : 192.168.99.10 - 192.168.99.250
E4 Labkom : 10.10.10.254 -> IP Labkom : 10.10.10.1 - 10.10.10.20
#-------------------------------------------------------------------------------
@riipandi
riipandi / squid-plus-mikrotik.txt
Created March 11, 2012 11:03
Squid Proxy & Mikrotik Setup Script
http://ictsentani.org/?p=258
http://opensource.telkomspeedy.com/forum/viewtopic.php?pid=122506
#-------------------------------------------------------------------------------
E1 Modem1 : 192.168.77.1 -> IP Modem1 : 192.168.77.2
E2 Server : 192.168.88.1 -> IP Server : 192.168.88.2
E3 Hotspot : 192.168.99.1 -> IP Hotspot : 192.168.99.10 - 192.168.99.250
E4 Labkom : 10.10.10.254 -> IP Labkom : 10.10.10.1 - 10.10.10.20
#-------------------------------------------------------------------------------
@riipandi
riipandi / ispconfig3-debian6.sh
Created March 11, 2012 11:04
ISPConfig3 Installer (Debian Squeeze 32bit)
#!/bin/bash
#
# Debian GNU/Linux Installation Script for LAMP + ISPConfig3
# Script written by Aris S Ripandi (riespandi@gmail.com) 15/01/2012
#
# Referensi:
# - http://www.howtoforge.com/how-to-run-your-own-name-server-with-ispconfig-3-and-fast-hosts
# - http://www.howtoforge.com/perfect-server-debian-squeeze-with-bind-and-courier-ispconfig-3
# - http://www.howtoforge.com/installing-mydns-ng-and-mydnsconfig-on-debian-squeeze
# - http://www.howtoforge.com/how-to-run-your-own-name-server-with-ispconfig-3-and-fast-hosts
@riipandi
riipandi / baik-setup.iss
Created March 11, 2012 11:05
BAIK Interpreter Setup Script
; -----------------------------------
; BAIK 7.0 INNO Installer SCript
; Aris S Ripandi (riespandi@gmail.com)
; -----------------------------------
[Setup]
AppId={{87CBA5F1-7CDC-44E9-BFEB-3D1E7841A2C2}
AppName=BAIK Interpreter
AppVersion=7.0
AppPublisher=Haris Hasanudin,MSc.
@riipandi
riipandi / modem-smart-zte.sh
Last active October 1, 2015 15:57
Setup Modem SMART ZTE
#!/bin/sh
# Written by Aris S Ripandi (riespandi@gmail.com
# 2012/01/16
# http://www.hex-a.blogspot.com/2012/12/cara-setting-modem-smart-freen-ce682-di.html
# cek user dulu (harus root)
[[ $(id -u) -ne 0 ]] && { echo "$0: You must be root user to run this script. Run it as 'sudo $0'"; exit 1; }
function setup() {
lsusb
eject /dev/sr0
@riipandi
riipandi / tabel-lisensi-mikrotik.txt
Created March 28, 2012 13:59
Tabel Perbandingan Level Lisensi Mikrotik
---------------- PERBEDAAN LEVEL PADA LICENSE MIKROTIK -----------------
------------------------------------------------------------------------
Level Number 4 (WISP) 5 (WISP) 6 (Controller)
------------------------------------------------------------------------
Upgradable To --------------- ROS v4.x ROS v5.x ROS v5.x
Initial Config Support ------ 15 days 30 days 30 days
Wireless AP ----------------- yes yes yes
Wireless Client and Bridge -- yes yes yes
RIP, OSPF, BGP protocols ---- yes yes yes
EoIP tunnels ---------------- ----------- unlimited -----------
@riipandi
riipandi / getubrepo.sh
Created May 15, 2012 22:22
Download Ubuntu ISO DVD Repository
#!/bin/bash
# @des: Download Ubuntu ISO DVD Repository
# @author: Aris S. Ripandi <riespandi@gmail.com>
# @usage: chmod +x getubrepo && ./getubrepo 32
# ----------------------------------------------------------------------
_bit="${1:-64}"
_arch="i386"
_version="12.04"
_base="http://kambing.ui.ac.id/iso/ubuntu-repository/${_version}"
[ "$_bit" == "64" ] && { _arch="amd64"; }
@riipandi
riipandi / getdeb6.sh
Created May 15, 2012 22:23
Download Debian Squeeze DVD images
#!/bin/bash
# getdeb6: Download Debian 6 DVD images
# Tip: run it over screen session
# Added $_version for easy upgrade
# @usage: chmod +x getubrepo && ./getubrepo 32
# ----------------------------------------------------------------------
_bit="${1:-64}"
_arch="i386"
_version="6.0.5"
_base="http://cdimage.debian.org/debian-cd/${_version}/i386/iso-dvd/"
@riipandi
riipandi / rcube-setup.sh
Created June 10, 2012 12:35
Install RoundCube Webmail Client
#!/bin/bash
#
cd /tmp && wget http://dl.dropbox.com/u/3643528/siliwangi/rcubemail.tar.gz
tar xzvf rcubemail.tar.gz && cp -r /tmp/rcubemail /var/www/
rm -fr /tmp/rcubemail*
cat > /tmp/rcubemail.sql <<EOF
CREATE DATABASE rcubemail;
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON rcubemail.* TO 'dbmailuser'@'localhost' IDENTIFIED BY '(*&^%$#@!)';
FLUSH PRIVILEGES;