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:
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 #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
Tier 4: - most datacenters - owns internal network - pay other networks for IP transit outside the facility Tier 3: - regional providers - build redundancy thru' redundant POPs (points of presence) outside facility - pay for IP transit past the POPs Tier 2: - national or international footprint - still pay IP transit … Continue reading Network tiering
Tier 1: - 99.671% uptime - annual 28.8 hrs downtime - full shutdown for preventive maintenance Tier 2: - 99.741% uptime - annual downtime of 22 hrs - some redundancy with single path for power, requiring shutdown for preventive maintenance Tier 3: - 99.982% uptime - annual 1.6 hrs downtime - sufficient redundancy to allow … Continue reading Datacenter tiering
Some C++ coding tips: - Do not turn off warning level(s) from compilation. This will save you trouble later. Use as much stricter settings as possible. - Do not ignore warning(s) in your build process. - Stick to ANSI C++ coding as much as possible. All header file code must be contained within: #ifndef __file_h … Continue reading C++ coding tips
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
http://www.voipuser.org/forum_topic_9971.html - click to call http://www.jeremy-mcnamara.com/2007/02/26/how-to-configure-asterisk-your-first-installation/ http://www.asteriskguru.com/tutorials/asterisk_voip_ipphone.html -------------------------------- 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 http://downloads.digium.com/pub/asterisk/asterisk-1.6.0-beta7.1.tar.gz tar -zxvf asterisk-1.6.0-beta7.1.tar.gz ln -s asterisk-1.6.0-beta7.1 asterisk wget http://downloads.digium.com/pub/asterisk/asterisk-addons-1.6.0-beta3.tar.gz … Continue reading Install Asterisk on Centos
Core System : Network Manager : This would take care of system IP configuration in a DHCP network . This could be made static from gui , so that end users dont have to connect everytime they want to login . Share Sense : The system advertises to the gui software … Continue reading Asterisk database on MySql
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
Usually, I ssh to my sand box and if it happens to be Red Hat flavor; I jump to /etc/sysconfig/network-scripts and/or /etc/sysconfig/networking and tweak NICs. But, I love this one. On SuSE, I use YaSt! very very user friendly...