Program Status Register is as follows:
......
I
F
T
M4
M3
M2
M1
M0
1
1
0
1
0
0
1
1
After the power-on reset, enter the management mode and execute the operating system program. It is usually used for system initialization, such as opening or stopping. then switch to the user mode and start executing the normal user program.
You can use the following programs to switch to user mo
help document generated by gdal, the following describes how to use the doc script. The gdal help document generated by the doxygen tool is displayed in this folder. A detailed introduction will be provided later with the doc folder.
9. M4 Folder: The M4 folder contains several files suffixed with M4. The M4 file is c
1. First download the GCC package from GNU, ftp://gcc.gnu.org/, which is the latest version of gcc-4.5.1.tat.gz,
1) tar zxvf gcc-4.5.1.tar.gz
2) CD gcc-4.5.1
3)./congigure
The following error occurs:GCC configure: Error: Building GCC requires GMP 4.2 +, mpfr 2.3.1 + and MCM 0.8.0 +From the error, we can see that GCC compilation requires GMP, mpfr, the three libraries, which I use for gmp-4.3.2, mpfr-2.4.2, and mpc-0.8.1. These three packages are downloaded from the following address:
Http://gmpl
typedefs, structures, and compiler characteristics.# Checks for library functions.AC_CONFIG_FILES(Makefile src/Makefile)AC_OUTPUT
6. Run aclocal
Aclocal is a tool used to scan the am macro in configure. AC and generate an aclocal. M4 macro file.
Http://www.gnu.org/software/m4/
M4 is a macro processing program. The Autoconf tool set uses
indicate a successful configuration:
"1.8.0_91"1.8.0_91-b1464-Bit25.91-b14, mixed mode)Step two install TOMCAT1. Download the Tomcat installation file
Download Tomcat to Apache Tomcat official websiteI am here to download the Tomcat 9.0.0.M4 versionand copy the downloaded good compressed file apache-tomcat-9.0.0.m4.tar.gz to the root user folder.
2. Install Tomcat
Log on to Linu
SERVER_BASEPRODUCT "Apache" # define SERVER_BASEREVISION "1.3.20" can be changed to other information as needed, I changed Microsoft-IIS/5.0. In the SSH edit file/etc/ssh/sshd_config, find this line: Banner/etc/issue.net. Add # In front of this line to comment out the SSH Banner. Sendmail is in sendmail. remove the $ v and $ z macros from the mc file and include the following content: define ('confsmtp _ LOGIN_MSG ', $ j Sendmail Secure/Rabid; $ B) then generate sendmail. cf file: #
is the name of the software suite to be generated, and the version is the version number.
3. Add the output file linuxmakefile after ac_output
Modified results:
#-*-Autoconf -*-
# Process this file with Autoconf toproduce A configure script.
Ac_prereq ([1, 2.65])
Ac_init (hello, 1.0, cai@126.com)
Ac_config_srcdir ([Hello. C])
Ac_config_headers ([config. H])
Am_init_automake (hello, 1.0)
# Checks for programs.
Ac_prog_cc
# Checks for libraries.
# Checks for header files.
# Checks for type
Today I want to talk about the php extension in linux.
Next, let's talk about how to make a php extension.First, you must have a set up php environment.I installed php in/usr/local/php. Of courseA php path for configuring php. ini, but pay attention to it.Php extensions installed in this way cannot be implementedThe/usr/local/php/bin directory after php installationFind the file phpize. We will use it later.He is a shell script. You can use vi phpize to view his content.But you should note that
code to it to complete your function expansion. Next we will introduce how to use this tool. First, transfer your directory to the ext directory under the php Directory. if you only need a basic extension framework, execute the following command :. /ext_skel -- extname = module_namemodule_name is the name of the extension module you can choose, for example, my_module. After the tool is executed, the directory named module_name of your choice is automatically created under the ext directory, whi
your directory to the ext directory under the php Directory. if you only need a basic extension framework, execute the following command :. /ext_skel -- extname = module_namemodule_name is the name of the extension module you can choose, for example, my_module. After the tool is executed, the directory named module_name of your choice is automatically created under the ext directory, which generates the relevant code. in the code, you only need to adjust the config. the three lines of comments
and expanded. the above reason is that the LIBTOOL macro definition cannot be found. the reason is that aclocal and libtool are not installed in the same directory. aclocal searches for all aclocal files under the default installation directory/usr/share/aclocal. find the macro defined in the m4 file, but because multiple aclocal files are installed, the aclocal directory may not exist, and the actual directory is/usr/share/aclocal1.10, this causes a
Recently began to learn to use composer, installation is to find PHP need to open php_openssl this extension, when I try to expand the prompt cannot find config.m4, I also Baidu a bit but still can't solve.
Baidu for a moment most of the answer is to find CONFIG0.M4 and then renamed to CONFIG.M4 but I looked for a while still do not have this file, but also on the official web-site to find the following file for my own package is not right.
Is there
directory. aclocal searches for all aclocal files under the default installation directory/usr/share/aclocal. find the macro defined in the m4 file, but because multiple aclocal files are installed, the aclocal directory may not exist, and the actual directory is/usr/share/aclocal1.10, this causes aclocal to fail to find the m4 file. The solution is to rename the aclocal1.10 folder to aclocal. or the speci
1, in the Ubuntu environment to install SVN needs a dependency packagesubversion-1.8.10.tar.gz:http://download.csdn.net/detail/luo849278597/8208909sqlite-amalgamation-3071501.zip:http://download.csdn.net/detail/luo849278597/8208923m4-1.4.17.tar.gz:http://download.csdn.net/detail/luo849278597/8208927autoconf-2.69.tar.gz:http://download.csdn.net/detail/luo849278597/8208931libtool-2.2.6b.tar.gz:http://download.csdn.net/detail/luo849278597/82089332, decompression subversion-1.8.10.tar.gz, Sqlite-ama
nobody-d" >>/etc/rc.d/rc.sysinit
# (1) Make compile error (may occur)items.c:1141: Warning: Comparison results are always true due to data type range limitationsBecause Makefile has-werror let the warning also does not pass through compiles, modifies the makefile to remove the-werror parameter to be possible.-werror means that a warning is an error, that is, a warning occurs during compilation and cannot be compiled.and the source code of memcached may not be strict enough, out of
that the necessary software is installed
Rpm-qa | grep sendmail #发信服务器Rpm-qa | grep dovecot #imap POP3 serverRpm-qa | grep Cyrus #sasl认证支持If all the above have returned information, congratulations, this step you save. If not, do it with one side.
#缺哪个就装哪个, if the updated version is displayed, you can skip the
Yum Install SendMail SENDMAIL-CFYum Install DovecotYum Install CYRUS-SASLYum Install Cyrus-sasl-md5Yum Install Cyrus-sasl-plainYum Install Cyrus-sasl-libNow we can configure the SendMa
environment
Host
IP Address
MYSQL-M1 Primary Server
192.168.58.131
MYSQL-M2 Primary Server
192.168.58.136
MYSQL-M3 from the server
192.168.58.146
MYSQL-M4 from the server
192.168.58.147
Mysql-monitor Monitoring Proxy Server
192.168.58.148
Constructing MySQL multi-master multi-slave mode in the experiment process1
Using System;Using System.Collections.Generic;Using System.Linq;Using System.Text;Using System.Threading.Tasks;Namespace ConsoleApplication2{Class Program{static void Main (string[] args){/* Title:The bonuses awarded by the Enterprise are based on the profit percentage.Profit I is less than or equal to 100000 yuan, the bonus can be raised 10%;Profit above 100000 yuan but less than or equal to 200000 yuan, less than 100000 of the 10% commission, higher than 100000 of the portion, can commission 7
1. The server has been customized and I do not know the corresponding centos version;
2. PHP is compiled by yourself, and the source code of the corresponding version is not retained on the server. Find the php version number through/pathto/php-v, and then download the corresponding php source code package through wget;
3. pressurize the code to the ext/openssl directory of the source code and configure the compiling environment using phpize. The general steps are as follows:
Cannot find c
In linux, configure sendmail (RPM package)-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Environment: RedHat Linux 9.0 is fully installed or the following installation packages have been installed:
Imap-2001a-18.i286.rpm
Sendmail-8.12.8-4.i386.rpm
M4-1.4.1-13.i386.rpm
Cyrus-sasl-2.1.10-4.i386.rpm
Cyrus-sasl-md5-2.1.10-4.i386.rpm
Cyrus-sasl-plain-2.1.10-4.i386.rpm
Cyrus-sasl-gssapi-2.1.1
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.