:: Installing VegaDNS

46 sec read

:: What is VegaDNS
VegaDNS is a tinydns administration tool written in PHP to allow easy administration of DNS records through a web browser.

:: How to Install VegaDNS on Linux Debian
+ Get source code

# cd /var/www/
# wget https://github.com/shupp/VegaDNS/tarball/master
# tar -xzf master
# mv shupp-VegaDNS-c8e935f/ vdns

+ Setup databases

# mysqladmin -u root create vdns -p
# mysql -u root -e "grant all privileges on vdns.* to vdns@localhost identified by 'passwd'" -p

+ Change permission

# cd /var/www/vdns
# mkdir templates_c configs cache sessions
# chown www-data.www-data -R /var/www/vdns/
# chmod 770 -R /var/www/vdns/

+ Edit config.php files

# cd /var/www/vdns/src/
# vi config.php
// Location of vegadns private directories
$private_dirs = '/var/www/vdns';

// Mysql settings
$mysql_host = 'localhost';
$mysql_user = 'vdns';
$mysql_pass = 'passwd';
$mysql_db = 'vdns';

// Local URL
$vegadns_url = '//127.0.0.1/vdns/';

+ Configure update-data.sh

# cd /var/www/vdns
# vi update-data.sh
## The FULL path to the index.php file for the VegaDNS
#############
VEGADNS='//127.0.0.1/vdns/index.php'

+ Setting crontab

# cp update-data.sh /usr/local/sbin/
# crontab -e
### Update tinydns with VegaDNS data
*/10 * * * * /usr/local/sbin/update-data.sh

:: Checking Installation on the webrowser
Going to URL for VegaDNS [ //127.0.0.1/vdns/index.php ]


:: Links
+ Google
+ VegaDNS

How to fix problem with the editor ‘vi’

:: git error with vi error: There was a problem with the editor 'vi'   :: how to fix the problem 0. check path...
sysadmin.id
10 sec read

Apache :: MP4 Streaming

:: How to Enable mp4 Streaming in Apache + Installing mod h624 streaming wget //h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz tar -xzf apache_mod_h264_streaming-2.2.7.tar.gz cd mod_h264_streaming-2.2.7/ ./configure --with-apxs=`which apxs2` make...
sysadmin.id
18 sec read

Apache :: Flash / FLV Streaming

:: How to Configure Apache for FLV Streaming + Installing mod_flvx wget //people.apache.org/~pquerna/modules/mod_flvx.c which apxs /usr/bin/apxs /usr/bin/apxs -cia mod_flvx.c + setup mod_flvx in http.conf...
sysadmin.id
15 sec read