2018年7月

[code lang="js"]netsh interface portproxy add v4tov4 listenport=5555 connectaddress=127.0.0.1 connectport=445
netsh interface portproxy add v4tov4 listenport=3389 connectaddress=172.16.100.5 connectport=3389
netsh interface portproxy delete v4tov4 listenport=3389
netsh interface portproxy show v4tov4[/code]

[php]这里写你的代码[/php]
[css autolinks="false" classname="myclass" collapse="false" firstline="1" gutter="true" highlight="1-3,6,9" htmlscript="false" light="false" padlinenumbers="false" smarttabs="true" tabsize="4" toolbar="true" title="example-filename.php"]这里写你的代码[/css]
[code lang="js"]这里写你的代码[/code]
[sourcecode language="plain"]这里写你的代码[/sourcecode]

1.g++ -o Helloworld.i -E Helloworld.cpp 源文件编译成中间文件及i文件(预处理文件过程)

2.g++ -o Helloworld.s -S HelloWorld.i (预处理文件转换成汇编文件.s)(编译)

3.g++ -o Helloworld.o -c HelloWorld.s (转换成目标及二进制文件)

4.g++ -o Helloworld.exe HelloWorld.s (代码与函数库链接)

5.Helloworld.exe 执行

[sourcecode language="plain"]server
{
listen 80;
server_name wzh.kim *.wzh.kim;
return 301 https://$host$request_uri;
access_log /home/wwwlogs/wzh.log;
}[/sourcecode]