SSH To Install CSF/LFD Firewall On LxAdmin

Discussion in 'Site & Server Administration' started by ravenplus, Mar 4, 2008.

  1. #1
    Okay, title says it all. I have a new VPS that I'm trying to install firewall on via SSH.

    This is probably the most confusing thing I've ever attempted but, does anyone know if CSF/LFD(www.configserver.com) can be installed on Hypervm/lxadmin?

    I'm attempting to do this

    Here are instructions found at (http://www.webhostingresourcekit.com/308.html)

    1) Log into your server and switch to the root user
    2) Switch directories to your download directory
    3) Download the latest version of the software: # wget http://www.configserver.com/free/csf.tgz
    4) Untar the package: # tar -xzf csf.tgz
    5) Switch into the new extracted folder: # cd csf
    6) Run the installer: # sh install.sh
    7) If you are still running APF and BFD on your server it is necessary to disable those applications: # sh disable_apf_bfd.sh


    Now I don't know what my download directory even is or how to do this, the install instructions are very basic. Can someone type out the more SSH beginner instructions. How to switch to root user(I thought I was root user on putty but maybe not), how to switch to DL directory. The 7 steps above are just so vague its really for the experienced it seems.
     
    ravenplus, Mar 4, 2008 IP
  2. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Well if you didnt login with root...you are not root.

    From any user...you could type "su root" and then password to gain access as root.

    The download directory is the directory you are in when you type the wget command. you could type "pwd" before downloading to know the "present working directoy" you are in.

    Im not sure why you say these steps are vague. They are the steps to install. Nothing less , nothing more.

    Im not sure, but I was under the assumption that configserver firewall were for cpanel servers.
     
    Camay123, Mar 4, 2008 IP
  3. ravenplus

    ravenplus Active Member

    Messages:
    472
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #3
    I'm a little confused on what my root password is. On hypervm it has "ROOT PASSWORD", but that is a different IP than my lxadmin panel.

    When I logged into putty I used my lxadmin login, as my "ROOT PASSWORD" as specified on hypervm didn't work...

    For a beginner , those instructions are vague. You know about how to switch to root user, I don't, you know to type in pwd to see current directory, I don't and those instructions aren't explained above. Thats why I'm seeking more explanatory instructions for those like myself that don't know the specific codes/commands. This is probably best if you know hypervm/lxadmin as I'm confused why my root password doesn't work on putty and my lxadmin FTP password does... VPS can be confusing because I have 2 different IP's, one IP that is the main server and my personal IP.
     
    ravenplus, Mar 4, 2008 IP
  4. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #4
    1. hypervm IP can be different than your vps IP
    2. you will need to check with your vendor if their lxadmin template allows root access or not. If not, you might need to login as a ssh user first (might be your lxadmin user?) then use "su -" command to get into root level

    Anyway, if you don't even know how to get into root, you should be VERY carefully with anything touching to your vps. Otherwise it might be worse, and you cannot use it anymore. A managed vps will be a better solution
     
    gate2vn, Mar 4, 2008 IP
  5. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'm not sure, but CSF doesn't support LXA atm. It does support Webmin and cPanel though.
     
    inworx, Mar 4, 2008 IP
  6. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #6
    as far as I know, CSF now can run on any Linux OS, doesn't require any specific control panel.
     
    gate2vn, Mar 5, 2008 IP