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






会飞の鱼

 
 

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

随笔分类 -  linux

上一页 1 2 3 4 5 6 下一页

linux remember
 
centos 使用windows7 存储
摘要:1. 在Windows7上创建一个带密码的用户,如disk 2. 创建一个文件夹,如 D:\centos-disk2 3. 选中此文件夹,点击上方的 共享 -> 特定用户, 添加disk用户,改为 读写 权限 4、在Linux下安装samba-client客户端 # yum install samb 阅读全文
posted @ 2018-04-14 14:12 会飞の鱼 阅读(140) 评论(0) 推荐(0)
centos禁止 You have new mail in /var/spool/mail/root提示
摘要:在/etc/profile 增加unset MAILCHECK 阅读全文
posted @ 2018-04-14 12:22 会飞の鱼 阅读(161) 评论(0) 推荐(0)
linux 使用systemctl 启动服务报错: Error: No space left on device
摘要:By default, Linux only allocates 8192 watches for inotify, which is ridiculously low. And when it runs out, the error is also No space left on device, 阅读全文
posted @ 2018-04-14 12:21 会飞の鱼 阅读(3434) 评论(0) 推荐(0)
rundeck
摘要:docker run -d -p 4440:4440 -e EXTERNAL_SERVER_URL=http://109.105.4.65:4440 -v/root/rundeck:/var/rundeck --name rundeck -t registry.bst-1.cns.bstjpc.co 阅读全文
posted @ 2018-04-09 20:58 会飞の鱼 阅读(330) 评论(0) 推荐(0)
cudnn 安装
摘要:ubuntu 下载地址 https://developer.nvidia.com/rdp/cudnn-download 安装教程 http://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html#axzz4qYJp45J2 To ver 阅读全文
posted @ 2018-04-09 15:48 会飞の鱼 阅读(181) 评论(0) 推荐(0)
安装nvidia driver
摘要:ubuntu16.04 下载地址 http://www.nvidia.com/Download/index.aspx dpkg -i nvidia-diag-driver-local-repo-ubuntu1604-390.46_1.0-1_amd64.deb apt-get update apt- 阅读全文
posted @ 2018-04-09 15:44 会飞の鱼 阅读(285) 评论(0) 推荐(0)
centos7 配置dns服务器
摘要:yum install bind //// /etc/named.conf//// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS// server as a caching only nameserve 阅读全文
posted @ 2018-03-31 21:35 会飞の鱼 阅读(365) 评论(0) 推荐(0)
idea 插件
摘要:https://plugins.jetbrains.com/plugin/4509-statistic 阅读全文
posted @ 2018-03-23 12:08 会飞の鱼 阅读(141) 评论(0) 推荐(0)
ubuntu 升级内核
摘要:1. 下载源码 www.kernel.org/pub/linux/kernel/v3.x/…,,比如下载到linux-3.14.tar.gz,大约100+M 2.拷贝到/usr/src目录下,用 tar -xvf linux-3.14.tar.gz 命令解压 3.切换至解压后的源码目录下,sudo 阅读全文
posted @ 2018-03-21 19:35 会飞の鱼 阅读(255) 评论(0) 推荐(0)
idea git 操作
摘要:工作中多人使用版本控制软件协作开发,常见的应用场景归纳如下: 假设小组中有两个人,组长小张,组员小袁 场景一:小张创建项目并提交到远程Git仓库 场景二:小袁从远程Git仓库上获取项目源码 场景三:小袁修改了部分源码,提交到远程仓库 场景四:小张从远程仓库获取小袁的提交 场景五:小袁接受了一个新功能 阅读全文
posted @ 2018-03-14 18:15 会飞の鱼 阅读(2089) 评论(0) 推荐(0)
systemd 配置文件
摘要:[Unit]区块通常是配置文件的第一个区块,用来定义 Unit 的元数据,以及配置与其他 Unit 的关系。它的主要字段如下。 Description:简短描述 Documentation:文档地址 Requires:当前 Unit 依赖的其他 Unit,如果它们没有运行,当前 Unit 会启动失败 阅读全文
posted @ 2018-03-06 09:29 会飞の鱼 阅读(1644) 评论(0) 推荐(0)
常用的排序算法的时间复杂度和空间复杂度
摘要:排序法 插入排序 阅读全文
posted @ 2018-02-26 09:29 会飞の鱼 阅读(159) 评论(0) 推荐(0)
diff
摘要:cp /etc/passwd passwd_old cat /etc/passwd| sed -e '4d' -e '6c no six line' > passwd_new [root@mhc regular]# diff passwd_old passwd_new 4d3< adm:x:3:4: 阅读全文
posted @ 2018-01-19 19:59 会飞の鱼 阅读(292) 评论(0) 推荐(0)
awk
摘要:[root@mhc regular]# last -n 2|awk '{print $1 "\t" $3}'root :0root :0 wtmp Wed [root@mhc regular]# last -n 2|awk '{print $1 "\tlines:" NR "\t columes:" 阅读全文
posted @ 2018-01-19 19:25 会飞の鱼 阅读(128) 评论(0) 推荐(0)
sed
摘要:删除: [root@mhc regular]# sed '2,5d' num.txt 1678[root@mhc regular]# sed '5d' num.txt 1234678[root@mhc regular]# sed '5,$d' num.txt 1234新增: [root@mhc re 阅读全文
posted @ 2018-01-19 17:54 会飞の鱼 阅读(107) 评论(0) 推荐(0)
grep
摘要:[root@mhc regular]# cat a.txt|grep gooooooglegoooooogle yes![root@mhc regular]# [root@mhc regular]# [root@mhc regular]# cat a.txt|grep -A2 goooooogleg 阅读全文
posted @ 2018-01-19 17:43 会飞の鱼 阅读(143) 评论(0) 推荐(0)
aws s3 python sdk
摘要:http://boto3.readthedocs.io/en/latest/reference/services/s3.html#S3.Client.get_object abort_multipart_upload() can_paginate() complete_multipart_uploa 阅读全文
posted @ 2018-01-12 13:38 会飞の鱼 阅读(1567) 评论(0) 推荐(0)
外网访问vmvare
摘要:使用端口映射即可,以tplink wr886n为例, 方法如下: 1、打开浏览器,输入默认ip192.168.0.1回车登录; 2、登录对话框,输入 密码点击确定; 3、点击转发规则--虚拟服务器,点击添加新条目; 4、输入允许访问的内网主机的ip地址、该主机开放的端口号、选择传输协议,点击保存即可 阅读全文
posted @ 2017-12-30 23:48 会飞の鱼 阅读(333) 评论(0) 推荐(0)
Aws s3 api
摘要:PUT操作的这个实现将一个对象添加到一个bucket中。 您必须具有对bucket的WRITE权限才能向其中添加对象。Amazon S3从不添加部分对象; 如果您收到成功响应,则Amazon S3将整个对象添加到bucket中。Amazon S3是一个分布式系统。 如果它同时收到同一个对象的多个写入 阅读全文
posted @ 2017-12-20 16:50 会飞の鱼 阅读(1010) 评论(0) 推荐(0)
centos7的vsftpd的安装和配置
摘要:安装vsftpd的服务器相关软件 安装vsftpd服务器和客户端 sudo yum install ftp vsftpd 安装一个加密工具 sudo yum install libdb-utils.x86_64 配置vsftpd sudo db_load -T -t hash -f /etc/vsf 阅读全文
posted @ 2017-12-14 12:09 会飞の鱼 阅读(342) 评论(0) 推荐(0)
 

上一页 1 2 3 4 5 6 下一页