linux
baidu_25984219
这个作者很懒,什么都没留下…
展开
-
yum快速升级
转:http://www.c3crm.com/blog/?p=1484使用yum快速升级CentOS 7.0内核到 3.16第一步:rpm –import https://www.elrepo.org/RPM-GPG-KEY-elrepo.orgTo install ELRepo for RHEL-7, SL-7 or CentOS-7:rpm -Uvh htt转载 2015-07-17 10:45:29 · 348 阅读 · 0 评论 -
Linux rsync + crontab to do backup
SetUP:server 1(S1):rsync installationserver 2(S2):rsync and crontabWill backup directory /example on S2 to S1 directory /opt/backupCreate RSA key on S2, so S2 ssh to S1 will ignore the转载 2015-09-11 15:50:39 · 240 阅读 · 0 评论 -
Git tag
http://git-scm.com/book/zh/v2/Git-%E5%9F%BA%E7%A1%80-%E6%89%93%E6%A0%87%E7%AD%BE2.6 Git 基础 - 打标签打标签像其他版本控制系统(VCS)一样,Git 可以给历史中的某一个提交打上标签,以示重要。比较有代表性的是人们会使用这个功能来标记发布结点(v1.0 等等)。在本节中,你将会学习如何列出转载 2015-10-21 15:49:45 · 271 阅读 · 0 评论 -
FC22 SSH open
一、Fedora 启动sshd服务:1、先确认是否已安装ssh服务:[root@localhost ~]# rpm -qa | grep openssh-serveropenssh-server-5.3p1-19.fc12.i686 (这行表示已安装)若未安装ssh服务,可输入:#yum install openssh-server进行安装2、修改配置文件转载 2015-09-24 09:25:38 · 935 阅读 · 0 评论 -
windows/linux file format transfer
http://www.jb51.net/article/48013.htm1.dos2unix or unix2dos在Windows下写了一个shell脚本,上传到Linux下执行时报错:复制代码 代码如下:[root@localhost test]# ./test.sh -bash: ./test.sh: /bin/sh^M: b转载 2016-03-18 09:47:20 · 1441 阅读 · 0 评论