Apache
Tar XF Httpd-2.2.19.tar
CD httpd-2.2.19 ls
Compile:./configure--prefix=/usr/loacl/apache--sysconfdir=/etc/httpd--enable-ssl--enable-modules=most-- Enable-mods-shared=most--enable-so
Make
Make install
Get a httpd,
VI/ETC/INIT.D/HTTPD Apachectl=/usr/local/apache/bin/apachectl
Httpd=/usr/local/apache/bin/httpd
CD/ETC/HTTPD ls
Vi/etc/httpd/conf/httpd.conf
Start path= $PATH:/usr/local/apache/bin
Apachectl start
Chkconfig--add httpd
CP HTTPD/ETC/IN
I installed the LNMP through apt, some extensions can also be installed through APT, but I installed the php5-imap extension, the software detects but does not detect
Into the PHP configuration directory, found the following directory
root@osticket:/etc/php5# lapache2/ cli/ conf.d/ mods-available/
There is a Imap.ini configuration file in the Conf.d folder, but how do you enable it?
Reply content:
I installed the LNMP through apt, some exten
seem to show anything in the Windows test.Erl-eval ' Io:format ("Memory: ~p~n", [Erlang:memory (total)]). '-noshell-s init stop11. A Makefile Template# Leave these lines alone. Suffixes:. erl. Beam. Yrl #. Yrl file is a parsing definition file for the Erlang Parsing generator program (YECC). Erl.beam:Erlc-w $. Yrl.erl:Erlc-w $ERL = Erl-boot Start_clean# Edit the lines belowMODS = Module1 Module2/Module3 ... special1 .../MudulenAll:compileCompile: ${mods
It feels pretty good for a digital DP. Through this feeling to the digital DP another layer of understanding. A four-dimensional DP array is used. DP[CNT][PRE][MODS][IN],CNT represents the first few. The pre represents the previous number. The mods represent the current modulo, in indicates whether the current contains 13 of this number. Then a DFS search is available.The code is as follows:#include HDU 365
Apache error occurs after Unbuntu performs php5.3 upgrade to 5.5
Output of config test was:Apache2:syntax Error on line of/etc/apache2/apache2.conf:syntax error on line 1 of/etc/apache2/mods-enabled/authz_ Default.load:Cannot load/usr/lib/apache2/modules/mod_authz_default.so into server:/usr/lib/apache2/modules/mod_ Authz_default.so:cannot open Shared object file:no such file or directoryAction ' Configtest ' failed.The Apache error log may has more
follows
Copy Code
sudo apt-get install drupal6
Or
The code is as follows
Copy Code
sudo apt-get install Drupal7
Allow Dbconfig-common to configure your database (default database: MySQL)Then, register the Drupal module with Apache:
The code is as follows
Copy Code
sudo cp/etc/drupal/6/apache2.conf/etc/apache2/mods-enabled/drupal.conf
Or
Base rule setFor F in $(ls : /base_rules/); Do Ln -s ../base_rules/$f; Done Modify Apache module configuration, enable rule setNote: There are some differences between the Modsecurity 2.7 version and the 2.6 version of the configuration file(1) Version 2.7Vim /etc/apache2/Mods-available/security2. conf ModifyIfmoduleSecurity2_module># Default Debian dir for modsecurity ' s persistent dataSecdatadir/Var/Cache/Modsecurity# Include all the
source code:
Modify the Code include/http_config.h and add it to the file header.
#ifndefBIG_SECURITY_HOLE#defineBIG_SECURITY_HOLE#endifRe-compile:
[root@localhost httpd-2.4.10]# ./configure --prefix=/usr/local/httpd --enable-ssl --enable-cgi --enable-mods-shared=allable-ssl --enable-cgi --enable-mods-shared=all --enable-track-vars --enable-rewrite
3. modify the configuration file and re
directory and create inmod. mod. php as follows:Copy codeThe Code is as follows: Class inmod{Function _ construct (){Echo 'I am the in under the mods ';}}
Create the libs folder in the test directory and create inlib. lib. php as follows:Copy codeThe Code is as follows: Class inlib{Function _ construct (){Echo 'I am in libs ';}}
Finally, create loader. php In the test directory as follows:Copy codeThe Code is as follows: Class Loader {/*** Automatica
String msg() { return "from module 2!"; } }
So far, the module-info.java is still empty.
Compile the Java Module
Now proceed to the next step: compile our module and associate the source file. To do this, we will introduce a new javac compilation parameter:
1
javac -modulesourcepath src -d mods $(find src -name '*.java')
When using the preceding statement, we assume that the command program is already in the up
: var jQuery = require ("jquery ");
7. context
When we are in a require module, if we include variables in require, like this:
require("./mods/" + name + ".js");
We cannot know the specific modules during compilation. But at this time, webpack will also do some analysis for us:
1. Analysis Directory: './mods ';
2. Extract the regular expression '/^. *. js $ /';
In this case, we can specify the path for comp
-mods-shared=all #指定动态编译所有模块--enable-cache=static #指定静态编译该模块--enable-so #动态加载选项, which means that you can dynamically load your own compiled modules in a configuration fileNote: When the--enable-modules=all and--enable-mods-shared=all two parameters are present, unlessThe--enable-[module]=static method is specifically specified as static compilation, otherwise all modules will be dynamically compiled.If the
beginning RVA of the code segment// The calculation formula for the program entry is a relative offset address. The calculation formula is:// Code write address + codeoffset
Entrywrite = header-> section_header [0]. pointertorawdata + header-> section_header [0]. Misc. virtualsize;// Physical offset of code writingMoD = entrywrite % 16;// Align the BoundaryIf (MODS '= 0){Entrywrite + = (16-mods );}Oldentry
=/usr/local/pcre--with-z=/usr/local/zlib--with-apr=/usr/local/ Apr--with-apr-util=/usr/local/apr-util--enable-modules=most--enable-mods-shared=most--enable-mpms-shared=all-- With-mpm=event--enable-proxy--enable-proxy-fcgi--enable-expires--enable-deflate★ Note: Explanation of relevant parameters--ENABLE-SO: Support dynamic sharing module (that is, open DSO support)--ENABLE-CGI: Enable CGI--ENABLE-CGID:MPM: Using an event or worker to enable Cgid--ENABL
(/usr/local/src/httpd-2.2.16 directory)./configure--prefix=/usr/local/apache2--enable-mods-shared=most--enable-so--prefix=: Installation path--enable-mods-shared=most: Most of the modules installed are installed in a shared manner and are dynamic, as they are usedStatic memory-intensive--ENABLE-SO: Enable DOSThis step is wrong, the information is as follows: prompted to install GCCConfigure:error:in '/USR/
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.