
HTTP
hushui
Coding Since 1998
展开
-
npm config set registry (Domestic respository )
1 #将来源换成淘宝源2 npm config set registry https://registry.npm.taobao.orgFile =====> ~/.npmrc原创 2021-09-22 21:20:48 · 1949 阅读 · 0 评论 -
reactdemo/node
Microsoft Windows [版本 10.0.18363.1379](c) 2019 Microsoft Corporation。保留所有权利。D:\>cd D:\Develop\React\node-v14.16.0-win-x64D:\Develop\React\node-v14.16.0-win-x64>nodevars.batYour environment has been set up for using Node.js 14.16.0 (x64) and n..原创 2021-03-06 19:29:42 · 910 阅读 · 1 评论 -
MQ middle ware test/rocketmq-all-4.7.0-bin-release
1. set JAVA_HOME/ROCKETMQ_HOMED:\git-yl\rocketmq-all-4.7.0-bin-release>set JAVA_HOME=D:\git-yl\jdk-8u171-windows-x64D:\git-yl\rocketmq-all-4.7.0-bin-release>D:\git-yl\rocketmq-all-4.7.0-bin-release>set ROCKETMQ_HOME=D:\git-yl\rocketmq-all-4.原创 2020-06-22 12:25:26 · 484 阅读 · 0 评论 -
RHEL7.2 配置笔记 2 - PHP test
[root@localhost ~]# cat /etc/redhat-releaseRed Hat Enterprise Linux Server release 7.2 (Maipo)[root@localhost ~]#[root@localhost ~]# rpm -qa |grep phpphp-5.4.16-36.el7_1.x86_64php-common-5.4.16-3...原创 2018-03-07 12:25:20 · 327 阅读 · 0 评论 -
RHEL7.2/Centos-node.js 1. Install
1. NoteGCC 4.8 can't build new node.js/8.0/2018lake@localhost:~/Cloud/node/node-v6.9.5$ gcc -vUsing built-in specs.COLLECT_GCC=gccCOLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-...原创 2018-03-07 13:47:54 · 165 阅读 · 0 评论 -
RHEL7.2/Centos-node.js 2. npm install and websocket example
npm 类似 RPM/RHEL 或者Debian/deb.为了减少对全局的依赖,默认npm将需要的第三方软件包安装在项目的本地目录,类似GCC的sys-root。全局安装除非参数-g指定,并且必须设定系统环境变量 NODE_PATH。 websocket例子 /windows7-64bit /node 6.9 D:\Develop\Cloud\node\ws-nodejs>node -vv6...原创 2018-03-09 13:44:53 · 285 阅读 · 0 评论 -
RHEL7.2/Centos git web 1. instaweb 2. gitweb with Apache
1. Build with sourceDefault, git/v1.8.3.1 on RHEL/Centos7 does not have git instaweb program.git clone -b v1.8.3.1 --depth 1 https://github.com/git/git.gitmakemake install (Default into $HOM...原创 2018-03-19 15:08:01 · 236 阅读 · 0 评论 -
RHEL/Centos7.x Nginx FastCGI with php
To build Nginx, refer tohttps://blog.youkuaiyun.com/hushui/article/details/79711432https://blog.youkuaiyun.com/hushui/article/details/79638741#Default path/etc/nginx/nginx.conf ---> Configuration/var/log...原创 2018-03-27 14:45:18 · 585 阅读 · 0 评论 -
RHEL/Centos7 Full build nginx-1.13.9 with openssl-1.1.0g and test
lake@localhost:~/Cloud/nginx/nginx-1.13.9$ ls -l ..drwxr-xr-x 9 lake sys 4096 Mar 21 01:24 nginx-1.13.9-rw-r--r-- 1 lake sys 994802 Mar 20 04:23 nginx-1.13.9.tar.gzlrwxrwxrwx 1 lake sys 1...原创 2018-03-27 12:55:00 · 782 阅读 · 0 评论 -
RHEL/Centos7.x Build Nginx1.12.2 and test
Official version checkyum install/Centos nginx/1.12.2[lake@LongchangHost git]$ nginx -vnginx version: nginx/1.12.2[lake@LongchangHost git]$ nginx -Vnginx version: nginx/1.12.2built by gcc 4.8.5 201...原创 2018-03-21 13:31:56 · 426 阅读 · 0 评论 -
RHEL7.x/Centos配置笔记4- PhpMyAdmin
[root@localhost Packages]# php -vPHP 5.4.16 (cli) (built: Jun 10 2015 04:34:17)Copyright (c) 1997-2013 The PHP GroupZend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies[root@localhost Packag...原创 2018-03-08 13:53:55 · 180 阅读 · 0 评论 -
RHEL7.2 配置笔记 1-Http服务器Apache
参考文件https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/deployment_guide/s1-httpd-secure-serverhttps://www.digitalocean.com/community/tutorials/how-to-create-an-ssl-certifica...原创 2018-03-02 16:32:53 · 1480 阅读 · 0 评论 -
RHEL/Centos7 caddy_v1.0.0_linux_amd64/localhost/HTTP only
1. Environment[lake@DESKTOP-P55Q2H7 ~]$ cat /proc/versionLinux version 3.10.0-957.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Thu Nov 8 23:39:32 UTC 2018[lake@DESKTOP-P55Q2H7 ~]$ una..原创 2020-06-16 16:42:24 · 273 阅读 · 0 评论 -
Windows/caddy_v1.0.0_windows_amd64/localhost/HTTP only
1. EnvironmentMicrosoft Windows [版本 10.0.18363.836](c) 2019 Microsoft Corporation。保留所有权利。D:\>cd git-ylD:\git-yl>cd WinD:\git-yl\Win>cd caddy_v1.0.0_windows_amd64D:\git-yl\Win\caddy_v1.0.0_windows_amd64>dir驱动器 D 中的卷是 hushui卷的序...原创 2020-06-16 16:54:52 · 882 阅读 · 0 评论 -
caddy_2.0.0_windows_amd64/reverse-proxy from https to http
#caddy_2.0.0_windows_amd64D:\git-yl\Win\caddy_2.0.0_windows_amd64>.\caddy reverse-proxy --from localhost --to 47.100.203.632020/06/16 10:18:25.076 [33mWARN[0m admin admin endpoint disabled2020/06/16 10:18:25.077 [34mINFO[0m http ser...原创 2020-06-16 18:37:39 · 1243 阅读 · 0 评论 -
caddy_v1.0.0_linux_amd64-local net https-test-by-Centos7-WindowsNetworkShare tls self_signed
caddy_v1.0.0_linux_amd64-local-https-test-by-Centos7-WindowsNetworkShareSuppose1. Do NOT have official domain DNS name2. Test HTTPS in local by caddy3. Windows PC has sharednetwork/192.168.137.0Windows/network share ========> 192.168.137...原创 2020-06-17 12:16:34 · 343 阅读 · 0 评论 -
caddy_v1.0.0_linux_amd64-localhost-self-certificate(OpenSSL)
key is generated by openssl RSA , $ openssl genrsa -out privatekey.key 1024Refer to https://blog.youkuaiyun.com/hushui/article/details/79424667## generated certification files (bind with DNS name) from private key[lake@DESKTOP-P55Q2H7 caddy_v1.0.0_li...原创 2020-06-17 15:59:50 · 352 阅读 · 0 评论 -
caddy_v1.0.0_linux_amd64-localnetwork-https-test-by-Centos7-WindowsNetworkShare-tls self-certificate
Refer 原文链接:https://blog.youkuaiyun.com/hushui/article/details/106804661Windows/network share ========> 192.168.137.0 ============> Centos7/192.168.137.170(caddy web server) local name:DESKTOP-P55Q2H7.mshome.net### Centos7/caddy_v1.0.0_linux_am...原创 2020-06-17 16:15:46 · 776 阅读 · 0 评论 -
caddy/DNS SSL certification file/auto update
1. Note :DNS should be valid whenLet's Encrypt. is used.[lake@DESKTOP-P55Q2H7 caddy_v1.0.0_linux_amd64]$ cat CaddyfileDESKTOP-P55Q2H7.mshome.net{##tls self_signedtls your@qq.com}[lake@DESKTOP-P55Q2H7 caddy_v1.0.0_linux_amd64]$ sudo ./caddy...原创 2020-06-17 19:13:13 · 777 阅读 · 0 评论 -
Postman example
POST https://XXXXXX/api/portrait/get==> Body => raw ==> JSON==> Header Content-Type:application/jsonBody==> JSON(application/json){ "deviceIds": [ "XXXXX" ], "schoolId": "XXXXX", "accessToken": "string", "pageNum...原创 2020-06-19 09:13:35 · 373 阅读 · 0 评论