前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Install Jumpserver1

Install Jumpserver1

作者头像
franket
发布2022-07-10 00:06:24
1450
发布2022-07-10 00:06:24
举报
文章被收录于专栏:技术杂记

关闭 Selinux

代码语言:javascript
复制
[root@h165 ~]# getenforce 
Enforcing
[root@h165 ~]# setenforce 0
[root@h165 ~]# getenforce 
Permissive
[root@h165 ~]# 

Note: 如果 SELINUX 不关闭会无法访问 web 界面

关闭防火墙

代码语言:javascript
复制
[root@h165 ~]# systemctl stop firewalld.service
[root@h165 ~]# systemctl status firewalld.service
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:firewalld(1)
[root@h165 ~]# 

修改字符集

代码语言:javascript
复制
[root@h165 ~]# localedef -c -f UTF-8 -i zh_CN zh_CN.UTF-8
[root@h165 ~]# export LC_ALL=zh_CN.UTF-8
-bash: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8): No such file or directory
-bash: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8)
[root@h165 ~]# echo 'LANG="zh_CN.UTF-8"' > /etc/locale.conf
[root@h165 ~]# env | grep LC
LC_ALL=zh_CN.UTF-8
[root@h165 ~]# 

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 关闭 Selinux
  • 关闭防火墙
  • 修改字符集
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档