Firefox 16, a treat for developers http://t.co/cnd27CzT
MyDNS & MyDNSConfig 3 On Fedora 11
Install MyDNSConfig
MyDNSConfig is a web-interface that allows to administrate/create/delete DNS records easily. All data is stored in a MySQL database, and this MySQL database is used by the MyDNS-NG name server to retrieve the DNS records.
MyDNS comes with its own web-interface which we found quite hard to use, especially for newbies, that’s why we created MyDNSConfig.
MyDNSConfig uses the same technology as ISPConfig version 3, and it is also part of ISPConfig 3 to allow the management of DNS records.
let start :
Download and install mysql :
yum install mysql mysql-server -y
make the mysql deamon start automatic :
chkconfig --levels 235 mysqld on
/etc/init.d/mysqld start
make mysql root pass :
mysqladmin -u root password yourrootsqlpassword
Download and install virtual web logfile rotater/parser
vlogger is a little piece of code i wrote to handle dealing with large amounts
of virtualhost logs. its bad news to let apache deal with these itself (ask anyone who
runs a large webfarm about the interesting things apache does when it has 500 open logfiles)
so vlogger was born. it takes piped output from apache, splits off
the first field, and writes the logs to logfiles in subdirectories. it uses a file handle
cache so it can’t run out of file descriptors. it will also start a new logfile every night
at midnight, and maintain a symlink to the most recent file. for security, it can drop privileges
and do a chroot to the logs directory.
wget http://n0rp.chemlab.org/vlogger/vlogger-1.3.tar.gz
tar xvfz vlogger-1.3.tar.gz
mv vlogger-1.3/vlogger /usr/sbin/
Install apache php and PhpMyAdmin :
yum install httpd php php-mysql php-mbstring php php-devel php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-mcrypt php-mhash php-mssql php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 php-cli phpMyAdmin
vi /etc/httpd/conf.d/phpMyAdmin.conf
and make it to garant acces from all hosts :
# order deny,allow
# deny from all
allow from all
restart httpd and make it to start avery boot :
chkconfig –levels 235 httpd on
/etc/init.d/httpd start
you can now user phpmyadmin on user server with your browser :
http://serverx.com/phpmyadmin
installing MyDNS
MyDNS is a free DNS server for UNIX. It was implemented from scratch and is designed to serve records directly from an SQL database (currently either MySQL or PostgreSQL).
rpm -ivh http://mydns.bboy.net/download/mydns-mysql-1.1.0-1.i386.rpm
edit : /etc/init.d/mydns
and change # chkconfig: 345 52 50 to # chkconfig: 345 65 50
make MyDns to start with boot :
chkconfig –levels 235 mydns on
Installing MyDNSConfig 3
When installing this command :
wget http://downloads.sourceforge.net/mydnsconfig/MyDNSConfig-3.0.1.tar.gz?use_mirror=
tar xvfz MyDNSConfig-3.0.1.tar.gz
cd mydnsconfig/install/
php -q install.php
you will get This Error because the fedora 11 is not yet defined the install script :
[root@localhost install]# php -q install.php
——————————————————————————–
__ __ _____ _ _ _____ _____ __ _
| / | | __ | | |/ ____|/ ____| / _(_)
| / |_ _| | | | | | (___ | | ___ _ __ | |_ _ __ _
| |/| | | | | | | | . ` |___ | | / _ | ‘_ | _| |/ _` |
| | | | |_| | |__| | | |____) | |___| (_) | | | | | | | (_| |
|_| |_|__, |_____/|_| _|_____/ ________/|_| |_|_| |_|__, |
__/ | __/ |
|___/ |___/
——————————————————————————–
>> Initial configuration
PHP Notice: Undefined variable: distver in /root/mydnsconfig/install/lib/instal
l.lib.php on line 135
PHP Notice: Undefined variable: distid in /root/mydnsconfig/install/lib/install
.lib.php on line 135
PHP Notice: Undefined variable: distbaseid in /root/mydnsconfig/install/lib/ins
tall.lib.php on line 135
F
OTO1
to Solved this issue :
vi /root/mydnsconfig/install/lib/install.lib.php
anc change this scirpt :
if(stristr($content,’Fedora release 10 (Cambridge)’)) {
$distname = ‘Fedora’;
$distver = ’10′;
$distid = ‘fedora9′;
$distbaseid = ‘fedora’;
swriteln(“Operating System: Fedora 10 or compatiblen”);
with
if(stristr($content,’Fedora release 11 (Leonidas)’)) {
$distname = ‘Fedora’;
$distver = ’11′;
$distid = ‘fedora9′;
$distbaseid = ‘fedora’;
swriteln(“Operating System: Fedora 11 or compatiblen”);
}
save and exit :
start ths script again :
FOTO2
then answer the question and start browser with localhost:8080 :)
login with admin:admin
FOTO3
Like us on Facebook
This week Top Posts 
Top Things to do After Installing Ubuntu 13.04 ‘Raring Ringtail’ : Ubuntu 13.04 Raring Ringtail final is almost out. The final release it scheduled for release on Apri...0 comment(s) |
Howto: Upgrade to Ubuntu 13.04 Raring Ringtail from 12.04, 12,10 | Desktop & Server : Updated 05-04-2013: Ubuntu 13.04 Raring Ringtail will be released Soon, If you have ubuntu 12,10, 12...0 comment(s) |
Unix/Linux File Recognition. Did You Know? : Did you know that Unix and Linux has no concept of a file extension? What is a file name extension?
...0 comment(s) |
Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comment(s) |
Configure conky-Lua in Ubuntu (12.10 & 13.04 Raring Ringtail), Fedora, debian and LinuxMint | Howto Conky : Updated 05-04-2013: Conky is a free, light-weight system monitor for X, that displays any informatio...0 comment(s) |
Howto- Resolve nosound problem on Ubuntu 13.04 Raring Ringtail,12.10 and Older : Updated 05/04/2013 : One of the common issues facing Ubuntu users after installing or upgrading Ubun...0 comment(s) |
Recent Posts
- Unix/Linux File Recognition. Did You Know?
- Migrate from MySQL to MariaDB in FreeBSD
- Connect Your Android Galaxy Tablet to Ubuntu via USB
- ElementaryOS Beta 1 and 2 Comparison and Review
- Introduction to the Linux Command Line
- A Secure Password
- Linux Kernel 3.10. It’s BIG!
- Monitoring Users Activity Using psacct or acct Tools in Linux
- Run Your Own Social Network Using elgg on RHEL / CentOS and Scientific Linux
- Getting Debian 7.0 ‘Wheezy’ Up and Running
Recent Comments



















andrew
| #
hello I have this error
[root@cloud html]# /etc/init.d/httpd restart
then this appears
Starting httpd: httpd: Syntax error on line 350 of /etc/httpd/conf/httpd.conf: without matching section.
plz tell how to fix this.
Maximiliano Schultheis
| #
this was amazing, thank you so much! Tip 3 did the trick!
SK
| #
I am working on it. Stay tuned. Thanks for the comment.
adriana rizzati
| #
You are right, I saw them just now and they are awesome!
SK
| #
Thanks for the comment Abdullah. Stay tuned with us always.