Posts

Showing posts from 2013

Httpd “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName”

Httpd “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName”  #nano /etc/httpd/conf/httpd.conf Serach for ServerName  ServerName and replace it with ServerName localhost  Press Ctrl+O to save and exit #/etc/init.d/httpd restart

VICIdial Scratch installation Guide Latest SVN Trunk 2.8 with Asterisk 1.8.23.0-vici On CentOS 6.5

Update the system Make sure you update the system first, then reboot if you installed an updated kernel. yum -y update reboot Install the following software yum install make patch gcc gcc-c++ subversion php php-devel php-gd gd-devel php-mbstring php-mcrypt php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel httpd libpcap libpcap-devel libnet ncurses ncurses-devel screen mysql-server mysql-devel ntp kernel* mutt glibc.i686 Setup MySQL Setup default MySQL tables, start MySQL and configure root password Replace " MYSQL_PASSWORD " with a password that you want to create. /etc/init.d/mysqld start /usr/bin/mysqladmin -u root password ' MYSQL_PASSWORD ' mysql_secure_installation chkconfig mysqld on Here is a sample mysql configuration file you can use. Backup your original, then use this instead. service mysqld stop cp /etc/my.cnf /etc/my.cnf.original echo ""

DNS changes everytime after reboot in Ubuntu Server 12.04.3 LTS

DNS changes everytime after Reboot in Ubuntu Server 12.04.3 LTS 1. Login to your server #sudo su #password: 2. Edit the resolv.conf.d #nano /etc/resolvconf/resolv.conf.d/base 3. Put the DNS  nameserver 192.168.1.XXX 4. Write to the file by pressing Ctrl+O. 5. Reboot

Asterisk Upgrade 1.4 - 1.8 For CentOS (RedHat distros)

Asterisk Upgrade 1.4 - 1.8 For CentOS (RedHat distros) For CentOS (RedHat distros) yum -y install kernel-devel-$(uname -r) libtool* make gcc patch perl bison gcc-c++ ncurses-devel flex libtermcap-devel autoconf* automake* autoconf libxml2-devel cmake For Ubuntu/Debian apt-get -y install gcc g++ automake autoconf libtool make libncurses5-dev flex bison patch libtool autoconf linux-headers-$(uname -r) libxml2-devel cmake Download all your software in /usr/src/ directory. Change directory to /usr/src: #cd/usr/src Copy&paste  each of the lines below (one by one) in your command line (in /usr/src) to automatically download each software package (.tgz files)   #wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz #wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.8-current.tar.gz #wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4-current.tar.gz *  Do not download libpri