Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Bilal Tonga bgunebakan

🏠
Working from home
View GitHub Profile
@bgunebakan
bgunebakan / erpnext_install.sh
Last active Nov 5, 2019
ERPNext manual install on Debian 10 (fork from https://murgatroyd.za.net/?p=284)
View erpnext_install.sh
#As Root User
apt upgrade -y
apt update -y
#Until recently, and based on many/most of the "standard" installation documents,
#I used the default username of "frappe" - but have been told that this is not advisable,
#since it is a targeted username for hacking attempts, so I have changed this to erp_base
#Whatever you choose, make sure you have a decent password!
adduser erp_base
usermod -aG sudo erp_base
@bgunebakan
bgunebakan / pjsip_install.sh
Last active May 26, 2022
PJSIP and PJSUA installation on Debian 8.8
View pjsip_install.sh
#install depencies
apt install python-dev gcc make gcc binutils build-essential
#get pjsip
wget http://www.pjsip.org/release/2.6/pjproject-2.6.tar.bz2
tar -xjf pjproject-2.6.tar.bz2
cd pjproject-2.6
#configure
export CFLAGS="$CFLAGS -fPIC"
#build pjsip
View orange-pi-zero-av-out.txt
Terminalden tv modülünü ekleyin
#sudo nano /etc/modules
dosyanın sonuna "tv" ekleyin ve kaydedip çıkın.
Cihazı reboot edip video kablosunu artı ucunu pin 9(av out), eksi ucunu pin 2(gnd) bağlayın.
Kabloyu televizyonun sarı video girişine bağlayın.
Terminalden tv modülünü aktif edin:
@bgunebakan
bgunebakan / linaro-gcc
Last active Aug 17, 2016
Linaro standalone gcc compiler
View linaro-gcc
Linaro's standalone cross-compiler toolchain is recommended for Olimex boards.
get from:
http://releases.linaro.org/14.11/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf.tar.xz
and unpacked it in /usr/local and define
export PATH="/usr/local/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf/bin/:$PATH"
@bgunebakan
bgunebakan / gen_crt.sh
Created May 19, 2016
Generate certificate and key for umurmur
View gen_crt.sh
# based on http://www.akadia.com/services/ssh_test_certificate.html
##
sudo mkdir /etc/umurmur
cd /etc/umurmur
sudo openssl genrsa -des3 -out server.key 1024
sudo openssl req -new -key server.key -out server.csr
sudo cp server.key server.key.org
@bgunebakan
bgunebakan / umurmur_raspi.sh
Created May 19, 2016
Umurmur server installer script for Raspberry Pi boards.
View umurmur_raspi.sh
#!/bin/sh
# umurmur_raspi . sh
#
# Copyright (c) 2016 Bilal Tonga
#
#
echo "building Dependencies . . . "
sudo apt-get install git
@bgunebakan
bgunebakan / firewall.txt
Created May 9, 2016
internet to intranet connection sharing generator.
View firewall.txt
you can edit conf from http://easyfwgen.morizot.net/gen/index.php
copy generated script to home folder
$ chmod a+x wifitables.sh
$ ./wifitables.sh
you need add your DNS address to internal network devices.
add it to /etc/resolv.conf
nameserver DNS_SERVER
@bgunebakan
bgunebakan / wifi_raspi.conf
Last active May 8, 2016
raspberry pi 3 wifi static IP configuration
View wifi_raspi.conf
#wpa_supplicant
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB
network={
ssid="SSID NAME"
psk="PASS"
key_mgmt=WPA-PSK
@bgunebakan
bgunebakan / cap5.txt
Created Feb 29, 2016
Solve error "make[3]: *** No rule to make target '/usr/lib64/perl5/CORE/EXTERN.h', needed by 'Cap5.o'. Stop."
View cap5.txt
# To workaround you can create link to ubuntu package folder
find /usr -name "EXTERN.h" # find perl lib folder maybe its different
sudo mkdir /usr/lib64
sudo ln -s /usr/lib/x86_64-linux-gnu/perl/5.20.2/ /usr/lib64/perl5
View creworker python depencies.txt
#uninstall pillow and PIL
pip install image
sudo apt-get install python-dev
sudo apt-get install python-imaging-tk
sudo apt-get install tk8.5-dev tcl8.5-dev