上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 22 下一页
摘要: From:http://www.dedecms8.com/db/php_bc/12322.html1、删除redhat原有的yumrpm -aq|grep yum|xargs rpm -e --nodeps 2、下载yum(因为包不断更新,此处如果不能获取相关包,可到http://mirrors.1... 阅读全文
posted @ 2014-05-04 11:02 泉水叮~咚 阅读(480) 评论(0) 推荐(0)
摘要: From:http://yysfire.github.io/linux/%E4%BB%8E%E6%BA%90%E4%BB%A3%E7%A0%81%E5%88%B6%E4%BD%9Cdeb%E5%8C%85%E7%9A%84%E4%B8%A4%E7%A7%8D%E6%96%B9%E6%B3%95%E4... 阅读全文
posted @ 2014-04-28 13:42 泉水叮~咚 阅读(5268) 评论(0) 推荐(0)
摘要: From:http://www.tech126.com/git-fetch-pull/Git中从远程的分支获取最新的版本到本地有这样2个命令:1. git fetch:相当于是从远程获取最新版本到本地,不会自动mergegit fetch origin mastergit log -p master... 阅读全文
posted @ 2014-04-11 09:27 泉水叮~咚 阅读(250) 评论(0) 推荐(0)
摘要: From:http://blog.163.com/lgh_2002/blog/static/44017526201011333227161/1、创建公钥和私钥ligh@local-host$ ssh-keygen -t rsaEnter file in which to save the key (/home/jsmith/.ssh/id_rsa):[Enter key] Enter passphrase (empty for no passphrase): [Press enter key]Enter same passphrase again: [Pess enter key]Your . 阅读全文
posted @ 2014-03-24 16:59 泉水叮~咚 阅读(234) 评论(0) 推荐(0)
摘要: From:http://dadekey.blog.51cto.com/107327/119938我们先写一个简单的脚本,执行以后再解释各个变量的意义# touch variable# vi variable脚本内容如下:#!/bin/shecho "number:$#"echo "scname:$0... 阅读全文
posted @ 2014-03-17 09:57 泉水叮~咚 阅读(226) 评论(0) 推荐(0)
摘要: From:http://www.wenzizone.com/2009/08/14/nfs_can_not_automount_supplementary.html手动挂载nfs没有问题,说明portmap服务正常。使用/etc/init.d/netfs status 查看状态,可以看到需要挂载的路径,执行/etc/init.d/netfs start,nfs路径可以被挂载。说明netfs服务正常。查看/etc/rc.d/rc3.d下面的启动脚本,如下S10network S12syslog S13irqbalanceS13iscsi S13portmap S22messa... 阅读全文
posted @ 2014-03-12 09:21 泉水叮~咚 阅读(696) 评论(0) 推荐(0)
摘要: From:http://www.g2w.me/2013/10/cache-github-credential-for-https-repository/http://openwares.net/linux/gerrit_workflow.htmlgit config --system 配置全局 ... 阅读全文
posted @ 2014-03-12 09:10 泉水叮~咚 阅读(536) 评论(0) 推荐(0)
摘要: Apache 2 ConfigurationTo run Gerrit behind an Apache server usingmod_proxy, enable the necessary Apache2 modules: a2enmod proxy_http a2enmod ssl ; # optional, needed for HTTPS / SSLConfigure an Apache VirtualHost to proxy to the Gerrit daemon, setting theProxyPassline to use thehttp://URL... 阅读全文
posted @ 2014-03-11 17:31 泉水叮~咚 阅读(2256) 评论(0) 推荐(0)
摘要: From:http://blog.csdn.net/ithomer/article/details/6264881以eth0为例1.以DHCP方式配置网卡编辑文件: /etc/network/interfaces:sudo vi /etc/network/interfaces并用下面的行来替换有关eth0的行:# The primary network interface,# use DHCP to find our addressauto eth0iface eth0 inet dhcp用下面的命令使网络设置生效:sudo /etc/init.d/networking restart当然,也 阅读全文
posted @ 2014-03-09 21:40 泉水叮~咚 阅读(611) 评论(0) 推荐(0)
摘要: From:http://blog.csdn.net/marujunyy/article/details/84662551、首先编写一个简单的shell脚本test.sh#! /bin/bashecho "Hello world!"filename=`date"+%Y%m%d"`echo $filename2、设置脚本开机自启动方法一: 编辑/etc/init.d/rc.local文件,在最后添加编写的脚本即可。 比如:将/home/test.sh添加为开机自启动 编辑/etc/init.d/rc.local,在末尾添加如下内容:sh /home/test 阅读全文
posted @ 2014-03-06 23:02 泉水叮~咚 阅读(394) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 22 下一页