centos ntpdate 时间同步

yum install ntpdatentpdate ntp.sjtu.edu.cn # 上海交大的 ntp 服务器vi /etc/sysconfig/clockZONE="Asia/Shanghai" UTC=false # 设置为false,硬件时钟不于utc时间一致 ARC=falseln -sf /usr/share/zoneinfo/Asia/Shanghai

- 阅读全文 -

vim 插件管理 Vundle

vim 插件管理 Vundle [https://github.com/VundleVim/Vundle.vim]:1.下载 Vundle 仓库git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim2.vim ~/.vimrc 在最上面,添加以下配置" =================

- 阅读全文 -

php 性能分析工具 xhprof

php 安装 xhprof 扩展 (兼容php5、7)https://github.com/longxinH/xhprofgit clone git@github.com:longxinH/xhprof.git cd xhprof/extension/ /usr/local/php7/bin/phpize ./configure --with-php-config=/usr/local/php7

- 阅读全文 -

centos 6 常用 yum 源

背景出现如下情况,说明本地 yum 源出现问题[root@www download]# yum install -y gcc Loaded plugins: fastestmirror Determining fastest mirrors YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid

- 阅读全文 -

centos 6 编译安装 git 2.18.0

先用 yum 安装依赖yum install curl-devel expat-devel gettext-devel openssl-devel zlib-develyum install gcc perl-ExtUtils-MakeMaker卸载 centos自带的 git 1.7.1通过 git –version 查看系统带的版本,cento6.5 应该自带的是 git 版本是 1.7.1y

- 阅读全文 -

centos 7 安装最新版 docker

前提: 系统需要 centos 7, 内核版本大于 3.10 (uname -a)删除旧版 docker 镜像旧版 docker 是 1.13 或之前的版本,要升级到最新版 docker,将这些镜像文件全部删除,否则升级以后旧的镜像将无法正常删除,如果升级前没有删除,升级后发现删除不了,最粗暴的方式 rm -rf /var/lib/docker 不过,请一定谨慎使用!!!确保镜像和数据是已备份或能

- 阅读全文 -

linux 普通用户程序 开机自启动

root 用户程序开机自启动,一般使用 chkconfig program on普通用户程序怎么开机自启动呢,可以使用 rc.localvi /etc/rc.local su - git -c 'nohup /home/git/gitea web &'

- 阅读全文 -

centos 使用 oh-my-zsh 做为默认 bash

root 安装 zshyum install -y zsh chsh -s /bin/zsh安装 oh-my-zshyum install -y git sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"通过以上两步 root

- 阅读全文 -

最新文章

最近回复

  • migi: 已经更换域名为migi.top
  • LukaChen: 已更新。
  • LukaChen: 已添加。
  • migi: hi,申请交互友链,我的站点已经添加你了。名称: Gh0stoo...
  • 小轲博客: 朋友,好久不见。我是小轲博客的站长,我更新了网站的域名,http...
  • gfvd: 赞一个
  • free instagram likes allsmo: Thanks for finally writing about...
  • ChinarHeeno: 你好, 音乐是 DJ 和粉丝的社区,可帮助您完全访问独家电子音乐...
  • LukaChen: 是的,主要还是写东西,总结给自己看 :)
  • zgcwkj: 我发现一开始都是花里胡哨,最终大多数人都会回到简洁。。。

分类

标签

其它