SOURCECODEBD.NET

Live Experience

PPPoE Dialer or ADSL Setup on CentOS, Fedora and Redhat 

1. Find the package >rp-pppoe rpm -qa | grep rp-pppoe

2. If not installed , install it from the cd> rpm -ivh rp-pppoe
3. Login as root.
4. Type adsl -setup at command prompt. You will see one message like this:
Enter your login name.
5. Choose the interface you are using and then press

Read more...

Installing and Configuring PowerDNS with PowerAdmin from Source

 
Pre-requisites
==============
# yum group install 'Development Tools'
# yum install libxml2-devel gd gd-devel libmcrypt-devel libmcrypt libmhash curl curl-devel libtool-ltdl-devel libtool-ltdl libpng-devel imagemagick ncurses ncurses-devel pce-devel zlib-devel bzip2-devel
 
 
Apache 2.2.15
=============

Read more...

Installing and Configuring PowerDNS with Poweradmin

================
Add Repositories
================
# yum install yum-priorities
# rpm --import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
# nano -w /etc/yum.repos.d/utterramblings.repo
[utterramblings]

Read more...

Install and Configure Nagios in CentOS

Install Nagios in order to watch server's status.

httpd is also needed.

[1] Install Nagios  
 
[root@ns ~]# yum install nagios nagios-plugins

Read more...

Rsync on CentOS
 
Mirror a directory in HostA to HostB with rsync.
Basic usage of rsync is simply like follwos.

# rsync -av --exclude=(exclude dir) (mirrored directory) (destination directory)

However, if mirroed directory or destination directory is not local, root password is required. In that case, it's easy to mirror automatically by cron with this configuration.

Read more...

Mount NTFS on CentOS

Download and install ntfs-3g package

#wget http://tuxera.com/opensource/ntfs-3g-2010.5.16.tgz

# ./configure
# make

Read more...

SSH Server in CentOS
 
Before configuration, it's neccessary to set config on router that tcp packets to port 22 of the server can pass through.

[1] Configure SSH server for Windows clietnts' computer to be able to login from them. This is the way with Password Authentication.  
 
[root@ns ~]# vi /etc/ssh/sshd_config

#MaxAuthTries 6
# line 39: uncomment and change 'no'

Read more...

NFS Server in CentOS
 
Build NFS Server to share any directories in LAN.

   
[1] Configuration on the system you want to build NFS server  
 
[root@ns ~]# vi /etc/exports

# add *note
/home 192.168.0.0/24(rw,sync,no_root_squash)

Read more...

MySQL, phpMyAdmin configuration

#yum install mysql mysql-server
#chkconfig --levels 235 mysqld on
#/etc/init.d/mysqld start

#mysqladmin -u root password yourrootsqlpassword

#yum install httpd

Read more...

Install Webmin in CentOS
 
Install Webmin that you can operate your server from web browser.

[1] Install Net::SSLeay first  
 
[root@ns ~]# yum -y install perl-Net-SSLeay 
 
[2] Install Webmin

Read more...

CentOS SAMBA Instalation

FULL ACCESS DIRECTORY:
------------------------

[root@lan ~]# yum -y install samba
[root@lan ~]# mkdir /home/share
[root@lan ~]# chmod 777 /home/share
[root@lan ~]# vi /etc/samba/smb.conf

Read more...

MySQL DB Replication
 
To set up replication between a new master and slave:

   1. Configure the MySQL master with the necessary configuration properties.
 # service mysqld stop
 # vi /etc/my.cnf
 [mysqld]

Read more...

NTP Server in CentOS

# yum -y install ntp
# mv /etc/ntp.conf /etc/ntp.conf.bk
# vi /etc/ntp.conf

# Set servers for synchronizing
server 0.rhel.pool.ntp.org

Read more...

 

Configure FTP Own Directory in CentOS

FTP user to Permit his own/specific directory then:

---------------------------------------------------

And

FTP Users with Only Read Access to a Shared Directory

-----------------------------------------------------

Read more...

Related Articles

You are here: Home / CentOS