git init # 初始化本地git仓库(创建新仓库)git config --global user.name "xxx" # 配置用户名git conf...
分类:
其他好文 时间:
2014-07-16 23:14:18
阅读次数:
223
1,设置A机时间服务器: a,修改 /etc/ntp.conf,如下: # Undisciplined Local Clock. This is a fake driver intended for backup# and when no outside source of synchroniz.....
分类:
系统相关 时间:
2014-07-10 12:15:56
阅读次数:
253
在了解/etc/ld.so.conf.d/目录下文件的作用之前,先介绍下程序运行是加载动态库的几种方法:第一种,通过ldconfig命令 ldconfig命令的用途, 主要是在默认搜寻目录(/lib和/usr/lib)以及动态库配置文件/etc/ld.so.conf内所列的目录下, 搜索出可共享的动...
分类:
其他好文 时间:
2014-07-07 19:50:18
阅读次数:
198
Ubuntu root 登录和声音问题1. sudo su root,然后输入密码2. gedit /etc/lightdm/lightdm.conf (事先可以先备份之).[SeatDefaults]// 自动root登录添加 Ubuntu14.04#autologin-guest=trueaut...
分类:
其他好文 时间:
2014-07-07 17:18:42
阅读次数:
186
rsync安装配置yum -y install rsync配置rsyncrsync服务需要三个文件rsyncd.conf rsync服务的配置文件rsyncd.secrets rsync服务的用户密码保存文件 用户必须为服务器上存在的用户rsyncd.motd rsync服务的登陆提示信息为了密码的...
分类:
其他好文 时间:
2014-06-28 10:02:28
阅读次数:
298
无法修改M2_REPO的值,修改配置中Maven-》usersettings选项,如图:2.选择浏览,选择你按照的maven/conf/settings3.点击UpdateSettings,Eclipse将读取settings中的maven下载的目录位置4.返回JavaClassPath,查看M2_REPO的值被修改
分类:
其他好文 时间:
2014-06-28 06:49:47
阅读次数:
202
nova.conf
vnc_enabled=False
[Spice]
agent_enabled=True
enabled=True
html5proxy_base_url=http://x.x.x.x:6082/spice_auto.html
server_listen=0.0.0.0
server_proxyclient_address=x.x.x.x
keymap=...
分类:
其他好文 时间:
2014-06-27 08:47:57
阅读次数:
263
flume-ng1.4安装配置记录一下flume-ng的安装配置三个基本概念source:数据源channel:数据传输通道sink:数据目的地,如存储在hdfs配置:flume.conf#defineagent1.sources=source1agent1.channels=channel1agent1.sinks=sink1#agent1.sources.source1.type=spooldiragent1.sour..
分类:
其他好文 时间:
2014-06-27 06:41:36
阅读次数:
221
在web服务器上搭建了vsftpd用来上传代码程序,开启日志记录客户端的上传、下载删除等操作;#修改/etc/vsftpd/vsftpd.conf
[root@node1~]#vim/etc/vsftpd/vsftpd.conf
anonymous_enable=NO
anon_root=/ftpanon
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_ena..
分类:
其他好文 时间:
2014-06-27 06:33:51
阅读次数:
441
Xmanager远程管理Centos桌面1.安装gdmyum-yinstallgdm2.修改系统启动界面vim/etc/inittabid:5:initdefault:#(把3或者其他数字改为5)3.配置gdm文件vim/etc/gdm/custom.conf字段下分别添加如下内容(默认[security]和[xdmcp]没有任何内容,需要手动添加):[security]AllowRemote..
分类:
其他好文 时间:
2014-06-27 06:20:57
阅读次数:
312