[HELP] Firewall Configuration

Discussion in 'VPS (Virtual Private Server)' started by enzskyx99, 11 May 2012.

Thread Status:
Not open for further replies.
  1. enzskyx99

    enzskyx99 Beginner 1.0

    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Sore juragan2..


    Gni, kmarin kan baru beli VPS (1gb unmanaged). Semua uda di install.. LAMP, MySQL, dll deh.
    Sekarang yg buat pusing itu bagian firewall nya. Kalo dari iptables, gimana setting nya? Total gk ngerti.
    Kalo firewall alternatif selain iptables itu ada? Yg gampang dimengerti aja.. Baru 1x di unmanaged punya :D.


    Trima kasih sebelumnya.
     
  2. cpserv

    cpserv Expert 1.0

    Messages:
    866
    Likes Received:
    123
    Trophy Points:
    43
    OS = ? (Centos, Debian, Ubuntu, bla2)
    Arch = ? (32/64bit)

    Firewall Alternatif = CSF, APF, dll
     
  3. enzskyx99

    enzskyx99 Beginner 1.0

    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    CentOS 5.8 64 bit

    Kalo yg CSF td uda diinstall.. Cmn gk ngerti dr mana setup nya.
     
  4. ngaco

    ngaco Apprentice 1.0

    Messages:
    218
    Likes Received:
    20
    Trophy Points:
    18
    system-config-securitylevel-tui
     
  5. cpserv

    cpserv Expert 1.0

    Messages:
    866
    Likes Received:
    123
    Trophy Points:
    43
    csf di /etc/csf/csf.conf

    iptables di /etc/sysconfig/iptables

    iptables gausah dipake klo udah pake csf.. karena csf yg ngatur config iptablesnya.
     
  6. enzskyx99

    enzskyx99 Beginner 1.0

    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Uda pake yg dibawah ini :D. Terima kasih bantuannya.

    Tp ad 1 masalah di MySQL, terjadi saat mau nginstall RoundCube.. Smua ptunjuk diikuti, tp wkt mau flush privelleges nya, lgsg gk bisa akses mySQL/phpMyAdmin

    Mau di reinstall gk bisa.. Uda di yum remove mysqld, tp wktu mau yum install mysql-devel mysql-server gk bisa..

    Code:
     file /usr/share/mysql/charsets/cp1250.xml from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/charsets/cp1251.xml from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/czech/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/danish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/dutch/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/english/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/estonian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/french/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/german/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/greek/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/italian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/japanese/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/korean/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/polish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/romanian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/russian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/serbian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/slovak/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/spanish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/swedish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/lib64/mysql/libmysqlclient.so.15.0.0 from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysqlclient15-5.0.90-2.el5.art.x86_64
      file /usr/lib64/mysql/libmysqlclient_r.so.15.0.0 from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysqlclient15-5.0.90-2.el5.art.x86_64
      file /etc/my.cnf from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/charsets/Index.xml from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/charsets/cp1250.xml from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/charsets/cp1251.xml from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/czech/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/danish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/dutch/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/english/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/estonian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/french/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/german/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/greek/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/italian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/japanese/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/korean/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/polish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/romanian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/russian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/serbian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/slovak/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/spanish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/swedish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.x86_64 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /etc/my.cnf from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/charsets/Index.xml from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/charsets/cp1250.xml from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/charsets/cp1251.xml from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/czech/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/danish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/dutch/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/english/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/estonian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/french/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/german/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/greek/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/italian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/japanese/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/korean/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/polish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/romanian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/russian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/serbian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/slovak/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/spanish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/swedish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.x86_64
      file /etc/my.cnf from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/charsets/Index.xml from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/charsets/cp1250.xml from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/charsets/cp1251.xml from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/czech/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
      file /usr/share/mysql/danish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.5.23-5.el5.art.i386
    
    
    
    Error Summary
    -------------
    
    Sebenarny masih ada error summarynya.. Cmn bsa nampung 15000 karakter. Lagian sambungan errorny cmn di bahasa.
    Uda searching Google berjam2 tp solusiny gk ad.

    Uda di cari folder yg ad file itu, tp gk ada.
    Ada cara supaya bisa fresh install tuh MySQL / remove itu?
     
  7. mixmaxspace

    mixmaxspace Hosting Guru

    Messages:
    1,235
    Likes Received:
    99
    Trophy Points:
    48
    Coba instalkan webmin lalu webmin modulnya pakek csf, kalo kesulitan baca panduan instal di csf.
     
  8. deRegen

    deRegen Apprentice 1.0

    Messages:
    313
    Likes Received:
    23
    Trophy Points:
    18
    Pake repo apa pak?
    Mungkin bisa ngetre yang ini - Update PHP 5.2 in RHEL 5 (Page 1)
     
  9. enzskyx99

    enzskyx99 Beginner 1.0

    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    rpmforge

    Uda di baca2 dari forum Remi jg blum ngerti.. Aduh, pusing.
     
  10. enzskyx99

    enzskyx99 Beginner 1.0

    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    SOLVED!!
    Thank you buat juragan2 yg uda luangin waktunya.

    Kalo ad yg mengalami masalah kek w, carany yg w pake spt ini:
    Code:
    rpm -qa | grep mysql
    [I]hapus tuh file yg kluar[/I]
    
    wget http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
    wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
    rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm
    [I]Edit file etc/yum.repos.d/remi.repo jd spt dibawah[/I]
    
    name=Les RPM de remi pour Enterprise Linux $releasever - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    failovermethod=priority
    priority=3
    
    Baru install balik aja tuh mysql atau yum --enablerepo=remi update php-\*
    Kalo kedapatan ada tulisan "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)",

    Caranya (harus root)
    Code:
    /etc/init.d/mysqld start
    mysql
    Sorry, ada dkit OOT. Dr Firewall jd ke MySQL :p
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...