Linux(4 篇文章)

CVE-2017-16995 Ubuntu 16.04 提权

yzmm
2818 阅读

https://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-16995.html ![img](https://www.yzmm.net/uploads/image/20180316/20180316094115_11.jpg) ![img](https://www.yzmm.net/uploads/image/20180316/...

阅读全文

gitlab迁移遇到的版本不一致和无法导入问题

yzmm
1746 阅读

**Gitlab恢复数据时提示备份版本和当前版本不匹配时无法导入?** 这个时候需要卸载掉当前服务器安装的gitlab版本,并下载备份时的gitlab版本并重新安装(清华的tuna项目有所有的gitlab版本备份,下载地址:https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/) 这里需要根据当前的操作系统类型选择e16或者e17,(centos 6...

阅读全文

mac 控制台高亮.bash_profile

yzmm
1333 阅读

编辑当前用户下的.bash_profile文件(默认不存在) ```bash vim ~/.bash_profile ``` 复制: ```bash export CLICOLOR=1 export LSCOLORS=ExFxCxDxBxegedabagacad alias ll="ls -l" alias la="ls -a" alias l="ls -a -l" alias subl="/Ap...

阅读全文

Linux下恢复rm删除的文件 (CentOS)

blue
1481 阅读

今天误删除了Centos服务器上的某个文件夹,找了下恢复,ext3grep,extundelete等,因为文件系统是ext4的,只能使用extundelete 1. 安装依赖 ```bash yum -y install e2fsprogs e2fsprogs-devel ``` 2. 去http://extundelete.sourceforge.net/下载extundelete-0.2.4....

阅读全文