In Linux, after configuring the apache virtual machine, I first installed apache in linux by compiling the source code, I want to configure a virtual machine, just like using different domain names in windows to locate the root directory of the site that cannot be located. People who have done this should be able to un
=" Wkiom1mobpnrp308aabcnh5u9lg583.png "/>4. TestingTest on the 172.25.254.28Configure local parsing files in the host where the browser resides vim/etc/hosts172.25.254.128 www.westos.com news.westos.com sports.westos.com650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/9E/41/wKioL1mOc42hKTM9AABFhC-N_sY495.png "style=" float : none; "title=" screenshot from 2017-08-11 17-13-58.png "alt=" Wkiol1moc42hktm9aabfhc-n_sy495.png "/>Open www.westos.com in the browser, access to the default file
From the virtual host to the vps/server over, for ordinary non-technical webmaster users may have some difficulties, wheat suggested that if we can in the virtual host environment to meet the needs of the site, or with a virtual host is better. Unless we really need to or want to go from the virtual host to the vps/server, after all, the latter's degree of freedom is relatively large, some projects require characteristics of the environment support.In this article, the wheat will share our commo
This section says Apache's installation directory fileSpecifically describes the configuration of some important filesTree-l 1/usr/local/apache[Email protected] extra]# tree-l 1/usr/local/apache/usr/local/apache├──apache-/usr/local/apache├──bin├──build├──cgi-bin├──conf├──err
Apache|js Linux under the JSP development environment, APACHE,TOMCAT server configuration process:
(Special note: This article is referred to the Internet, through personal practice and summary, if you encounter problems in the configuration, please contact me, may write the time missing some places, thank the experience of the Internet predecessors, hope that m
Linux System for Ubuntu
First, start Apache 2 Server/start Apache service
#/etc/init.d/apache2 Start
Or
$ sudo/etc/init.d/apache2 Start
Second, restart Apache 2 Server/restart Apache service
#/etc/init.d/apache2 Restart
Or
$ sudo/etc/init.d/apache2 Restart
Third, st
Lamp:linux + apache + mysql + phpThe root cause of the problem with Linux+php+apache calling Python scripts in the previous essay is that Apache user permissions are not sufficient to use Apache runtime;The solution is to change Apache
Apache Log round-robin linux cronolog
In Apache, a Web server running in Linux, log files are separated by default. An entire file is neither easy to manage nor analyze statistics. After cronolog is installed, log files can be separated by time, which is easy to manage and analyze.
Cronolog is easy to install and confi
, 8443pegasus_http_port_t TCP 5988pegasus_https_port_t TCP 5989Here we see http_port_t are assigned to ports 80, 443, 488, 8008, 8009, 8443The policy is written to allow httpd_t Http_port_t:tcp_socket name_bind;This means the Apache command can "bind" to a port that is labeled http_port_t.So lets say the want to run httpd on port 81.So you edit/etc/httpd/http.confand change this lineListen 80ToListen 81Now restart the daemon.Service httpd Restartstopp
sequence is as follows. If no error occurs, the installation is successful.Tar-zxvf httpd-2.2.6.tar.gzMusic httpd-2.2.6 ApacheCD Apache./Configure -- prefix =/usr/local/apache2 -- enable-module = soMakeMake installMain Apache directories and filesLocation of the main configuration file:/etc/httpd/CONF/* Or/usr/local/apache2/CONF/httpd. confStart script/etc/rc. d/init. d/httpdHelp document/usr/local/apache2
In linux, use mod-jk to integrate apache and tomcat-Linux Enterprise Application-Linux server application information. The following is a detailed description. See clearly, this is mod-jk, not outdated mod-jk2, the following take ubuntu6.10 version as an example to illustrate the simple installation process.
1. instal
One, ApAche IntroductionApache HTTP Server is an outstanding representation of open source software projects, providing web browsing services based on standard HTTP network protocols and maintaining over half of the Web server space over the long term. Apache server can be run in various operating platforms such as Linux,unix,windowsSecond,
Apache Log polls linux cronolog and cronolog
In Apache, a Web server running in Linux, log files are separated by default. An entire file is neither easy to manage nor analyze statistics. After cronolog is installed, log files can be separated by time, which is easy to manage and analyze.
Cronolog is easy to install an
How to install and configure Apache Samza and apachesamza on Linux
Samza is a distributed stream processing framework (streaming processing). It implements real-time stream Data processing Based on Kafka message queues. (To be precise, samza uses kafka in a modular form, so it can be structured in other message queue frameworks, but the starting point and default implementation are based on kafka)
By default, Apache on Linux uses the
The default document directory is:/var/www
The default port is: 80
If you want to publish a system resource directory of your own, you can use the following method to execute the following command:
(1) Add listening port#cd/etc/apache2
#vim ports.conf
File add:
Namevirtualhost *:8000Listen 8000
(2) Configure the virtual directory#cd/etc/apache2/sites-available
#cp de
Linux common commands (including Apache and MySQL) change password passwdroot Nic add IP address ifconfigeth0: 1184.82.167.219netmask?#248ifconfigeth0: 2184.82.167.220netmask?##248 restart www.2cto...
Linux common commands (including Apache and MySQL) change password passwd root Nic add IP address ifconfig eth0: 1 184.
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.