:: Install DBMail Administrator on CentOS

50 sec read

:: What is DBMA
DBMail is an open source, Unix IMAP/POP3 mail storage and retrieval system which together with an MTA (Mail Transfer Agent) like Postfix enables vastly scalable mail systems with SQL database (RDBMS) storage (i.e.: MySQL, PostgreSQL) and retrieval of all e-mail and user data. – dbma
 
:: How to install DBMail Administrator
+ Download and extract

wget //dbma.ca/DBMA_SQL_V2.tar.gz
tar -xzf DBMA_SQL_V2.tar.gz -C /var/www

+ change permission

chmod 777 /var/www/dbmailadministrator
chmod 755 /var/www/dbmailadministrator/*.cgi

+ installing Perl Modules

perl -MCPAN -e shell
CPAN> install Digest::MD5
CPAN> install Bundle::libnet
CPAN> install DBI
CPAN> install DBD::mysql
CPAN> install CGI

+ setup vhost / httpd.conf

# enable perl script on httpd
AddHandler cgi-script .cgi .pl
# change / setup on your vhost
<VirtualHost *:80>
    DocumentRoot /var/www/dbmailadministrator
    ServerName sub.domainname.com
        <Directory "/var/www/dbmailadministrator/">
		AllowOverride None
  		Options ExecCGI MultiViews
  		Order allow,deny
  		Allow from all
  		AuthUserFile /var/www/dbmailadministrator/.htpasswd
  		AuthGroupFile "apache"
  		AuthType Basic
  		AuthName "Enter username and password."
  		require valid-user
		order allow,deny
        </Directory>
</VirtualHost>

+ create .htpasswd

htpasswd -c  /var/www/dbmailadministrator/.htpasswd useradmin

+ restarting httpd

/etc/init.d/httpd restart

+ testing
open your DBMail Administrator using your browser on

//sub.domainname.com

and setup your DBMail Administrator info.

 
:: Link
+ Google
+ Dbma

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