Posts

Showing posts with the label centos

Instalasi Radius Server pada Centos 5.3

Image
1. Tujuan Seiring dengan maraknya perkembangan wireless, maka dibutuhkan sebuah proses otentikasi user untuk melakukan pengecekan apakah user tersebut berhak masuk jaringan atau tidak. Untuk menjawab tantangan ini mari kita implementasikan chillispot yang berfungsi untuk aplikasi otentikasi dan freeradius sebagai manajemen client/user, MySql sebagai database billing, dan phpMyPrePaid sebagai aplikasi web base untuk manajemen user dan billing. Perlu diketahui bahwa chillispot dan freeradius diinstall pada gateway yang merupakan gerbang terakhir dari semua host pada LAN untuk berkomunikasi ke Internet. Jadi user yang login lewat media wireless atau kabel akan sama-sama melakukan proses otentikasi. 2. Topologi Untuk eth0 : Ip address=10.200.16.17 Subnetmask=255.255.255.128 Default gateway=10.200.16.1 Untuk eth1: IP untuk eth1 akan diberkan oleh chilli secara otomatis, jadi tidak perlu di konfigurasi. PC-A: Ip address =10.200.20.8 Subnet mask=255.255.255.128 Gateway =10.200.20.1 DNS=10.101...

Install the PHP DOM Extension on CentOS

Here we cover the fastest, most effective way to get the PHP DOM extension installed on CentOS. If you’ve just found out you need to install this extension, but don’t really know what it is, we’ve included some background first. What is DOM? “The  Document Object Model  ( DOM ) is a  cross-platform  and  language -independent convention for representing and interacting with  objects in  HTML ,  XHTML  and  XML  documents.” (Source:  DOM in Wikipedia .) What is PHP DOM extension? “The DOM extension allows you to operate on XML documents through the DOM API with PHP 5.” (Source:  Introduction to the PHP DOM Extension on php.net .) How to install the PHP DOM Extension on CentOS You will need superuser privileges. Run the following command: sudo yum install php-xml Don’t forget to restart Apache so PHP picks up the new extension: sudo service httpd restart How to Check PHP DOM is Installed You can see PHP DOM is installed by creating a simple web page that calls the  phpinfo() function: ...