The cause is selinux. after The selinux is disabled in etcselinuxconfig, I have restarted and created a redmine. on the host machine, I can access 192.168.33.55: 3000 through a browser, and I can also access my own 192.168.33.55: 3000 so I started to modify nginx forwarding 808...The cause is the selinux problem. after The selinux is disabled in/etc/selinux/config, restart the system.
I created a redmine,
The reason is the selinux problem, after shutting down in the/etc/selinux/config, reboot is good.
I created a redmine, and my host hosts were able to access the browser to 192.168.33.55:3000
Inside the virtual machine you can also access your own 192.168.33.55:3000
So I started to modify the Nginx forwarding 8080 to the virtual machine's 3000
Can I use echo to pass php values to js? For example, the question is that the value is transmitted in json format. because there are many records, it takes too much time to use echo.
Reply to discussion (solution)
Why does it take too much time to use echo?
Serialization or json encoding before echo; Echo json_encode ($ array );
Because the database query results have a large number of records, it is too slow for the front-end to click query when it is sent to ajax.
Serialization or jso
This article mainly introduces the CSS to record the user password method of the relevant information, small series feel very good, and now share to everyone, but also for everyone to do a reference. Let's take a look at it with a little knitting.
Simple CSS code does not even conform to Turing's complete language, but it can also be a tool for some attackers, here's a quick introduction to how to use CSS to record a user's password. However, these CSS scripts appear in third-party CSS librarie
)└ ── Subtext@1.0.1 (content@1.0.1, pez@1.0.0)
2. configuration items
1) create a new directory named myprojectCopy codeThe Code is as follows:$ Mkdir myproject$ Cd myproject2) run the initialization command in the directoryCopy codeThe Code is as follows:$ Npm initThis command generates the package. json file, which is the metadata of the project.Run the following command:Copy codeThe Code is as follows:$ Npm install -- save hapiIt installs the hapi library under the project and writes the hapi
hash value. Once a change occurs, the message sent from the home page is displayed immediately, in addition, by setting the hash on the home page, you can transmit messages on the home page, so that two-way cross-origin traffic can be completed. The effect is as follows:Cross-fragmentBecause many websitesHashHas been used for other purposes, for such websitesHashCross-Origin will be very complex (fromHashTo merge and separate messages ). Therefore, we haveHashAn upgraded version:Cross-fragmentT
Some thoughtless fellow may be thread.interrupt by another method. Although its name seems to imply something, however, this approach does not break a running thread (which will be further explained later), as described in Listing a. It creates a thread and tries to stop the thread using the Thread.Interrupt method. The invocation of the Thread.Sleep () method provides ample time for the initialization and abort of the thread. The thread itself does not participate in any useful operations. clas
destination address
-S Can be IP, NET, DOMAIN, and can be empty (any address)
For example:
-s 192.168.0.1 matching packets from 192.168.0.1
-s 192.168.1.0/24 matching packets from 192.168.1.0/24 network
-s 192.168.0.0/16 matching packets from 192.168.0.0/16 network
-D It can be IP, NET, DOMAIN, or empty
For example:
-D 202.106.0.20 matching packets to 202.106.0.20
-D 202.106.0.0/16 matching packets to 202.106.0.0/16 network
-D www.abc.com matching packets to domain www.abc.com
3.3.3 Match b
nodes, A, B, and C, then our n is 3.
We want to write only one copy W = 1, then according to W + r> n there are r = 3. There are the following scenarios:
First, a received a request that the iPhone price is 4000. We now have 4000 [A: 1];
Before data is copied to B and C, someone told a that the price was increased to 4500. then there is 4500 [A: 2] On A, which overwrites the previous [A: 1]
Then the price was copied to B and C. Then there is also 4500 on B and C [A: 2].
At this poi
)├ ── Joi@4.7.0 (isemail@1.1.1)└ ── Subtext@1.0.1 (content@1.0.1, pez@1.0.0)2. configuration items1) create a new directory named myproject$ Mkdir myproject$ Cd myproject2) run the initialization command in the directory$ Npm initThis command generates the package. json file, which is the metadata of the project.Run the following command:$ Npm install -- save hapiIt installs the hapi library under the project and writes the hapi dependency to package. json.At this point, everything required for
16.04 and use this software to configure Docker monitoring.
Prerequisite
Install the Docker server
Install Grafana
We can build our Grafana in the Docker. There is an official supply of grafana Docker mirrors.
Please run the following command to build the Grafana container.
root@ubuntu:~# Docker run-i-P 3000:3000 Grafana/grafana Unable to find image ' grafana/grafana:latest ' locally: Pulling fro
open slots... >>> check slots coverage... [OK] All 16384 slots covered. how many slots do you want to move (from 1 to 16384 )? 3000 # Set the 3000 slots to be moved. What is the working node ID? 5ef18f95f75756891aa948ea1f200044f1d3947c # Set the ID of the node that receives the 3000 slots, that is, the newly added IDPlease enter all the source node IDs. type 'al
methodsThe configuration option value can only be modified when the server is started.By using the config commands, You can dynamically modify the value of the option when the server is running, or obtain the current value of the option through the command.You can use the config GET command to obtain the current value of the option. The format of this command is:
CONFIG GET
For example, run the following command to return the maximum normal execution time of the Lua script currently set on the
global address (GlobalAddress ). The local link address is unique in the local link, and the global address is unique in the Global IPv6 network.
You can also manually configure the IP address for the network card. For example, if the network card is an Ethernet card, you can use the following command to configure a Global IP address for the network card as 2001: 250: 3000: 1: 1: 1, IPv6 address with a network prefix of 112:Ifconfig eth0 add 2001: 25
: process.env.REDIS_PORT || 6379, db: process.env.REDIS_DB || 0 }), cookie: { expires: false, maxAge: 30 * 24 * 60 * 60 * 1000 } }));});app.get('/', function(req, res) { res.json({ status: "ok" });});var port = process.env.HTTP_PORT || 3000;server.listen(port);console.log('Listening on port ' + port);
Server. js pulls all dependencies and starts a specific application. this specific application is set to store session information in Redis an
transmits the first packet (3000-3499), so the receiver finds a duplicate, and then returns a sack=3000-3500 because the ACK is 4000 means that all data before 4000 is received. So this SACK is d-sack--is designed to tell the sender that I received duplicate data, and our sender also know that the packet is not lost, the missing is the ACK packet.
1 2 3 4 5 6 7
Transmitted Received ACK Sen
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.