上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 36 下一页
摘要: 报错如下: 解决方法: apt-get install libmariadbd18 libmariadbd-dev 然后安装mysqlclient 阅读全文
posted @ 2022-03-16 15:27 lucky_tomato 阅读(94) 评论(0) 推荐(0) 编辑
摘要: apt-get install python-pip pip install virtualenv -i https://pypi.douban.com/simple/ virtualenv -p /usr/bin/python2.7 env2.7 cd env2.7/ source bin/act 阅读全文
posted @ 2022-03-16 14:14 lucky_tomato 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 分析问题的原因只要使用向日葵打开了远程界面, 切回本地后,使用了 alt+tab键后, 你的键盘就会失灵, 会感觉 alt键盘一直被按住,然后输入不了操作, 关闭向日葵,等待一会儿后就又好了根本原因是 在于按了 Alt+Tab 之后,Alt 会一直处于按着的状态 解决方式:键盘按住alt键3秒左右松 阅读全文
posted @ 2022-03-12 19:06 lucky_tomato 阅读(10113) 评论(0) 推荐(1) 编辑
摘要: 一、让debian终端文件显示不同颜色 vim /etc/vim/vimrc 取消“syntax on”的注释 二、让debian终端文件夹显示不同颜色 vim /root/.bashrc 注释以下内容: #export LS_OPTIONS='--color=auto' #显示颜色 #eval ` 阅读全文
posted @ 2022-03-11 14:18 lucky_tomato 阅读(539) 评论(0) 推荐(0) 编辑
摘要: 默认安装完MariaDB查看密码 /etc/mysql/debian.cnf,这个密码是属于debian-sys-maint 修改MariaDB root密码 1、登录MariaDB,查看默认的连接方式 select user, plugin from mysql.user; 2、如果是auth_s 阅读全文
posted @ 2022-03-11 12:04 lucky_tomato 阅读(454) 评论(0) 推荐(0) 编辑
摘要: apt-get install net-tools -y 阅读全文
posted @ 2022-03-10 19:05 lucky_tomato 阅读(61) 评论(0) 推荐(0) 编辑
摘要: apt install mariadb-server 阅读全文
posted @ 2022-03-10 19:04 lucky_tomato 阅读(45) 评论(0) 推荐(0) 编辑
摘要: # 切换到root权限下 cp /etc/apt/sources.list /etc/apt/sources.list.bak # 备份原有文件 # 打开文件编辑 vi /etc/apt/sources.list # 替换内容为刚才复制的内容 deb http://mirrors.aliyun.co 阅读全文
posted @ 2022-03-10 18:49 lucky_tomato 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 1、查看机器默认时区 [root@test 18:59:50 ~]# timedatectl Local time: Tue 2022-03-08 18:59:55 CST Universal time: Tue 2022-03-08 10:59:55 UTC RTC time: Tue 2022- 阅读全文
posted @ 2022-03-08 19:05 lucky_tomato 阅读(243) 评论(0) 推荐(0) 编辑
摘要: # 创建挂载目录 mkdir /mnt/dev # 挂载 mount /dev/cdrom /mnt/dev # 添加本地apt源 apt-cdrom add /mnt/dev # 下载工具 apt-get install vim 阅读全文
posted @ 2022-03-08 18:59 lucky_tomato 阅读(287) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 36 下一页