上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 31 下一页
摘要: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html这个地址下载jdk-6u45-linux-i586.bin执行./jdk-6u45-linux-i586.bin 安装的时候报了/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory纠结了好久需要安装glibc.i686 yum install glibc.i686 这个要反复安多试几次解压出来是jdk1.6 阅读全文
posted @ 2014-01-18 10:32 jackluo 阅读(1235) 评论(0) 推荐(0)
摘要: 1. 在ssh-client一边使用ssh-keygen生成一对rsa key $ssh-keygen -t rsa 2. 在ssh-client一边使用ssh-add将刚生成的private key加入到ssh agent中(旧配置方式没有这步哟) $ssh-add ~/.ssh/id_rsa 3 阅读全文
posted @ 2014-01-14 23:21 jackluo 阅读(691) 评论(0) 推荐(0)
摘要: [jackluo@localhost .ssh]$ sudo groupadd git #创建 用户组[jackluo@localhost .ssh]$ sudo adduser --system --shell /bin/bash --group git #创建用户[jackluo@localhost .ssh]$ sudo adduser -G git ssh #把git 加入ssh 组 阅读全文
posted @ 2014-01-10 18:28 jackluo 阅读(158) 评论(0) 推荐(0)
摘要: yum error requires: libtcmalloc.so.4rpm -Uvh http://ceph.com/rpm-cuttlefish/el6/x86_64/ceph-release-1-0.el6.noarch.rpmvim /etc/yum.repos.d/epel.repo把mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch改:mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel 阅读全文
posted @ 2014-01-07 14:29 jackluo 阅读(6594) 评论(0) 推荐(0)
摘要: [root@localhost workspace]# cd repos/[root@localhost repos]# ll总用量 4drwxr-xr-x 7 root root 4096 12月 30 20:34 hello-world.git[root@localhost repos]# git clone --bare hello-world.git hello-user1.git克隆到裸版本库 'hello-user1.git'...完成。[root@localhost repos]# git clone --bare hello-world.git hello-us 阅读全文
posted @ 2014-01-02 17:41 jackluo 阅读(1813) 评论(0) 推荐(0)
摘要: 创建发布分支:(1) 软件hello-world的1.0发布版本库中有一个里程相对应./home/jackluo/workspace/user1/workspace/hello-worldgit tag -n1 -l v*(2)基于里程v1.0创建发布布hello-1.x. 注:使用了git checkout 命令创建分支,最后一个参数v1.0是新分支 hello-1.x创建的基准点,如果没有里程,使用提交ID也是一样[root@localhost hello-world]# git tag -n1 -l v*v1.0 Release 1.0[root@localhost... 阅读全文
posted @ 2014-01-02 13:05 jackluo 阅读(1876) 评论(0) 推荐(0)
摘要: 开发者user1 负责用getopt 进行命令解析的功能,因为这个功能用到getopt 函数,于是将这个分支命名为user1/getopt.(1)确保是在开发者user1的工作区中cd /home/jackluo/workspace/user1/workspace/hello-world(2)开发者user1 基于当前HEAD创建分支user1/getopt.git branch user1/getopt(3)使用 git branch创建分支,并不会自动切换.查看当前分支可以看到仍然工作在master分支(用星号"*"标识)中.[root@localhost hello- 阅读全文
posted @ 2013-12-31 17:04 jackluo 阅读(140531) 评论(0) 推荐(0)
摘要: $('input[name="aihao"]:checked').each(function(){ str +=$(this).val()+','; selecthtml +=''+ $(this).parent().text()+''; }); 阅读全文
posted @ 2013-12-30 15:45 jackluo 阅读(370) 评论(0) 推荐(0)
摘要: #import int main(int argc,const char *argv[]){ @autoreleasepool{ NSLog(@"Hello world!"); } return 0;}jackluo@JackLuodeMacBook-Pro:~/Works/xcode/objective-c $gcc -framework Foundation -x objective-c -o hello main.m-x选项说明编译objective-c,-framework选项应该是制定Library的jackluo@JackLuodeMacBook-P... 阅读全文
posted @ 2013-12-29 11:58 jackluo 阅读(1098) 评论(0) 推荐(0)
摘要: /usr/bin/which: no wish安装yum -y install tcl 和yum -y install tk显示所有的分支$gitk --all 显示所有的分支$gitk --since="2 weeks ago" #显示2周以来的所有提交提交用:$ git gui 显示要提交的=======================非常好用的gitg 用法Download: ftp://ftp.gnome.org/pub/GNOME/sources/gitg/下载进行编译git rev-parse --symbolic --branches 显示分支显示里程$ gi 阅读全文
posted @ 2013-12-19 13:32 jackluo 阅读(826) 评论(0) 推荐(1)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 31 下一页