newalan

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 3 4 5 6 7

2018年7月12日

摘要: AIX下要查询某个目录下各个文件或目录的占用空间大小 可以对du命令增加一个别名alias 放在~/.profile里 alias dus='du -sg ./* |sort' s表示文件和目录都是显示全部大小,包括子目录,但是只显示第一层目录,不会显示多层子目录 g表示用GB表示 sort对结果排 阅读全文
posted @ 2018-07-12 15:31 newalan 阅读(4934) 评论(0) 推荐(1)

摘要: 查AIX版本 atii:[/home/pmts]oslevel -s 7100-01-07-1316 即AIX 7.1版本atii:[/home/pmts]lsdev -C 查CPU个数 (逻辑数目) atii:[/home/pmts]pmcycles -m (物理数目)atii:[/home/pm 阅读全文
posted @ 2018-07-12 15:23 newalan 阅读(858) 评论(0) 推荐(0)

2018年7月10日

摘要: 使用ssh config文件可以简化ssh连接输入参数,直接从config读取 (1)建立config文件 config文件位置在~/.ssh/config 如果不存在,可以创建一个 (2)config文件参数 每个账号单独配置一个Host,每个Host要取一个别名,每个Host主要配置HostNa 阅读全文
posted @ 2018-07-10 17:07 newalan 阅读(1590) 评论(0) 推荐(0)

摘要: windows 7 cmd下 ssh -T username@serverip 免密码连接成功 有的同学在windows下开发,并且在windows下安装了git for windows,这些资源已经足够进行开发和git版本管理了。 这里只介绍一下如何在cmd下ssh连接远程服务器。 (1)生成ss 阅读全文
posted @ 2018-07-10 15:48 newalan 阅读(8970) 评论(0) 推荐(0)

2018年7月9日

摘要: 参考http://www.cnblogs.com/tesky0125/p/5973642.html 1.安装gerrit replication插件 mkdir ~/tmp cp gerrit-2.14.war tmp cd tmp unzip gerrit-2.14.war cd WEB-INF/ 阅读全文
posted @ 2018-07-09 22:45 newalan 阅读(2507) 评论(0) 推荐(0)

摘要: 公司搭建的gitlab,通过http协议可以clone: [sisi@pre-srv24 gitlab]$ git clone http://gitlab.test.mycompany.com/dev_group/test_project1.gitCloning into 'test_project 阅读全文
posted @ 2018-07-09 22:25 newalan 阅读(1986) 评论(0) 推荐(1)

摘要: 1.安装gerrit [sisi@pre-srv44 ~]$ su - gerrit2Password: [gerrit2@pre-srv44 ~]$ lltotal 83872-rw-r--r-- 1 root root 85872756 Jun 6 09:58 gerrit-2.14.war-r 阅读全文
posted @ 2018-07-09 22:06 newalan 阅读(825) 评论(0) 推荐(0)

摘要: 1.安装依赖的其他包(0)gcc gcc-c++yum install gcc-c++##yum install -y make cmake gcc gcc-c++ (1)zlib wget http://zlib.net/zlib-1.2.11.tar.gz tar zxvf zlib-1.2.1 阅读全文
posted @ 2018-07-09 22:03 newalan 阅读(115) 评论(0) 推荐(0)

2018年7月8日

摘要: http://www.cnblogs.com/kevingrace/ 阅读全文
posted @ 2018-07-08 21:20 newalan 阅读(122) 评论(0) 推荐(0)

摘要: 1.ssh调试 ssh -vT username@ip[or hostname] T表示测试,v显示详细信息 也可以配置config文件(在~/.ssh/config)指定用户名和密码 如 2.指定私钥 如果公钥私钥不是默认名(id_rsa id_rsa.pub), 在把公钥放置到远端服务器的aut 阅读全文
posted @ 2018-07-08 21:03 newalan 阅读(6018) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7