Skip to content

Instantly share code, notes, and snippets.

View BrioNetworks's full-sized avatar

BrioNetworks BrioNetworks

View GitHub Profile
@BrioNetworks
BrioNetworks / Kannel Install Guide
Last active July 5, 2020 16:39 — forked from kewogc/gist:1d679c6c83977d69106f
HOW TO INSTALL KANNEL ON UBUNTU
~# uname -a
~# lsb_release -a
~# locale-gen en_US
~# locale-gen en_US.UTF-8
~# apt-get -y --force-yes remove ntpdate
~# apt-get -y --force-yes install ntp
~# /etc/init.d/ntp restart
~# dpkg-reconfigure tzdata
# www.adityasaputra.com
:global ddnsuser "Usernam Dynu.com"
:global ddnspass "Password Dynu.com"
:global theinterface "Interface"
:global ddnshost "domain.dynu.com"
:global ipddns [:resolve $ddnshost];
:global ipfresh [ /ip address get [/ip address find interface=$theinterface ] address ]
:if ([ :typeof $ipfresh ] = nil ) do={
:log info ("dynu: No ip address on $theinterface .")
@BrioNetworks
BrioNetworks / update.sh
Created February 24, 2024 18:41 — forked from UbuntuEvangelist/update.sh
Kannel 1.4.5 with OpenSMPP and SQLBox Installation Script for Ubuntu 18.04
#!/bin/sh
apt-get update
apt-get install mysql-server
wget --no-check-certificate https://ftp.gnu.org/gnu/bison/bison-1.28.tar.gz
tar -xvf bison-1.28.tar.gz
rm bison-1.28.tar.gz
cd bison-1.28
./configure --prefix=/usr/local/bison --with-libiconv-prefix=/usr/local/libiconv/
make