Q: How to setup SWAT in Fedora linux?
SQAT is to manage and administer SAMBA server with web interface. SWAT web interface lets you to configure SAMBA with less effort and quickly.
Also explore more features and possibilities in SAMBA server. This tutoril will work with all Fedora versions like Fedora 17, 16, 15, 14, 13, etc.
Install xinetd first from yum repository
[root@server ~]# yum -y install xinetd
Install Samba-Swat from yum
[root@server ~]# yum -y install samba-swat
Edit SWAT configuration file
[root@server ~]# vi /etc/xinetd.d/swat
In the 10th line specify allowed ipaddress or network (or both)
only-from = 127.0.0.1 192.168.20.0/24
In the 14th line
disable = no
#now save the swat configuration file.
Start xinetd service
[root@server ~]# systemctl start xinetd.service
Add xinetd to system startup
[root@server ~]# systemctl enable xinetd.service
Access SWAT from Web browser
The default port number for SWAT is 901 TCP . Yuou should open the port 901/tcp in samba server.
http://<ip address of samba server>:901
Eg: http://192.168.10.50:901
You can login with root user and configure/manage SAMBA server with SWAT web interface.
0 comments:
Post a Comment