This installation was performed for Centos 5.3
1- Install webmin
Grab the RPM from www.webmin.com
#wget http://prdownloads.sourceforge.net/webadmin/webmin-1.490-1.noarch.rpm
#rpm -ivh webmin*
2- Access webmin https://IP:10000/
3- Make sure LDAP Server module is installed
If it is not, Go Un-used Modules and select LDAP server
Install LDAP
This is the same that the following:
#yum install openldap-servers openldap-clients
4- Open file /etc/openldap/slapd.conf
Add restrictions
# ACL for LDAP . User only can read and change his own password.
access to attrs=userpassword
by self write
by anonymous auth
by * none
# Anyone can use LDAP but they require authetication
access to *
by self write
by users read
by anonymous read
by * none
Many services under CentOS use a standard logging system called syslog. You are probably familiar with
the log files located in /var/log. Many of these are controlled by syslog. Each service that uses syslog
must nominate a facility to indicate the type of service it is. There are not enough facilities for each
service to have its own unique value, so many services may use the same value. For example, sendmail
and dovecot both use the mail facility because they both process email. There are also a number of
generic facilities, named local0 thru local7. Under CentOS, some of these are already allocated but you
are free to alter them if required. Table 10-4 shows the available facilities.
My friend wanted to know how to change or convert DHCP network configuration to static configuration. After initial installation, he wanted to change network settings. Further, his system is w/o GUI system aka X Windows. Here is quick way to accomplish the same:
Your main network configuration file is /etc/network/interfaces
Desired new sample settings:
=> Host IP address 192.168.1.100
=> Netmask: 255.255.255.0
=> Network ID: 192.168.1.0
=> Broadcast IP: 192.168.1.255
=> Gateway/Router IP: 192.168.1.254
=> DNS Server: 192.168.1.254
Open network configuration file
$ sudo vi /etc/network/interfacesOR$ sudo nano /etc/network/interfaces
Find and remove dhcp entry:
iface eth0 inet dhcp
Append new network settings:
nginx is a Web and Reverse proxy server. Nginx used in front of Apache Web servers. All connections coming from the Internet addressed to one of the Web servers are routed through the nginx proxy server, which may either deal with the request itself or pass the request wholly or partially to the main web servers.
Xen is a free open source software virtual machine monitor for Intel / PowerPC architectures. It is software that runs on a host operating system and allows several guest operating systems to be run on top of the host on the same computer hardware at the same time (just like VMWare software). Luckily Installing and managing XEN is quite easy under CentOS 5 Linux.
Login as the root and type the following commands:
# yum install xen virt-manager kernel-xen
# chkconfig xend on
# reboot
Make sure you boot CentOS server using XEN kernel.
How do I install NetBSD / any Linux distro / Windows 2000 inside XEN?
Simply use gui tool called virt-manager:
# virt-manager &
- Login to shell prompt with user credentials (which allows you to install stuff on server).
- Execute command yum update “*php*”
- This should update all PHP related components to the latest version. (Assuming you installed yum etc., on CentOS)
- Once done that, You will require to install Pear based JSON support by following command.
- pecl install json
- This will install JSON, simply wait and cross your fingers! If it says OK in last 2 lines, everything is fine so far.
- You will also require to enable JSON support in php.ini
- Smart way to do that is, create a new file in /etc/php.d/ called json.ini
- The file should contain this line: extension=json.so
Introduction
When extending ZCS, it is sometimes desirable to add additional LDAP schema to the OpenLDAP server shipped with ZCS. Starting with the 6.0 release, the new config backend is used, which means that the traditional *.schema files are no longer in play. Instead, LDIF-based versions of the old schema files are used by the new config backend. This means that traditional "schema" files need to be converted to the new LDIF format for ZCS to be able to use them.
New layout of the schema directory
It is important to understand how the new LDIF based schema files are used by the cn=config directory. To start, let's examine the contents of the directory:
#FILE: /etc/aliases
root: ravi@yahoo.com
A2billing Tutorials
This document details the basic setup and configuration of a2billing v1.3.3 in Trixbox v2.2 It assumes that no configuration has been performed yet...as in, we are starting with a fresh install.
We are assuming in this tutorial that trixbox 2.2.4 or higher is already installed.
1) A2billing Installation
Log in to your terminal server from the console or SSH with root credentials
and Perform the following commands:
Step1: Removing A2billing Old files
The directories and files to be removed are as follows:
This article is part of the on-going Awk Tutorial Examples series. In our earlier awk articles, we discussed about awk print, awk user-defined variables, awk built-in variables, and awk operators.
In this awk tutorial, let us review awk conditional if statements with practical examples.
Awk supports lot of conditional statements to control the flow of the program. Most of the Awk conditional statement syntax are looks like ‘C’ programming language.