This is the main look at the installation of Freeradius, as well as the example of Python expansion, there are billing fields to expand according to manufacturers.
Installation of version 3.0Reference articlesyum install libtalloc-devel-c ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-3.0.11.tar.gztar zxvf freeradius-server-3.0.11.tar.gzcd freeradius-server-3.0.11./configuremakemake installldconfig如果需要用mysql 和 python拓展 yum 安装下 python-devel, mysql-devel默认的安装位置 /usr/local/etc/rad
found ' then your need to install PHP 5-dev packageyou can do it by running ' apt-get install Php5-dev ' as a root usererror: ' phpize ' failed zzs@ubuntu:~$ sudo apt-get install Php5-dev
Reading Package List ... CompleteAnalyzing Dependency tree for PackageReading status information ... CompleteThe following additional packages will be installed:Pkg-php-tools ShtoolRecommended Packages to install:Dh-makeThe following "new" packages will be installed:Php5-dev Pkg-php-tools Shtool0
Title Address: HDU 4389The first time you encounter a need to enumerate and then the digits DP.The sum of the numbers is enumerated first, that is, 1~81, then the sum of the enumerated members in the digital DP process is the same as the number of enumerations, only the same counts.DP[I][J][K][H] denotes the number of digits of the current number of members, and for J, the number of members enumerated, and K, the current numbers of K modulo H.The code is as follows:#include #include #include #in
/local/nagios/etc/nagios.cfg # detection Nagios configuration file
Chkconfig Common operationsChkconfig Service Name On|off|set # set up a non-standalone service reboot stateChkconfig--level httpd off # Let service not start automaticallyChkconfig--level httpd on # Let the service start automatically 35 refers to the run levelChkconfig--list # View the startup status of all servicesChkconfig--list |grep httpd # View the startup status of a servicechkconfig–-list [Service Name] # View the status
ObjectiveThe original posted in the Famine game bar, in order to make the article more targeted, the original cut and streamlined. This paste is mainly for programming 0 basic Modder to explain some of the basics of programming. As for the introduction of the famine framework, it will be explained in another article.Programming 0 Basic people, want to learn to make mods, the difficulty is relatively large, because the lack of some basic programming co
Apache has a 4-layer structure, from the core to the outer module. The outer module can work with Apache in both static and dynamic ways. This also introduces the following "dynamic" and "static" two ways of compiling the installation:Static compilation:Compile, all the modules themselves compiled into httpd This file, when the Apache launched the module has been loaded in, you can directly use, and no longer httpd.conf in the LoadModule to be loaded, as long as it is configured in .Dynamic com
-ui-proxy.confLn-s/etc/apache2/sites-available/webb-ui-proxy.conf/etc/apache2/sites-enabled/webb-ui-proxy.confTo create a link to a mod that needs to be loaded:Ln-s/etc/apache2/mods-available/proxy.load/etc/apache2/mods-enabled/proxy.loadLn-s/etc/apache2/mods-available/proxy_http.load/etc/apache2/mods-enabled/proxy_htt
http://www.iblue.cc/2011/09/ubuntu-apache%E5%BC%80%E5%90%AF%E9%87%8D%E5%86%99%E6%A8%A1%E5%9D%97/The rewrite module in Ubuntu under Apache2 is not loaded by default.Just run this command: A2enmod rewrite can enable the rewrite module.Or:sudo ln-s/etc/apache2/mods-available/rewrite.load/etc/apache2/mods-enabled/rewrite.loadAPACEH2 has more than one set of a2enmod, a2dismod directives for enabling and disablin
aims to obtain the connection through URL and jar, it is important to read the Main-Class attribute of MANIFEST to obtain the application's entry point. After getting the entry point, we can load and run the main class through the reflection mechanism.
public String getMainClassName() throws IOException { URL u = new URL("jar", "", url + "!/"); JarURLConnection uc = (JarURLConnection)u.openConnection(); Attributes attr = uc.getMainAttributes(); return attr != null
Just changed the server system from CentOS to Ubuntu, after installing mysql,apache,php and WordPress, it is OK to open the homepage, but there is an error when opening the article page. Because of the use of custom fixed link settings, it is natural that Apache's rewrite function is problematic. Open/etc/apache2 This directory is ready to modify the configuration file, found that the previously used httpd.conf this file is empty. Instead, there are many other catalogs. So Google it.Apache Confi
telling the compiler to compile the PHP source code when adding intl this extension. Make: The source code will be compiled into intl.so make install: The intl.so will be moved to the currently installed PHP extension directory.
The next thing we want to do is enable this extension in php.ini, which will be shown at the end of the example. installing third party extensions
Take this extension as an example, this extension mainly realizes the function of the PHP to recognize the barcode.
Install
is not enough, because the zope+plone structure of the port is not 80 port, so we have to do port redirection. To be able to do this, we have to activate the Rewrite and Proxy two modules. The activation module is simple, like the site configuration directory, and there are two module configuration directories in Apache2: Mods-available and mods-enabled. In the Mods
Automatic Generation
The following figure shows the terrain automatically generated by the Program (see Figure 3.3 ). When players do not need to interact with the terrain frequently, the automatically generated terrain can be used. Of course, you still need to know where it is. Simulated flight sometimes uses automatically generated terrain because players usually spend their time above the cloud layer.
Advantages of Automatic Terrain generation:
■ You don't need to worry about the terrain
game set in your ENT Egypt
Neverwinter Nights
Set in a huge medieval fantasy world of Dungeons and Dragons
Penny Arcade Adventures
Episodic video series based on the webcomic Penny Arcade
Vendetta Online
3D space combat Massively Multiplayer Online Role-Playing Game
Wurm Online
Community-centric Massively multiplayer online role-playing
Strategy
Guest
"Civilization III" normal
Civilization IV "Civilization IV" normal
Mount and Blade "riding and slashing" normal
Left4Dead "Survival trip" after exiting the game, the desktop broken
Fallout 3 "Radiation 3" needs to be manually installed, incompatible games Explorer
Guild Wars can't work in Games Explorer, but there's no problem with playing games
Age of Empires III "Empire times 3" need to upgrade the patch
Red Alert 3 3 "normal"
GRID Normal
Sins of a Solar Empire normal
#DefaultType is a browser-accessible MIME type, set to none, allowing the browser to parse itselfDefaultType None#Hostnamelookups:log the names of clients or just their IP addresses#e.g., www.apache.org (ON) or 204.62.129.132 (off).hostnamelookups Off#error log file directory, default is configured here, can be overloaded in #The log file name begins with a '/' that causes a conflict and does not start with '/', and the server root prefix is added by default#For example, "Foo.log" will be added
. This basically satisfies most of our needs. But if the installation of Zope+plone, the above setting is not enough, because the zope+plone structure of the port is not a 80 port, so we have to do port redirection. To be able to do this, we have to activate the Rewrite and Proxy two modules. The activation module is very simple, as with the site configuration directory, there are also two module configuration directories in Apache2: Mods-available an
executing in the terminal
sudo a2enmod rewrite
command, the Mod_rewrite module is enabled.
Alternatively, you can open the Mod_rewrite module by connecting the/etc/apache2/mods-available/rewrite.load to the/etc/apache2/mods-enabled/rewrite.load. The command operation is:
sudo ln-s/etc/apache2/mods-available/rewrite.load/etc/apache2/
be found in apache2.conf:Configuration of dynamic modulesInclude Mods-enabled/*.loadInclude mods-enabled/*.confUser's own configurationInclude httpd.confConfiguration of Port sniffingInclude ports.confGeneric Configuration statement FragmentInclude conf.d/Configuration directives for virtual hostsInclude sites-enabled/We can totally put all the settings in apache2.conf or httpd.conf or any configuration fi
:
function AutoLoad ($class) {
if ($class = = ' in ') {
Require_once ("/var/www/test/in.php");
}
}
Spl_autoload_register (' AutoLoad ');
$a = new in ();
$a->index ();
Application of Spl_autoload_register to register multiple custom autoload functions
First, create the Mods folder under the test directory and establish the inmod.mod.php contents as follows:
Copy Code code as follows:
Class Inmod
{
funct
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.