Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the basic knowledge that CentOS needs to master?

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Today, I will talk to you about the basic knowledge that CentOS needs to master, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.

In the systematic learning of CentOS entry knowledge, we have mastered some basic settings. Today we'll talk about server-side settings in getting started with CentOS.

Server-side settings for getting started with CentOS

1. Modify / etc/gdm/custom.conf to allow the use of xdmcp

[xdmcp]

Enable=1

If you need root users to log in remotely through XDMCP, you can add

[security]

AllowRemoteRoot=true

two。 Turn on firewall settings

Open the port of XDMCP: UDP 177,

Open TCP ports 6000 to 6010

/ etc/sysconfig/iptables can be modified directly

-A RH-Firewall-1-INPUT-m state-- state NEW-m udp-p udp-- dport 177j ACCEPT

-A RH-Firewall-1-INPUT-m state-- state NEW-m tcp-p tcp-- dport 6000 tcp 6010-j ACCEPT

Then restart iptables

/ etc/init.d/iptables restart

3. Boot to graphical interface runlevel

# init 5

If you have already entered the graphical interface, you need to restart

# init 3 init 5

Client Settin

4. Connect using x-win32

Open X-Config, create a XDMCP with the wizard in the session, query the input server IP, and finish.

Then select the session and start it.

After reading the above, do you have any further understanding of the basic knowledge that CentOS needs to master? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report