Mysql cannot connect(10038) 和 配置远程登录 笔记 设置密码 mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('root'); 查看编码 show&nbs... continue reading centos joyo 2019/9/25 230
Linux scp 无密码复制文件 目的:本地服务器(local)复制文件到远程服务器(remote) 本地服务器:local 远程服务器:remote (192.168.1.254) 1. 在 local 上运行 ssh-keygen -t rsa 在 /root/.ssh 下生成 id_rsa 和 id_rsa.pub 两个文件 2. 在 /root/.ssh 下复制备份一份 id_rsa.pub 命名为 id_rsa.pub.L 3. 在 local 上运行 ssh-keygen... continue reading centos joyo 2019/8/13 253
Git 手册 git 手册: https://git-scm.com/book/zh/v2 git config user.name # 查看用户名 git config user.email # 查看用户邮箱 git config --global user.name "xieboke" # 设置用户名 git config --global user.email "xieboke@xieboke.net" # 设置用户邮箱 git init # 初始化本地... continue reading centos joyo 2019/7/27 306
阿里云、腾讯云、百度云实惠云主机 个人选择顺序:先 阿里,再 腾讯,最后 百度 阿里云学生机:https://promotion.aliyun.com/ntms/act/campus2018.html 腾讯云学生机:https://cloud.tencent.com/act/campus?fromSourc... continue reading centos joyo 2019/7/26 545
Centos7 使用 Supervisor 守护进程 Celery 一、Supervisor 安装(centos7 还有另一个进程守护命令 Systemd ) Centos 7 安装 Supervisord 二、Supervisor 守护进程 Centos7 使用 Supervisor 守护进程 三、Supervisor 守护 Celery 配置文件 1. python manage.py celery -A HttpRunnerManager worker --logle... continue reading centos joyo 2019/6/6 780
Linux 命令解释 英文版:https://explainshell.com/ 中文版:https://wangchujiang.com/linux-command/ continue reading centos joyo 2019/6/6 429
Centos7 之 python3, git, nginx, redis 源码安装 * 本篇所有命令均在 root 权限下执行 * 安装 python3 安装依赖包: yum -y install gcc gcc-c++ yum -y install openssl-devel bzip2-devel expat-devel gdbm-dev... continue reading centos joyo 2019/1/9 755
Centos7 之 sshd,iptables,firewall,fail2ban 常用操作 SSHD # 在原端口 22 下,新增 sshd 端口 20000,并 开启账号密码登录、开启 root 账号登录 vim /etc/ssh/sshd_config Port 20000 PasswordAuthentication yes PermitRootLogin yes # 查看状态 systemctl status sshd.service # 启动服务 systemctl start sshd.service #... continue reading centos joyo 2019/1/8 716