標籤: 首先 先做的就是 修改ssh的預設連接埠22需要修改檔案/etc/ssh/sshd_config使用命令vi /etc/ssh/sshd_config[[email protected] ~]# vi /etc/ssh/sshd_config# $OpenBSD: sshd_config,v 1.90 2013/05/16 04:09:14 dtucker Exp $# This is the sshd server system-wide
標籤: 為了減少軟體掃描ssh登陸 還是用這個比較好點 預設連接埠號碼22 也要改 登陸密碼也不要使用 弱口令 123456 這樣的 DescriptionDenyHosts is a python program that automatically blocks ssh attacks by adding entries to /etc/hosts.deny. DenyHosts will also inform Linux
標籤:來自http://blog.sina.com.cn/s/blog_4fcb99ae0101hhmr.html Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (裝置或資源忙). As a result, it may not reflect all of your changes until after
標籤:configure vnc server on centos 7 / rhel 7The following simple guide help you to setup the VNC server on RHEL 7/CentOS 7 machines, VNC help to share the desktop with the other machines which has a client installed. VNC server and client
標籤:fcitxCentOS 7通過yum安裝fcitx五筆IME以下通過了親測:1、設定源Posted in Linux at 三月 5th, 2015 / No Comments ?加入EPEL源EPEL7幾乎是CentOS必備的源:$ wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm$ sudo rpm -ivh epel-release-7-5.noarch.rpm$
標籤:配置nfs伺服器時,伺服器端掛載沒有問題,但是用戶端掛載時提示:mount.nfs: Connection timed out解決方案1:關閉firewalld # systemctl stop firewalld # firewall-cmd --state not running 解決方案2:rpcinfo -p顯示如下:program vers proto program vers proto port
centos缺少共用庫:libstdc++.so.6執行某些命令時,有缺少共用庫的報錯:error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory解決辦法:1、執行命令: yum whatprovides libstdc++.so.6admin@rocketmq-master1 ~]# yum whatprovides
CentOS關閉ipv6後報錯: Module off not found 解決Centos 6 關閉ipv6在 /etc/modprobe.d/dist.conf增加如下內容alias net-pf-10 offaliasipv6off此步可以禁止ipv6,但重啟網路會提示報錯FATAL: Module off not found.解決方案如下:1. 將/etc/modprobe.d/dist.conf 檔案中 alias ipv6 off 替換成 options ipv6 disable=1