A0a40000026f2c = 9f0f // access control level
A0d6000001 [acc_c, 2, H] = 9000
A0a40000026f28 = 9f0f
A0dc0000005 [Sid, 16, H] ffffff = 9000 //00
Updates the record file, Sid system identifier, P1: Record Number, P2: Mode
P2 encoding rules
B8
B7
B6
B5
B4
B3
B2
B1
Meaning
0
0
0
0
0
-
-
-
Currently selected EF
X
X
X
X
X
-
address is localhost: 88, if the following interface appears, the installation is successful:
2. Install php5-fpm
Also use apt-get:
sudo apt-get install php5-fpm
3. modify the configuration file to support PHP
Open the configuration file:
# Open the configuration file sudo vim/etc/nginx/sites-available/defaultFirst, add index. php after index:
Server {listen 88 default_server; listen [:]: 88 default_server defaults 6only = on; root/usr/share/nginx/html; # modify here and add index after in
10.0.1.42
The IDE listens on port 9000, so Xdebug.remote_port is set to 9000
The HTTP request starts on the same machine as the IDE.
Xdebug Connecting to 10.0.1.42:9000
Debugging begins, HTTP provides a response.
Unknown ip/multiple DevelopersIf the xdebug.remote_connect_back is used, it is connected in a somewhat different way:
Ser
paths, and you can call both methods to establish a path list, and the Setinputpaths () method sets the complete list of paths at once, replacing the previous call in the Job All paths that are set on the. Their specific use method, see the following exampleSet a source path Fileinputformat.addinputpath (Job, New Path ("Hdfs://ljc:9000/buaa/inputpath1"));//Set multiple source paths, Multiple source paths are separated by commas fileinputformat.addinp
void setinputpaths (Job job,string commaseparatedpaths); The Addinputpath (), Addinputpaths () method can add one or more paths to the list of paths, and you can call both methods to establish a path list, and the Setinputpaths () method sets the complete list of paths at once, replacing the previous call in the Job All paths that are set on the. Their specific use method, see the following example1//Set a source path2 Fileinputformat.addinputpath (Job,New Path ("Hdfs://ljc:
voidSetinputpaths (Job job,string commaseparatedpaths);The Addinputpath (), Addinputpaths () method can add one or more paths to the list of paths, and you can call both methods to establish a path list, and the Setinputpaths () method sets the complete list of paths at once, replacing the previous call in the Job All paths that are set on the. Their specific use method, see the following example1 //set a source path2Fileinputformat.addinputpath (Job,NewPath ("Hdfs://ljc:
to run in Eclipse, try to run normally.Here we try to execute namenode with the command line, then run Datanode with Eclipse, and then open a command line, with the FS command, whether the previous content can be found.1. Open terminal, CD into hadoop-0.20.2 directory, execute bin/hadoop namenode commandThe following error occurred:14/12/15 17:31:47 INFO datanode. Datanode:startup_msg:/************************************************************startup_msg:starting DataNodestartup_msg:host = ub
]$ python-m simplehttpserver 8080Serving HTTP on 0.0.0.0 port 8080 ...Without any reflectionAt this point Telnet stops, enter a character "a", and then enter[[Email protected] ~]$ telnet localhost 8080Trying 127.0.0.1 ...Connected to localhost.Escape character is ' ^] '.AConnection closed by foreign host.Look at the server again[Email protected] monitor]$ python-m simplehttpserver 8080Serving HTTP on 0.0.0.0 port 8080 ...127.0.0.1--[22/aug/2014 07:15:16] code, message Bad Request syntax (' a ')1
the command. How to map the IC card loopback data (if present) and the status code to the R-APDU depends on the length of the loopback data.The process bytes returned by the IC card SW1 sw2= ' 61xx ' and SW1 sw2= ' 6Cxx ' are used to control the exchange of data between the IC card and the TTL and it will not be sent back to TAL. Procedure byte SW1 sw2= ' 61xx ' or SW1 sw2= ' 6Cxx ' denotes lifeThe processing in the IC card is not completed.If the IC card return to the TTL status code is SW1 sw
Also open the configuration file:
#打开配置文件sudo Vim/etc/nginx/sites-available/defaultFirst, add the index.php after index:
server {Listen Default_server;listen [::]:88 default_server ipv6only=on;root/usr/share/nginx/html; #修改这里, add Index.phpindex index.php index.html index.htm;# make site accessible from Http://localhost/server_name l after index Ocalhost; ....Then, you can remove the following comments, see clearly where it is:
# Pass the PHP scripts to FastCGI server liste
Nginx
After unpacking, open the nginx.conf file in the Conf directory to find
Location/{root HTML; Index index.html index.htm; } #error_page404/404. html; # REDIRECT Server error pages to theStaticPage/50x.html # Error_page - 502 503 504/50x.html; Location= /50x.html {root html; } # Proxy The PHP scripts to Apache listening on127.0.0.1: the# #location~\.php$ {# Proxy_pass http://127.0.0.1;#} # Pass the PHP scripts to FastCGI server listening on127.0.0.1:
communication channel:
Server IP is 10.0.1.2, HTTP port 80
The IDE is located on IP 10.0.1.42, so xdebug.remote_host is set to 10.0.1.42
The IDE listens on port 9000, so Xdebug.remote_port is set to 9000
The HTTP request starts on the same machine as the IDE.
Xdebug Connecting to 10.0.1.42:9000
Debugging begins, HTTP provides a response.
Recently debug public number function, do not want to submit to the server every time to read the log
So on the server with the Nginx reverse proxy to the server 80 port received the request forwarded to the 127.0.0.1:9000
Then using SSH to tunnel the server 9000 port mapped to my local development machine 80
SSH Tunnel Reference http://my.oschina.net/magicly007/blog/480706
Assume server external domain na
, passing it to nginx along a fixed socket, and finally, Nginx sends the returned data to the client. Nginx Simple Configuration Location ~ \.php$ {root/home/admin/web/nginx/html/; Fastcgi_pass 127.0.0.1:9000; Fastcgi_index index.php; Fastcgi_param script_filename/home/admin/web/nginx/html/$fastcgi _script_name; Include Fastcgi_params; }When Nginx receives an HTTP request, the corresponding server is found throug
PHP, while the IDE acts as a server. The following dynamic diagram shows the process of establishing a connection.
The server IP is 10.0.1.2, using the HTTP protocol with Port 80
The IDE xdebug.remote_host is set to 10.0.1.42 on a machine with an IP address of 10.0.1.42
The IDE listens on port 9000, so xdebug.remote_port set to 9000
HTTP requests originate from the server running the I
() method *@authorChenchi **/ Public classHdfsutils {PrivateFileSystem FS; /*** Plus @before will be executed before the test method * *@throwsException*/@Before Public voidInit ()throwsException {//reads the xxx-site.xml configuration file under Classpath and parses its contents into a Conf objectConfiguration conf =NewConfiguration (); //If you put the configuration file under SRC, this line of code can be used without writing//You can also manually set the configuration information in the Co
access to proxy is equivalent to access the target②IDC the target machine of a special Web service run on an abnormal port such as 9000, and the firewall is only open to 80, at this time proxy mapping to 9000, external access 80 is equivalent to 9000In this exampleMachine 192.168.0.114 is our reverse proxy server.Apache/2.0.63 running on its 80 portA virtual host with two domains abovewww.a.orgwww.b.orgThe
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.