随笔分类 -  RedHat

摘要:通过软链接命令 ln,此方法为系统级修改 先删除默认的Python软链接: sudo rm -rf /usr/bin/python 然后创建一个新的软链接指向需要的Python版本: sudo ln -s /usr/bin/python3 /usr/bin/python 如果想还原回原python2 阅读全文
posted @ 2023-02-15 14:52 Aliwall 阅读(168) 评论(0) 推荐(0)
摘要:Armbian 等 使用 sudo apt-get update 报错: Release 文件过期. 大概率是因为 系统时间不对, 调整系统时间后再次尝试. date -s '2023/02/15 11:16:16' date Armbian更换 清华源: , 使用WInSCP 打开编辑 /etc/ 阅读全文
posted @ 2023-02-15 14:18 Aliwall 阅读(7064) 评论(0) 推荐(0)
摘要:以下为8月23日左右记录的,没有发布.今日整理大概记录下. 安装依赖包 yum install -y curl policycoreutils-python openssh-server openssh-clients postfix # 开启sshd服务systemctl enable sshd 阅读全文
posted @ 2019-11-25 10:50 Aliwall 阅读(656) 评论(0) 推荐(0)
摘要:# 查看是否安装mysql rpm -qa | grep -i mysql # 如果有,需要卸载旧版本Mysql及相关依赖包 rpm -e MySQL-client-*** # 查看开机启动服务列表状态 systemctl list-unit-files # 禁用mysql服务 systemctl 阅读全文
posted @ 2019-08-22 20:06 Aliwall 阅读(6605) 评论(2) 推荐(0)
摘要:使用yum 遇到如下错误. This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. 因为RedHat yum源是收费的,没有注册的R 阅读全文
posted @ 2019-08-16 19:08 Aliwall 阅读(4229) 评论(0) 推荐(0)
摘要:安装python3后需要重新配置yum 配置yum vim /usr/bin/yum #! /usr/bin/python #修改前#! /usr/bin/python2 #修改后 vim /usr/libexec/urlgrabber-ext-down #! /usr/bin/python #修改 阅读全文
posted @ 2019-08-16 18:32 Aliwall 阅读(768) 评论(0) 推荐(0)
摘要:redhat7.6 默认安装了python2.7. 查看已安装python情况 cd / # 定位到根目录 whereis python # 查看python所在目录 /usr/bin cd /usr/bin # 切到python目录 ll python* # 查看python开头的相关文件详情mv 阅读全文
posted @ 2019-08-16 18:11 Aliwall 阅读(1873) 评论(0) 推荐(0)
摘要:安装wget下载工具 # 查看是否安装wget rpm -qa | grep wget #使用yum安装wget yum -y install wget 使用wget工具下载到 /usr/share/tomcat/webapps/jenkins/ # 先在webapps目录下使用新建 jenkins 阅读全文
posted @ 2019-08-16 17:25 Aliwall 阅读(418) 评论(0) 推荐(0)
摘要:使用yum 安装java # 首先查看是否安装yum rpm -qa | grep yum yum-3.4.3-161.el7.noarch # 显示这个表示已经安装了. # 查看是否安装java,没有的话使用下面的命令安装 rpm -qa | grep java yum -y install ja 阅读全文
posted @ 2019-08-16 17:06 Aliwall 阅读(1130) 评论(0) 推荐(0)
摘要:记个流水账 redhat 7.6 上部署 禅道. 禅道官网下载 http://dl.cnezsoft.com/zentao/9.8.3/ZenTaoPMS.9.8.3.zbox_64.tar.gz 下载后将安装包放到/opt目录下, 我是windows下载后 用xftp传到/opt的. 1 cd / 阅读全文
posted @ 2019-08-15 21:50 Aliwall 阅读(2649) 评论(0) 推荐(0)