yum install php-ldap
vi /etc/php.ini
add extension=ldap.so
service httpd restart
yum install php-ldap
vi /etc/php.ini
add extension=ldap.so
service httpd restart
you can change you default gateway on windows by route command , it’s very useful. Other than , you can add route to other network by this command too.
Syntax route [-f] [-p] [Command[Destination] [mask Network] [Gateway] [metric Metric]] [if Interface]]
Example:
To display the entire contents of the IP routing table, type:
route print
To display the routes in the IP routing table that begin with 10., type:
route print 10.*
To add a default route with the default gateway address of 192.168.12.1, type:
route add 0.0.0.0 mask 0.0.0.0 192.168.12.1
To add a route to the destination 10.41.0.0 with the subnet mask of 255.255.0.0 and the next hop address of 10.27.0.1, type:
route add 10.41.0.0 mask 255.255.0.0 10.27.0.1
To add a persistent route to the destination 10.41.0.0 with the subnet mask of 255.255.0.0 and the next hop address of 10.27.0.1, type:
route -p add 10.41.0.0 mask 255.255.0.0 10.27.0.1
To add a route to the destination 10.41.0.0 with the subnet mask of 255.255.0.0, the next hop address of 10.27.0.1, and the cost metric of 7, type:
route add 10.41.0.0 mask 255.255.0.0 10.27.0.1 metric 7
To add a route to the destination 10.41.0.0 with the subnet mask of 255.255.0.0, the next hop address of 10.27.0.1, and using the interface index 0×3, type:
route add 10.41.0.0 mask 255.255.0.0 10.27.0.1 if 0×3
To delete the route to the destination 10.41.0.0 with the subnet mask of 255.255.0.0, type:
route delete 10.41.0.0 mask 255.255.0.0
To delete all routes in the IP routing table that begin with 10., type:
route delete 10.*
To change the next hop address of the route with the destination of 10.41.0.0 and the subnet mask of 255.255.0.0 from 10.27.0.1 to 10.27.0.25, type:
route change 10.41.0.0 mask 255.255.0.0 10.27.0.25
Below Commands gives you an idea about how to use rpm in Redhat based distro like : fedora, centos, suse etc, it is a rpm cheat sheet by which you can easily understand its uses.
# rpm -ivh {rpm-file}
# rpm -Uvh {rpm-file}
# rpm -ev {package}
# rpm -ev –nodeps {package}
# rpm -qa
# rpm -qa | grep {package}
# rpm -qi {package}
# rpm -qf {/path/to/file}
# rpm -qc {pacakge-name}
# rpm -qcf {/path/to/file}
# rpm -qa –last
# rpm -qpR {.rpm-file}
# rpm -qR {package}
yum is a powerful application there are applications we can add onto it to make it even more powerful.
To install all of these simply type the following into your terminal as root:
# yum install yumex yum-fastestmirror yum-utils
You should now have Yumex listed in your applications menu, and the rest will run in the background when you use yum or a front-end to yum. Enjoy.
To find which version of SUSE Linux are you running, look in the following file: /etc/SuSE-release
Open the file in your desktop environment or use in a console
# cat /etc/SuSE-release
which should show something similar to (x86-64 means 64-bit version):
SUSE LINUX 10.0 (X86-64) OSS
VERSION = 10.0