Easter79 Easter79
3年前
swconfig
 swconfig是交换接口(switch)配置命令。swconfiglist;列出可用的SWITCH设备信息(dev参数)Found:switch0ag71xxmdio.0swconfigdevswitch0help;查询该设备信息switch0:ag71xxmdio.0(Athero
CuterCorley CuterCorley
4年前
CentOS 常见异常及解决办法
1.pip3安装mysqlclient报错pythonsetup.pyegg_infoCheckthelogsforfullcommandoutput.在CentOS上部署Django项目时,经常需要安装MySQL数据库引擎,如mysqlclient,在执行pip3installmysqlclient命令时,可能会报错如下:
Stella981 Stella981
3年前
Navicat连接mysql数据库2003
使用root账号连接MySQL1,登录mysqlu用户名p               回车后输入密码2,usemysql3,输入下面命令,显示root为localhost本地登录SELECTUser,HostFROMmysql.user;!(https://oscimg.oschina.net/oscne
Wesley13 Wesley13
3年前
ubuntu设置 SSH 通过密钥登录
1\.制作密钥对首先在服务器上制作密钥对。首先用密码登录到你打算使用密钥登录的账户,然后执行以下命令:root@host~$sshkeygen<建立密钥对Generatingpublic/privatersakeypair.Enterfileinwhichtosavethe
Stella981 Stella981
3年前
Git 的使用方法
使用前的准备一、进入.ssh文件夹。cd~/.ssh//若没有.ssh文件夹,则使用如下命令创建:mkdir~/.ssh 2、手动设置email和用户名则指令如下:gitconfigglobaluser.name"myname"gitconfigglobal
Wesley13 Wesley13
3年前
Linux下MySQL自启动
命令echo"servicemysqldstart"/etc/rc.local或者进入/etc/目录,直接vimrc.local编辑rc.local文件,在最后一行添加“servicemysqldstart”,保存退出bash:/etc/rc.local:Permissiondenied分析:bash返回 /etc/rc
Stella981 Stella981
3年前
MacOS通过homebrew安装老版本的软件
1\.安装Homebrew/usr/bin/rubye"$(curlfsSLhttps://raw.githubusercontent.com/Homebrew/install/master/install)"2\.如果想安装最新版本的软件,直接使用下面的命令即可,以安装gdb为例进行说明:brewinstall
Stella981 Stella981
3年前
EntityFrameworkCore & MySQL
搭建脚手架手搓一个继承DbContext的数据库上下文类...当然更好的方式是通过脚手架命令来自动生成咯dotnetefdbcontextscaffold"serverserver;uiduid;pwdpwd;databasedatabase""Pomelo.EntityFra
Wesley13 Wesley13
3年前
MySQLStudy——Mac下MySQL 常用命令 启动 关闭 重启服务 查看版本
MAC下MySQL常用命令本人电脑为MacOS10.14版本MySQL为8.0.15版本查看mysql版本方法一:status;!(https://oscimg.oschina.net/oscnet/01e3f478
Wesley13 Wesley13
3年前
Git开发实战(三)之撤销操作(reset、checkout)
一、使用reset命令撤销本地仓库的提交     1.我在README文件中,写一点东西,然后提交;aibin@XiaoAibinMINGW64~/Desktop/test_git(master)$vimREADMEaibin@XiaoAibinMINGW64~/Desktop/test_