This document to learn the experimental environment, the content of experimental results are all in the computer room calibration, all correct.System environment: RHEL6 x86_64 SELinux and iptables disabledSoftware Download: http://Poptop. SourceForge. Net/yum/stable/rhel 6/Ftp://ftp.samba.org/pub/pppInstallation Configuration pptpdEcho 1 >/proc/sys/net/ipv4/ip_forwardYum Install Ppp-yRPM-IVH pptpd-1.3.4-2.el6.x86_64.rpmConfiguration file for pptpd/etc/pptpd.confLocalip 192.168.0.1remoteip192.168
Amp; lt; rhel6 + pptpd + freeradius + mysqlamp; amp; gt; RHELPPTP
This document describes the experiment environment. all the experiment results are verified in the data center. all the results are correct.
System environment: RHEL6 x86_64 selinux and iptables disabled
Software Download: http: // poptop. sourceforge. net/yum/stable/rhel 6/Ftp://ftp.samba.org/pub/ppp
Install and configure pptpd
Echo 1>/proc/sys/net/ipv4/ip_forward
Yum install ppp-y
R
[FreeRadius] problem records
Learn the problems encountered in FreeRadius and solve them.Radtest has no response
Radiusd is started normally, and the following command cannot be used properly:
[root@orangleliu raddb]# radtest alice passme 127.0.0.1 100 testing123radclient:: Failed to find IP address for orangleliuradclient: Nothing to send.
This problem is that the host is orangleliu. However, radtest canno
The configuration of this post is CentOS5 32bit, the process of configuring the PPTP is not written, if you do not please search the blog itself, the following post the integration Freeradius need to be configured:
PPTP Client Configuration section
The code is as follows
Copy Code
wget http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/radiusclient-0.3.2-0.2.el5.rf.i386.rpmRpm-i radiusclient-0.3.2-0.2.el5.rf.i386.rpm
This document to learn the experimental environment, the content of experimental results are all in the computer room calibration, all correct.System environment: RHEL6 x86_64 SELinux and iptables disabledSoftware Download: http://Poptop. SourceForge. Net/yum/stable/rhel 6/Ftp://ftp.samba.org/pub/pppInstallation Configuration pptpdEcho 1 >/proc/sys/net/ipv4/ip_forwardYum Install Ppp-yRPM-IVH pptpd-1.3.4-2.el6.x86_64.rpmConfiguration file for pptpd/etc/pptpd.confLocalip 192.168.0.1remoteip192.168
Freeradius is generally used for account authentication management, accounting management, broadband accounts of common telecom operators, Internet account management, accounting, all use radius servers for authentication accounting, next let's take a look at FreeRadius configuration installation in linux.
FreeRadiusFreeRADIUS and OpenLDAP-success
Install related programs
Yum install freeradius2 freeradius2
/to replace the domain name/web/var ' which just established the virtual host;
Install Freeradius (SERVER)
The code is as follows
Copy Code
Yum Install Freeradius2 Freeradius2-mysql freeradius2-utils
Install Client
The code is as follows
Copy Code
wget Ftp://ftp.samba.org/pub/ppp/ppp-2.4.5.tar.gz;tar zxvf ppp-2.4.5.tar.gz;cp-r/root/ppp-2.4.5/pppd/plugins/ radius/etc//usr/loc
"Environment description"Server version redHat5.3MySQL version MySQL5.6.22Freeradius version 2.1.12"Problem description"After configuring the database address in the Freeradius sql.conf, and after logging in the user name and password, use "Radiusd-x" debug mode to start RADIUS, the console has been trying to connect the MySQL log in a lengthy output as follows:2014-12-30 09:27:39 DEBUG sql.c-[Rlm_sql] starting 02014-12-30 09:27:39 INFO sql.c-[Rlm_sql
1. Download and install Freeradius for win 2.22. Configuring the Client.cnf FileJoinClient 192.168.0.0/16{secret=1111122222Shortname=hdwf}3. Configure the UsersJoin3480B342A0A3 Cleartext-password: = "3480B342A0A3"Reply-message = "Hello,%{user-name}"Description: 3480B342A0A3-> 34:80:b3:42:a0:a3-MAC Address4. Restart the Raduis command-line window5. Set the Radius server inside the network to install the server IP, MAC authentication select Remote Mac A
FreeradiusFreeradius and openldap--success story
Installing related Programs
Yum Install Freeradius2 freeradius2-utils freeradius2-ldap
To enable the LDAP client side of the server, refer to another file
Centos/56540.htm ">http://www.111cn.net/sys/centos/56540.htm
Please test native user, enable Steve to test (remember to add back to the test play)
Vi/etc/raddb/user
Steve Cleartext-password: = "Testing"Service-type = Framed-user,
Service RADIUSD Restart
Radtest Steve testing localhost 0
Hits | ads
Writing this thing is purely accidental, is to see a post thought. The specific content of the post is probably: "Hundred ads than stick a post", said hundred monthly ads to the IP only three or four per day, the webmaster should be on the monthly advertising trial for three or four days. I think that this is a flexible topic, so simply write a point of their own opinions (please specify qq:24383997).
Of course, before discussing this topic, it is to say. Put on a monthly
Http://www.ectouch.cn/topics/94.htmlEffectOperation:1.Modify the background controller file to call out the relevant field information. mobile\include\apps\admin\controller\advertcontroller.class.php function ad_list Position: $ad _list[$key] [' orders '] = $ This->get_orders ($value [' ad_id ']); Add code to the following line if ($value [' media_type '] = = 0) { if (Strpos ($value [' Ad_code '], '/http ') = = = False strpos ($value
Random floating image ads based on JavaScript code, JavaScript image adsThere are many such codes on the internet, but not necessarily in line with the standard, because in the head plus Code one:The code is as Follows:The above code implements our requirements, Red div blocks can be floating randomly in the web page, and compatible with each browser. The implementation process of the code is not introduced here, if there are any questions can be posted Message.Code two: JS Random floating
in order to promote domestic advertisingPlatformhealthy and orderly development of the industry, promotePlatformand theDeveloperof mutual benefit,Keymob Mobile ad aggregation platformfor DevelopersThe thought,for Developersthe urgency toQualityservice concept for the vast number ofDeveloperwe provide more appropriate services and provide more and betterService, to suit theDeveloper's needs. Keymob Mobile ad
Here is a picture of an experimental environment;
The existing ad infrastructure of an enterprise is Win2003 AD, in the hope of obtaining more functions, it is decided to upgrade the existing 2003 AD to 2008 AD;
Domain name is: zhkd.ad
DC1:ZSDC02 (Windows 2003 AD)
DC2:ZS
Speaking of AD DS we will not only have such a question, what it is, what the function and what it can bring to our work, and so on a series of questions, I will explain to you (personal opinion, welcome to discuss the Exchange ~)AD DS What is it? Speaking of AD DS had to mention Microsoft's server operating system: Windows Sever operating system, I believe a l
Windows Server 2003 AD upgrade to Windows Server 2008R2 ADNuzhihai
Operating system version
Server role
IP Address
windows Server 2003r2
primary ad
192.168.1.10
windows Server 2003r2
secondary ad
192.168.1.20
windows Server 20
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.