jump to navigation

Howto Install SWAT CentOS 4.4 February 14, 2007

Posted by invaleed in Linux.
trackback

  1. Install swat via yum, pastikan terlebih dahulu samba server dan samba client dah terinstall di machine CentOS anda:
  2. # yum install samba-swat

  3. Edit super daemon (inetd : di /etc/inetd.conf atau xinetd : di /etc/xinetd.d/swat), kebetulan saya menggunakan xinetd.
  4. # vi /etc/xinetd.d/swat

    # default: off
    # description: SWAT is the Samba Web Admin Tool. Use swat \
    # to configure your Samba server. To use SWAT, \
    # connect to port 901 with your favorite web browser.
    service swat
    {
    port = 901
    socket_type = stream
    wait = no
    only_from = localhost
    user = root
    server = /usr/sbin/swat
    log_on_failure += USERID
    disable = yes
    }

    Rubah menjadi :

    # default: off
    # description: SWAT is the Samba Web Admin Tool. Use swat \
    # to configure your Samba server. To use SWAT, \
    # connect to port 901 with your favorite web browser.
    service swat
    {
    port = 901
    socket_type = stream
    wait = no
    only_from = localhost
    user = root
    server = /usr/sbin/swat
    log_on_failure += USERID
    disable = no
    }

    Jika anda ingin menggunakan swat ini secara remote, maka caranya adalah dengan menghapus atau meng-comment (#) baris config only_from = localhost atau only_from = 127.0.0.1

  5. Silahkan di test menggunakan browser, arahkan ke http://ip_machine_swat:901, good Luck :)

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.