contents are as follows:
echo "
" >/usr/local/apache2/htdocs/index.php
cat/usr/local/apache2/htdocs/index.php
Four, Test PHP
Once the above modifications are complete, we restart Apache using the following command:
/ETC/INIT.D/HTTPD Graceful
Note that this command can gracefully restart Apache.
Open the site as follows:
Through, we can obviou
Install Apache 2
Apache2 is a centos software package, so we can directly install it using the following command:
Yum install httpd
Now configure the system to start Apache at boot
Chkconfig -- levels 235 httpd on
And start Apache
/Etc/init. d/httpd start
Now, go to http: // 192.168.0.100 in your browser and you should see the test page of apache2:
1. Turn on the rewrite moduleVim Httpd.conf#[plain] View plain copyloadmodule rewrite_module modules/mod_rewrite.so2. Turn on allowoverride[Plain] View plain copy# # AllowOverride controls What directives is placed in. htaccess files. # It can be ' all ', ' None ', or any combination of the keywords: # Options FileInfo authconfig Limit # allowoverride No NE modify allowoverride None for allowoverride allAbout allowoverride Instructions:The allowoverride parameter indicates whether the
When using open source code, you also need to pay attention to the corresponding open source Protocol, especially in commercial applications. The following is a simple summary and understanding of common open source protocols.
Matchday
9GAG
Wunderlist 2
The Verge
MTG Familiar
Mantano Reader
Falcon Pro (BETA)
MW3 Barracks
4. Cocos2d-xIn the field of mobile development, Cocos2d-x is used for mainstream ios/android game development of the company, the development team countless. Cocos2d-x is an open-source, multi-platform 2D game framework that is developed using C + + and is published under the MIT
RedHatLinux6 uses the CentOSyum source. For more information about CentOSyum source configuration, see configure.
RedHat Linux 6 uses the CentOS yum source.
For CentOS yum source configuration, see http://www.linuxidc.com/Linux/2015-07/119782.htm
Step 1 download and install the software package on which
Programmers to stand on the shoulders of Giants, C + + has a rich open source library, which includes: standard library, Web application framework, artificial intelligence, database, image processing, machine learning, logging, code Analysis and so on.Standard library
C + + Standard Library: A collection of classes and functions, written in the core language, is also part of C++iso's own standards.
Common protocols: GPL, BSD, MIT, Mozilla, Apache, and lgpl For details about the differences between protocols, refer to [reprint] how to select an open-source license? A detailed explanation of each protocol is as follows: 1. GPL: detailed introduction to the GPL Protocol 2. BSD: Introduce BSD
Install apache in Linux source code and solve common errors.
Original document location
1. Compile and install apache
1. Resolve Dependencies
The httpd-2.4.4 needs a newer version of apr and apr-util, so it needs to be upgraded in advance.
There are two upgrade Methods: One is through source code compilation and instal
is a more efficient way to share technology and obtain information. During the winter vacation last year, I went to the irc channel of fedora. The above level is very high. However, IRC is blocked in the city where the school is located.
Web
Early Web servers and browsers are almost all open-source products. Apache and mozilla are still the best http se
Install apache in Linux source code and solve common errors1. Compile and install apache 1. Resolve dependency httpd-2.4.4 requires a newer version of apr and apr-util, so it needs to be upgraded in advance. There are two upgrade Methods: One is through source code compilation and installation, and the other is to dire
quickly generate images, which is similar to creating images using the Java graphic2d package.
More information about ajax4jsfThinkcap JX thinkcap is an advanced MVC framework that manages runtime interface layout, GUI Component appearance, status management, data binding, validation, and data persistence. The framework is driven by the Java class and XML Metadata generated by its workbench. Thinkcap is built on 25 open-
From the mike_shi blog, I can see the "Open Source" Last card "on csdn. The author takes the three software: Compiere, sugarcrm, and Asterisk as an example, note: "Open Source" has already entered the high-end commercial software field and is no longer limited to professional developers.
However, this is not suitable f
Label:First, Introduction What is lamp Lamp is a Web network application and development environment, is the abbreviation of Linux, Apache, MySQL, Php/perl, each letter represents a component, each component in itself is a very powerful component in the aspect it represents. The origin of the word lamp originated in the German magazine "C ' t Magazine", where Michael Kunze first set together these projects to create the acronym for Lamp in 1990. Thes
assume that you have compiled Apache through visual studio.net and installed it on the local computer in debug mode. Assume that your installation root directory is D:/apache22.
(1
) Start Apache first.
Server. The command line is as follows:Path D:/apache22/bin # Set the environment variable httpd-K install # Install httpd-K start # Start
(2
) Start visual studio.net ide
Environment, and set the breakpoin
Ext.: http://blog.csdn.net/kevingao/article/details/8125683activation~ JavaMail-related jar packages, use javamail should be joined to the Lib with Mail.jar (Mail.jar and Activation.jar), specifically responsible for mail data sources and types.Apacheactivemq~apache, the most popular and powerful open source messaging bus. ACTIVEMQ is a JMS provider implementatio
Label:CentOS 6.5 under source installation lamp (linux+apache+mysql+php) environmentI. System environment:Linux system version: CentOS release 6.5Apache Version: httpd-2.2.24PHP version: php-5.6.11 Two Preparation before installation:1. Check to see if GCC is installed, gcc-c++ compiler, and install if not:To see if the command is installed:#gcc –vIf not installed in the server networking scenario, you can
following command:
Make zend_extra_libs= '-liconv '
We can also add-liconv to the Zend_extra_libs line by modifying the makefile file. As follows:
VI Makefile
Make install
Through, we can obviously see the Apache configuration file httpd enabled PHP support, but also the libphp5.so files copied to the Apache module directory.
Third, configure Apache
MTG Familiar
Mantano Reader
Falcon Pro (BETA)
MW3 Barracks
4. Cocos2d-xIn the field of mobile development, Cocos2d-x is used for mainstream ios/android game development of the company, the development team countless. Cocos2d-x is an open-source, multi-platform 2D game framework that is developed using C + + and is published under the MIT license
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.