随笔分类 -  linux

win 子系统导入centos7
摘要:之前在应用商店安装过ubuntu的,有钱的建议从商店购买 window配置 , 准备一个centos系统,我是从已有系统导出的,导出命令 tar -cvf ./centos.tar ./ --exclude=centos.tar --exclude=./proc* --exclude=./tmp/* 阅读全文
posted @ 2023-01-29 15:55 allen817 阅读(124) 评论(0) 推荐(0)
centos mail 发邮件
摘要:1.安装mailx yum -y install mailx 2. /etc/mail.rc 最后增加邮件配置如 set smtp=smtp.qq.comset smtp-auth=loginset smtp-auth-user=*******@qq.comset smtp-auth-passwor 阅读全文
posted @ 2022-07-28 14:58 allen817 阅读(135) 评论(0) 推荐(0)
ubuntu安装软件报依赖关系错误
摘要:1.环境 Distributor ID: UbuntuDescription: Ubuntu 20.04.1 LTSRelease: 20.04Codename: focal 2.安装 报错 3.解决办法 上面依赖libldap-2.4-2 先安装依赖指定版本即可 apt install libld 阅读全文
posted @ 2022-03-11 09:46 allen817 阅读(1078) 评论(0) 推荐(0)
Unable to negotiate with xxx.xxx.xxx.xxx port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1
摘要:[root@zscp1 ~]# cat /root/.ssh/config Host * KexAlgorithms +diffie-hellman-group1-sha1 Ciphers +aes128-cbc 原因是Terminal找不到支持的密钥交换方法,因为新版Openssh中认为SHA1这 阅读全文
posted @ 2019-12-11 15:14 allen817 阅读(8411) 评论(1) 推荐(1)
linux允许80端口通过
摘要:yum重装 http://www.07net01.com/storage_networking/Red_Hat_6_2_64ruheshiyongCentosdeYUMyuangengxinfangfa_565505_1376558203.htmlyum apache mysql php http:... 阅读全文
posted @ 2015-11-10 16:19 allen817 阅读(1447) 评论(0) 推荐(0)