• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






会飞の鱼

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

随笔分类 -  linux

1 2 3 4 5 6 下一页

linux remember
 
gitbook
摘要:npm config set registry https://registry.npm.taobao.org --global npm config set disturl https://npm.taobao.org/dist --global npm i -g gitbook-cli gitb 阅读全文
posted @ 2020-03-14 21:33 会飞の鱼 阅读(197) 评论(0) 推荐(0)
centos7连接windows远程桌面
摘要:wget http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm rpm -Uvh nux-dextop-release*rpm yum install rdesktop -y 阅读全文
posted @ 2020-03-11 19:34 会飞の鱼 阅读(2141) 评论(0) 推荐(0)
centos6.5 没有/lib64/libfuse.so.2的问题
摘要:yum install fuse-libs 阅读全文
posted @ 2020-02-19 18:52 会飞の鱼 阅读(1912) 评论(0) 推荐(0)
mongo创建用户
摘要:db.createUser( {user: "root",pwd: "ksyun.123",roles: [ { role: "readWrite", db: "wekan" } ]}) 阅读全文
posted @ 2019-11-22 13:55 会飞の鱼 阅读(154) 评论(0) 推荐(0)
mongodb备份与恢复
摘要:mongodump -d wekan -o ./ --authenticationDatabase admin mongorestore -h 127.0.0.1 -u root -p ksyun.123 -d wekan ./wekan --authenticationDatabase admin 阅读全文
posted @ 2019-11-22 13:04 会飞の鱼 阅读(193) 评论(0) 推荐(0)
Linux网桥端口的arp问题
摘要:Linux的brctl addif命令可以将一个接口加入到既有的网桥中,接下来,这个接口就成了brport,属于一个从属的接口,然而你还是可以看到它的,并且可以为它添加IP地址,然后route命令会显示出它的新添加的IP地址的链路层路由已经生效,种种迹象都让人觉得这个brport仍然保有IP语义,然 阅读全文
posted @ 2019-10-11 18:33 会飞の鱼 阅读(1814) 评论(0) 推荐(0)
python起简易http server
摘要:python -m SimpleHTTPServer 9111 阅读全文
posted @ 2019-09-04 14:25 会飞の鱼 阅读(1063) 评论(0) 推荐(0)
linux 查看进程关系树
摘要:ps axjf 阅读全文
posted @ 2019-09-03 16:21 会飞の鱼 阅读(565) 评论(0) 推荐(1)
s3fs 挂载minio为本地文件系统
摘要:https://github.com/s3fs-fuse/s3fs-fuseecho ACCESS_KEY_ID:SECRET_ACCESS_KEY > ${HOME}/.passwd-s3fs chmod 600 ${HOME}/.passwd-s3fs yum install s3fs-fuse 阅读全文
posted @ 2019-09-02 10:41 会飞の鱼 阅读(2408) 评论(0) 推荐(0)
cgroups实验
摘要:# yum install -y libcgroup libcgroup-tools创建控制组cgcreate -g cpu:/testcgcreate -g cpu:/test2禁用quotacgset -r cpu.cfs_quota_us=-1 testcgset -r cpu.cfs_quo 阅读全文
posted @ 2019-08-25 21:28 会飞の鱼 阅读(238) 评论(0) 推荐(0)
centos7安装搜狗输入法
摘要:yum install fcitx 执行fcitx 出现DBus Not initialized 执行eval `dbus-launch --sh-syntax` imsettings-switch fcitx reboot yum install dpkg 下载搜狗输入法ubuntu版 https 阅读全文
posted @ 2019-08-15 11:17 会飞の鱼 阅读(788) 评论(0) 推荐(0)
linux管道和tee命令
摘要:ps -ef | grep docker 等价于 ps -ef &> >(grep docker) cat a.log | tee b.txt 等价于 cat a.log &> >(tee b.txt) cat a.log | md5sum > a.sum 为了将过程打印到屏幕 cat a.log 阅读全文
posted @ 2019-08-14 15:06 会飞の鱼 阅读(640) 评论(0) 推荐(0)
gitlab merge request
摘要:分支提了mr之后, 又有commit 不用重新提mr,mr中会自动更新 要保证项目下的.git目录中有hooks这个目录(如果是从github迁移到gitlab的项目, 可能没有这个目录, 导致mr不能自动更新commit) 阅读全文
posted @ 2019-08-12 14:22 会飞の鱼 阅读(2197) 评论(0) 推荐(0)
rabbitmq安装
摘要:1. 安装erlang yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel unixODBC-devel https://github.com/rabbitmq/erlang-rpm # cat > 阅读全文
posted @ 2019-08-07 21:17 会飞の鱼 阅读(265) 评论(0) 推荐(0)
git commit规范工具
摘要:npm install -g commitizen commitizen init cz-conventional-changelog --save --save-exact 以后,凡是用到git commit命令,一律改为使用git cz 阅读全文
posted @ 2019-08-07 18:15 会飞の鱼 阅读(636) 评论(0) 推荐(0)
centos7安装postman
摘要:下载地址: https://www.getpostman.com/apps 创建桌面快捷启动 # cat /usr/share/applications/postman.desktop [Desktop Entry]Version=1Type=ApplicationName=PostmanGener 阅读全文
posted @ 2019-07-23 11:09 会飞の鱼 阅读(3815) 评论(0) 推荐(0)
elasticsearch template
摘要:# curl -XPUT localhost:9200/_template/template_1 -d '{"template" : "te*","settings" : { "number_of_shards" : 1, "number_of_replicas":2 },"mappings" : 阅读全文
posted @ 2019-02-15 17:11 会飞の鱼 阅读(1599) 评论(0) 推荐(0)
iptables
摘要:http://www.zsythink.net/archives/1199 表: filter, raw, mangle, nat 链: PREROUTING, INPUT, FORWARD, OUTPUT, POSTROUTING, 查询 -t 默认是filter iptables -t filt 阅读全文
posted @ 2019-02-13 17:23 会飞の鱼 阅读(199) 评论(0) 推荐(0)
tcpdump
摘要:https://www.cnblogs.com/chenpingzhao/p/9108570.html 阅读全文
posted @ 2019-02-13 15:55 会飞の鱼 阅读(124) 评论(0) 推荐(0)
代码生成
摘要:live templates http://blog.jobbole.com/110607/ easy code https://www.oschina.net/p/easycode?origin=wechat 阅读全文
posted @ 2019-01-31 14:11 会飞の鱼 阅读(162) 评论(0) 推荐(0)
 

1 2 3 4 5 6 下一页