Use Raspberry Pi to build your own web server (2) set up Apache and raspberry apache
1. Obtain the Server IP Address:
1 ifconfig
2. Change the local hosts file
If you want to enter a domain name in your browser to access your server, you need to change the hosts file in your computer.
Linux:
1 sudo vim /etc/hosts
Windows:
1 C:\Windows\System32\drivers\etc\hosts
Open the host file and add the following cont
One: Apache and PHP CombineModifying the Apache configuration file#vi/usr/local/apache2/conf/httpd.confFound it:Options FollowSymLinksAllowOverride NoneOrder Deny,allowDeny from allSwitchOptions FollowSymLinksAllowOverride NoneOrder Deny,allowAllow from allDescription: If you do not modify this place, we visit the site will be forbidden to access, display 403.Then find:AddType application/x-gzip. gz. tgzUnd
0. Before you start, you need to set the power-on password for your computer and you want to open the local server.
First, local Apache server
1. First build a Sites folder under your own computer nickname folder
If you are not in the blog to see this article, please click to view the original
There are some false data in the background. Like mine is in the/USERS/DSX directory.
2. Find the configuration file, back to the original file
Remove index.php on the Apache server access modeBelow I say Apache, how to remove the URL inside the index.phpFor example: Your original path is: Localhost/index.php/indexThe changed path is: Localhost/indexThe mod_rewrite.so module is loaded in the 1.httpd.conf configuration file//configured in Apache#LoadModule rewrite_module modules/mod_rewrite.so To remove t
Https://www.iteblog.com/archives/1624.html
Whether we need another new data processing engine. I was very skeptical when I first heard of Flink. In the Big data field, there is no shortage of data processing frameworks, but no framework can fully meet the different processing requirements. Since the advent of Apache Spark, it seems to have become the best framework for solving most of the problems today, so I have a strong skepticism about another fr
Configure apache Virtual Machine + software download, apache Virtual MachineStep 1:
Open the httpd. conf file in c:/wamp/apache/conf,
In httpd. conf, press ctrl + f and enter vhosts.
Find the line and remove the # above
Operation
Step 2:
Open the master configuration file of the VM
Httpd-vhosts.conf in c:/wamp/apache
Find your Apache installation directory, the directory of Apache installed for small series
2 Click the Conf folder Enter the configuration directory, locate the httpd.conf file,
3 To open the httpd.conf file, Find 475 rows, or ctr+f find httpd-vhosts.conf Remove the previous # Ps:include conf/extra/httpd-vhosts.conf (this refers to the Apache
The performance is as follows:Apache:1. The Apache service named reported the following error:>>> (OS 5) denied access. : Httpd.exe:could not open error log file D:/xxxx/apache/logs/error.log. .2. The Apache service named reported the following error:>>> Unable to open logs.Mysql:1, Can ' t create test file D:\xxxx\MySQL5.1\data\yyyy.lower-testLet security label
This article is mainly to share with you Apache so that other hosts on the same LAN can access this Apache server method, I hope to help everyone.
Apache2.2 and its previous versions
In the addOrder Allow,denyAllow from all
Apache2.4 version
In the Apache2.4 version of the above settings after the restart Apache will error, the search found that the Apache2.
Apache: configure the virtual host and apache virtual host. Apache configure virtual host, apache virtual host # enable VirtualhostsIncludeconfextrahttpd-vhosts.conf in httpd. conf # then configure in the httpd-vhosts.conf # match according to ip # Vi apache configure virtua
. It does not respond to user requests. It is used to create idle processes or destroy processes.
Httpd: Apche, Apache (Worker Process) Worker Process
It also has its own service script:
/Etc/rc. d/init. d/httpd
Port: (80/TCP), (https: 443/tcp)
The installation directory of the task software is in the/etc/httpd directory;
/Etc/httpd: Working root directory, equivalent to the program installation directory in Windows
/Etc/httpd/conf: configuration f
Using Hadoop to analyze and process data requires loading the data into a cluster and combining it with other data in the enterprise production database. It is a challenge to load large chunks of data from production systems into Hadoop or to get data from map reduce applications in large clusters. Users must be aware of the details of ensuring data consistency, consuming production system resources, and supplying downstream pipeline data preprocessing. Using a script to transform data is ineffi
Turn from: http://hi.baidu.com/pibuchou/blog/item/5cd41315d7a99215962b4334.html
Common compile parameter list
/configure//Configure the Source code tree–PREFIX=/USR/LOCAL/APACHE2//System-independent file top-level installation directory prefix, also on Apache's installation directory.–ENABLE-MODULE=SO//Open so module, so module is used to lift the DSO support of the Apache core module–enable-deflate=shared//Support for Web page compression–enable-exp
All articles on this site areLi huaming himiOriginal, reprinted must be explicitly noted:Reprinted from[Heimi gamedev block]Link: http://www.himigame.com/apache-mina/831.html☞Click to subscribe☜The latest developments in this blog! Notify you of the latest blog in time!
The learning phase of the hibernate series is now over, so now we are going to start the development and learning of Apache Mina. Many chi
The default Apache port 80 is used, causing service failure. The default apache Port
In practice, when running the Apache service, you may find that the default port 80 of Apache is occupied and the service cannot be started. However, you can find out which process cannot be used, how should we solve the problem at th
A clean CentOS environment
Install the JDK and configure the environment variables
Direct installation via yum-y install httpd command
After installation enter Usr/sbin/apachectl start Apache.
Apache AB performs a stress test with the following path:/usr/bin/ab, executed under the/usr/bin path./AB-V display version that Apache AB was installed success
Modify Vim/usr/local/apache2.4/conf/httpd.confCancel the # before ServerName, let us take effectAdd a 80-port access ruleIptables-i input-p TCP--dport 80-j ACCEPTOpen cmd TestTelnet succeeds, press CTRL +] to exit TelnetOpen Browser TestAttempt to modify the status in the configuration file to deniedAfter modificationTest syntax correct or not[Email protected] ~]#/usr/local/apache2.4/bin/apachectl-tSyntax OKReload the configuration file[Email protected] ~]#/usr/local/apache2.4/bin/apachectl Grac
Configure multiple sites in apache and sites in apache
The following configuration is available in the httpd. conf file (Note: remove the comments from the httpd. conf file)
Listen 80ServerName localhost
(It is best to clear the browser cache before testing). Enter http: // localhost/Workshop/Apache/in the browser to access all files under E:/Workshop/
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.