In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Install swat
Swat is a graphical samba management software that can help unfamiliar people configure samba services flexibly.
1. Install swat
[root@localhost wj] # yum install-y samba-swat
Dependency Updated:
Libsmbclient.i686 0VOR 3.6.23-51.el6 samba.i686 0RU 3.6.23-51.el6
Samba-client.i686 0VOR 3.6.23-51.el6 samba-common.i686 0RU 3.6.23-51.el6
Samba-winbind.i686 0VOR 3.6.23-51.el6 samba-winbind-clients.i686 0RU 3.6.23-51.el6
Complete!
[root@localhost wj] #
2. Modify the swat configuration file "/ etc/xinetd.d/swat"
[root@localhost wj] # gedit / etc/xinetd.d/swat
Service swat
{
Port = 901 / / Port number
Socket_type = stream
Wait = no
Only_from = 127.0.0.1 / / whether only local login is allowed. If you want to log in on other computers, comment out this sentence with #.
User = root
Server = / usr/sbin/swat
Log_on_failure + = USERID
Disable = no / / this must be no, default yes
}
3. Modify the firewall and add port 901 of tcp
[root@localhost wj] # gedit / etc/sysconfig/iptables
-An INPUT-m state-- state NEW-m tcp-p tcp-- dport 901-j ACCEPT
[root@localhost wj] # service iptables restart
Iptables: set chain to policy ACCEPT: filter nat [OK]
Iptables: clear firewall rules: [OK]
Iptables: uninstalling module: [OK]
Iptables: apply firewall rules: [OK]
Iptables: load additional modules: nf_conntrack_ftp [OK]
4. Start the swat service
[root@localhost wj] # service xinetd start
Starting xinetd:
5. Type "ip:901" in the browser and you can see a graphical management interface.
A Linux learning platform has been made, and a prototype has come out at present, which you can refer to and use.
Link: https://pan.baidu.com/s/1GOLVU2CbpBNGtunztVpaCQ password: n7bk
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.