简单备忘一下Linux下的wget和curl如何使用http proxywget -e "http_proxy=porxyhost:port" www.baidu.comcurl -x proxyhost:port www.baidu.com 如果需要用户名密码,格式curl -x "http://user:pwd@host:port" www.baidu.com 在Linux的命令行底下,一般的程序都是使用http_proxy和ftp_proxy这两个环境变量来获…
Spring boot 注解简单备忘 1.定义注解 package com.space.aspect.anno;import java.lang.annotation.*; /** * 定义系统日志注解 * @date 2018/6/4 9:24 */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface SysLog { String value() defau…
挂接命令(mount) 首先,介绍一下挂接(mount)命令的使用方法,mount命令参数非常多,这里主要讲一下今天我们要用到的. 命令格式:mount [-t vfstype] [-o options] device dir 其中: 1.-t vfstype 指定文件系统的类型,通常不必指定.mount 会自动选择正确的类型.常用类型有: 光盘或光盘镜像:iso9660 DOS fat16文件系统:msdos Windows 9x fat32文件系统:vfat Windows NT ntfs文…
1.windows安装jprofiler 2.linux下安装jprofiler服务端,记好安装路径.假设是安装在/ex/bin/下 3. 配置tomcat的启动sh文件,在后面加入以下参数:  -agentpath:/ex/bin/linux-x64/libjprofilerti.so=port=8849,nowait 注意: /ex/bin/linux-x64/libjprofilerti.so这个文件一定要是你本机实际路径!!! prot是指jprofiler客户端连接的通讯端口,按照实际…
linux下可以用wget下载整个网站,而且网站链接中包含utf-8编码的中文也能正确处理. 简要方法记录如下: wget --restrict-file-name=ascii -m -c -nv -np -k -E -p -R=exe,zip http://www.xxx.com 参数释义如下: --restrict-file-name=ascii ,将文件名保存为ASCII格式.这样能避免utf-8文件名带来的麻烦(注:1.12版才支持ascii参数值) -m 整站下载,mirror的缩写,…
一.前言 这一节我们介绍在Linux下如何安装与破解Intellij idea2017.现在有很多公司开发环境都是Linux,所以掌握在Linux环境下使用Idea办公也是咱们必须得掌握的技能. 记住我们下载的是Ultimate(旗舰版),不是Community(社区版).Ultimate(旗舰版)是收费的版本,本文主要是针对这个版本的安装与破解的教程.所以各位童鞋别下错了哟. 二.安装步骤 ②安装之前我们先检查一下Linux环境是否安装了JDK [root@localhost /]# java…
#x86 ./configure --disable-shared --enable-static --disable-ftp --disable-ipv6 --disable-rtsp --disable-tftp --disable-telnet --disable-largefile --disable-smtp --disable-imap --without-ssl --without-libssh2 --without-zlib --without-librtmp --without…
#x86 ./configure --disable-shared --enable-static --disable-ftp --disable-ipv6 --disable-rtsp --disable-tftp --disable-telnet --disable-largefile --disable-smtp --disable-imap --without-ssl --without-libssh2 --without-zlib --without-librtmp --without…
问题 我这有一个项目是.net core写的,然后运行到centos机器上,刚开始发请求都能正常处理,但是时间长了,程序会报Segmentation fault,然后退出,我查了一下系统log,说的是Aug 16 03:50:23 localhost kernel: dotnet[3181]: segfault at c07 ip 00007f5818b4509d sp 00007f59a4e77cb8 error 6 in libcurl.so.4.4.0[7f5818b20000+63000…
如何安装wget命令. 方法一:通过yum 命令行为:yum install wget 完成.此操作很简单,但是我安装的linux是centos的最小版本,运行上述命令时会出现无法连接到源网站(大概是这个意思)的问题. 方法二:通过rpm 据说rpm是linux的通用安装法,小白表示不懂啊,但这不影响我使用.按以下步骤: 下载wget的rpm包:http://mirrors.163.com/centos/7/os/x86_64/Packages/ (在这个网站搜索wget-1.14-15.el7…