linux
fkuke469577
这个作者很懒,什么都没留下…
展开
-
ubuntu ifconfig安装
Commond 'ifconfig' not found, but can be installed with:apt install net-tools$ sudo apt install net-tools原创 2020-06-05 18:58:56 · 841 阅读 · 0 评论 -
解决Ubuntu SSH登陆出现Access Denied错误
1、在/etc/ssh/sshd_config 中有个 PermitRootLogin, 该行修改之前为#PermitRootLogin prohibit-password使用vi指令对sshd_config文件进行修改直接在改行最后回车,添加一行PermitRootLogin yes2、重启ssh:/etc/init.d/ssh restart3、重新使用ssh远程连接就好了禁止远程连接将yes改为no即可然后重启ssh...原创 2020-06-05 18:55:23 · 1979 阅读 · 1 评论 -
Network error: connection refused
检测本机与主机连通性#ping检测一下虚拟机ping 114.10.174.128说明主机是没问题的;ssh检查#检查ssh是否安装:ps -e |grep ssh结果显示ssh没有安装;#安装openssh-serversudo apt-get install openssh-server#启动sshservice ssh startps -e |grep ssh...原创 2020-06-05 18:44:28 · 22781 阅读 · 6 评论 -
Ubuntu首次登陆设置root密码
1、启动Ubuntu2、输入sudo passwd root,在[sudo] password for wheat:后输入当前用户的密码3、当前用户密码验证通过后输入需要设置的root超级管理员账户密码Enter new UNIX password:验证输入的密码Retype new UNIX password:4、出现passwd: password updated successfully字样,表示超级管理员root账户密码设置成功5、验证:输入su,后输入超级管理员账户的密码,验证通原创 2020-06-05 18:57:23 · 1530 阅读 · 0 评论 -
Redis之在Linux上安装和简单的使用(转)
一、安装gcc 1、Redis在linux上的安装首先必须先安装gcc,这个是用来编译redis的源文件的。首先需要先切换的到root用户:[cheny@localhost ~]$ suPassword: [root@localhost cheny]# 123452、然后开始安装gcc:[root@localhost /]# yum install gcc-c++//转载 2017-10-30 00:29:02 · 150 阅读 · 0 评论