随笔分类 -  Linux

阿里云centos 8无法安装应用
摘要:rename '.repo' '.repo.bak' /etc/yum.repos.d/*.repo wget https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo -O /etc/yum.repos.d/Centos-vault-8. 阅读全文

posted @ 2022-03-30 16:50 冯亮 阅读(117) 评论(0) 推荐(0)

/usr
摘要:unix software resource:与软件安装/执行有关 阅读全文

posted @ 2020-11-28 21:37 冯亮 阅读(90) 评论(0) 推荐(0)

debian10 修改系统语言
摘要:(1) 更新软件包列表 apt-get update (2)安装locales包,apt-get install -y locales。安装完成后会自动生产/etc/locale.gen (3) 去掉/etc/locale.gen文件中zh_CN.UTF-8所在行前面的注释,sed -i 's/^# 阅读全文

posted @ 2020-11-25 11:27 冯亮 阅读(881) 评论(1) 推荐(1)

debian切换源
摘要:echo "deb http://mirrors.aliyun.com/debian/ buster main non-free contrib" > /etc/apt/sources.list && \echo "deb http://mirrors.aliyun.com/debian-secur 阅读全文

posted @ 2020-11-17 22:40 冯亮 阅读(995) 评论(0) 推荐(0)

linux 查找删除
摘要:find -name "*.php" -exec rm -f '{}' \; 阅读全文

posted @ 2018-05-07 14:27 冯亮 阅读(87) 评论(0) 推荐(0)

linux zip压缩文件忽略指定的文件夹
摘要:zip -r productImages.zip ./* -x "cache**" 压缩时,会忽略cache下的所有文件及文件夹 阅读全文

posted @ 2018-04-13 15:16 冯亮 阅读(1239) 评论(0) 推荐(0)

linux 修改文件、文件夹权限
摘要:# change owner of all the fies under dirName chown -R username dirName #change owner and the file group of all the files under dirName chown -R userna 阅读全文

posted @ 2016-04-27 10:24 冯亮 阅读(155) 评论(0) 推荐(0)

导航