centos配置笔记

centos配置python环境
1,升级系统的python版本https://www.cnblogs.com/ech2o/p/11748464.html

2,安装virtualenv,virtualenvwrapper:https://blog.csdn.net/eyses__/article/details/88110326?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param
3,当使用mkvirtualenv创建环境时会出现的问题解决链接:(1):https://blog.csdn.net/qq_23889009/article/details/100887640
(2):https://blog.csdn.net/jiduochou963/article/details/88784769

新建不了环境问题:https://blog.csdn.net/jiduochou963/article/details/88784769?ops_request_misc=%25257B%252522request%25255Fid%252522%25253A%252522160974817416780299088335%252522%25252C%252522scm%252522%25253A%25252220140713.130102334…%252522%25257D&request_id=160974817416780299088335&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allbaidu_landing_v2~default-1-88784769.first_rank_v2_pc_rank_v29&utm_term=ERROR:%20virtualenvwrapper%20could%20not%20find%20virtualenv%20in%20your%20path

centos安装mysql
首先我们去清华源复制安装包链接:https://mirror.tuna.tsinghua.edu.cn/mysql/downloads/MySQL-5.7/
选好安装包之后使用wget安装:wget https://mirror.tuna.tsinghua.edu.cn/mysql/downloads/MySQL-5.7/mysql-5.7.30-1.el7.x86_64.rpm-bundle.tar
删除依赖:rpm -qa | grep mysql
rpm -qa | grep mariadb

tar -xvf 解压包

使用rpm -ivh mysql-community-common包
mysql-community-libs包
mysql-community-client包
mysql-community-server包
如果安装server包出错:https://blog.csdn.net/xie1748288177/article/details/110878856

linux 安装mysql 报错 :

Installing MySQL system tables…/usr/local/mysql//bin/mysqld: error
while loading shared libraries: libnuma.so.1: cannot open shared
object file: No such file or directory

安装 yum -y install libaio-devel 之后问题还是依旧 CentOS 7.3 64位

启动mysql:systemctl start mysqld
查看临时密码:sudo cat /var/log/mysqld.log | grep password
进入:vim /etc/my.cnf
在第四行[mysqld] 下面validate_password=off 作用是不让mysql检测密码过严
随后再次登录:使用命令:alter user ‘root’@‘localhost’ identified by ‘新密码’;

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值