logo头像
Snippet 博客主题

linux

mac使用ssh连接远程服务器并实现文件上传下砸

使用ssh连接远程主机ssh username@192.168.100.100 其中,username是登录用户名,@后接ip地址,点击确定之后输入密码即连接到远程主机。要查看当前有多少个处于登录状态的用户,可以使用who命令查看。使...

centos7安装mysql

环境Linux版本:5.7 安装下载地址yum install -y mysql*注:一开始一直报‘Failed to start mysqld.service: Unit not found.’网上查找方法,好一通折腾,原来没安装m...

linux常用命令

mkdir 创建文件夹/目录命令参数: -m, --mode=模式,设定权限<模式> (类似 chmod),而不是 rwxrwxrwx 减 umask -p, --parents 可以是一个路径名称。 ...

centos7配置网关

起源搭建虚拟机并配置centos7之后,在主机终端采用ssh root@192.168.131.141方式连接虚拟机,当访问公司内网,执行curl http://###下载资源,下载失败,错误显示’### port 443: “拒绝连...