Colorize bash prompt

Add this to ~/.bash_profile file: export PS1="[\e[32m][[\e[m][\e[31m]\u[\e[m][\e[33m]@[\e[m][\e[32m]\h[\e[m]:[\e[36m]\w[\e[m][\e[32m]][\e[m]\$ " The shell looks something like this:


k3s kubernetes cluster

#k3s #rancher #kubernetes #cluster #container To setup control node: If you do not want traefik ingress controller by default:export INSTALL_K3S_EXEC="server --no-deploy traefik"If you want to install a specific version, add following.INSTALL_K3S_VERSION=${K3S_VER}If you want to skip SE Linux check, add following.INSTALL_K3S_SKIP_SELINUX_RPM=true Remember output of the node-token file to setup one or more worker nodes. sudo systemctl … Continue reading k3s kubernetes cluster

Asterisk real-time DB with Trixbox

mysql> show columns in extensions in asteriskrealtime; +----------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +----------+--------------+------+-----+---------+----------------+ | id | int(11) | NO | MUL | NULL | auto_increment | | context | varchar(20) | NO | PRI | NULL | | | exten | varchar(20) | NO | PRI … Continue reading Asterisk real-time DB with Trixbox

Install Asterisk on Centos - click to call -------------------------------- yum -y update yum -y install gcc gcc-c++ libtermcap-devel kernel-devel bison openssl-devel mysql mysql-server mysql-devel OR if 'uname -a' says SMP  yum -y install gcc gcc-c++ libtermcap-devel kernel-smp-devel bison openssl-devel mysql mysql-server mysql-devel reboot cd /usr/src wget tar -zxvf asterisk-1.6.0-beta7.1.tar.gz ln -s asterisk-1.6.0-beta7.1 asterisk wget reading Install Asterisk on Centos

Installing Centos 5 and Asterisk 1.4.6

Installing CentOS for Asterisk Based on Centos 5 for i386 on AMD Duo-core 64bit machine ================> Required packages Minimal install kernel-devel / kernel-smp-devel bison openssl-devel for mysql support (Asterisk sip mysql peers, Asterisk voicemail database, Asterisk cdr mysql etc) add mysql mysq-server mysql-devel Installation process Select minimal from the Package Group selector option (on Centos … Continue reading Installing Centos 5 and Asterisk 1.4.6