会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
程序之家
os .net vc++ asm driver wireless
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
17
18
19
20
21
22
23
24
25
···
77
下一页
2017年12月28日
以太坊私有链
摘要: 用到的端口 TCP 30303 8545 sudo apt-get updatesudo apt-get installsoftware-properties-commonsudo add-apt-repository -y ppa:ethereum/ethereumsudo add-apt-rep
阅读全文
posted @ 2017-12-28 21:44 ahuo
阅读(919)
评论(3)
推荐(0)
2017年12月22日
ntp测试
摘要: cmd下 w32tm /stripchart /computer:time1.aliyun.com linux ntpdate ntp1.aliyun.com
阅读全文
posted @ 2017-12-22 14:21 ahuo
阅读(499)
评论(1)
推荐(0)
2017年11月17日
docker 清理命令
摘要: # 杀死所有正在运行的容器.docker kill $(docker ps -a -q) # 删除所有已经停止的容器.docker rm $(docker ps -a -q) # 删除所有未打标签的镜像.docker rmi $(docker images -q -f dangling=true)
阅读全文
posted @ 2017-11-17 10:41 ahuo
阅读(838)
评论(0)
推荐(0)
2017年11月14日
spring boot application.properties
摘要: 1 2 3
阅读全文
posted @ 2017-11-14 11:05 ahuo
阅读(228)
评论(0)
推荐(0)
2017年11月5日
iptables端口转发
摘要: 172.18.120.5 机器有外网IP 在172.18.120.5上运行下面的命令: sudo iptables -t nat -A PREROUTING -p tcp --dport 8017 -j DNAT --to-destination 172.18.120.5:8017sudo ipta
阅读全文
posted @ 2017-11-05 20:29 ahuo
阅读(165)
评论(0)
推荐(0)
vpn 禁用默认网关,添加永久静态路由
摘要: 设置禁用默认网关 添加永久路由 route -p Add 172.18.120.0 MASK 255.255.255.0 192.168.2.10
阅读全文
posted @ 2017-11-05 18:13 ahuo
阅读(7)
评论(0)
推荐(0)
2017年11月2日
centos7 开机启动管理
摘要: 查看开机启动项 ls /etc/systemd/system/multi-user.target.wants/ 设置开机启动 systemctl enable mongodb.service
阅读全文
posted @ 2017-11-02 14:22 ahuo
阅读(157)
评论(0)
推荐(0)
mongodb centos7上的安装
摘要: 1,下载安装包 下载mongoDB的安装文件地址:https://www.mongodb.org/downloads#production 选择Linux 64-bit legacy 版本,下载到目标服务器上。解压文件tar -zxvf mongodb-linux-x86_64-3.0.2.tgz进
阅读全文
posted @ 2017-11-02 14:14 ahuo
阅读(181)
评论(0)
推荐(0)
2017年11月1日
nginx 413 500报错
摘要: 采用nginx作反向代理,出现了一个诡异的问题,小文件可以提交,大文件会报500内部错误。这个是什么原因导致的呢? 查wiki可知,上传文件大小相关的有三个配置 client_body_buffer_size 配置请求体缓存区大小, 不配的话, client_body_temp_path 设置临时文
阅读全文
posted @ 2017-11-01 10:23 ahuo
阅读(376)
评论(0)
推荐(0)
2017年10月12日
parity 钱包
摘要: 数据快照路径 C:\Users\admin\AppData\Local\Parity\Ethereum\chains\ethereum\db\906a34e69aec8c0d\snapshot\restoration\db
阅读全文
posted @ 2017-10-12 15:01 ahuo
阅读(188)
评论(0)
推荐(0)
2017年10月10日
mongodb常用查询
摘要: mongosql说明 db.users.find() select * from users 从user表中查询所有数据 db.users.find({“username” : “joe”, “age” : 27}) select * from users where “username” = “j
阅读全文
posted @ 2017-10-10 17:07 ahuo
阅读(576)
评论(0)
推荐(0)
2017年9月29日
actuator监控
摘要: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> <dependency> <groupId>org
阅读全文
posted @ 2017-09-29 10:34 ahuo
阅读(230)
评论(0)
推荐(0)
2017年9月27日
mongodb 脚本操作
摘要: MO='mongo'$MO << EOFuse testdbdb.dropDatabase()show dbsexit;EOF
阅读全文
posted @ 2017-09-27 17:01 ahuo
阅读(410)
评论(0)
推荐(0)
mongodb 备份与恢复
摘要: mongodump -h dbhost -d dbname -o dbdirectory mongorestore -h dbhost -d dbname --directoryperdb dbdirectory
阅读全文
posted @ 2017-09-27 17:00 ahuo
阅读(192)
评论(0)
推荐(0)
2017年9月15日
mybatis insert 返回主键
摘要: <insert id="insert" useGeneratedKeys="true" keyProperty="id" parameterType="db.TbuserWithBLOBs"> record.getId()就是新的ID
阅读全文
posted @ 2017-09-15 17:33 ahuo
阅读(139)
评论(0)
推荐(0)
上一页
1
···
17
18
19
20
21
22
23
24
25
···
77
下一页
公告