随笔分类 - RedHat
摘要:每次调试都是先PS x|grep xxxx ,然后gdb attach pid ,太麻烦了!写了个烂脚本给自己减负~~~ 1 #!/bin/bash 2 3 #check num of argv 4 5 if [[ $# -ne 1 ]]; then 6 echo 'err: argv num!'
阅读全文
摘要:security = user passdb backend = smbpasswd smbpasswd file = /etc/samba/smbpasswd pam password change = yes #idmap uid= 167777216-33554431 #idmap gid=
阅读全文
摘要:#!/bin/bash rpm -aq|grep yum|xargs rpm -e --nodeps wget http://mirrors.aliyun.com/centos/6/os/x86_64/Packages/yum-3.2.29-69.el6.centos.noarch.rpm wget
阅读全文
摘要:baidu一堆blog讲解怎么装。搞烦了,直接google,终于解决怎么安装了!自己太菜了,baidu太坑了~~ 参考url:https://github.com/vinodpandey/blog/blob/master/vim7.3-centos-with-python-2.7.3-supp...
阅读全文
摘要:进入源路径,备份下cd /etc/yum.repos.d/mv rhel-debuginfo.repo rhel-debuginfo.repo_bak 阿里巴巴源镜像地址http://mirrors.aliyun.com/ 下载相应系统的help中的系统版本。 因我使用的redhat5,所以命令如...
阅读全文
摘要:新建系统Redhat5,字体格式异常,修改如下: 服务器修改: vim /etc/sysconfig/i18n vim /etc/profile 末尾增加(修改完成后执行 source /etc/profile ) vim ~/.vimrc 客户端: SecurtCRT使用默认格式即可!
阅读全文
浙公网安备 33010602011771号