Adding Packages and Applying Them to Users (non panel)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ryan
    Junior Member
    Forum Explorer
    • Sep 2017
    • 25

    #1

    Adding Packages and Applying Them to Users (non panel)

    I'm having a little trouble following how to properly add LVE packages and apply them to users on a non-panel server. I tried
    Code:
    lvectl package-set test --json --speed=100%...
    which added an entry to /etc/container/ve.cfg, but when I ran
    Code:
    lvectl package-list
    it didn't list the "test" package, just the VE_DEFAULT.

    Than once I have my packages setup, how would I apply them to users?
  • bogdan.sh
    Administrator
    • Nov 2016
    • 1239

    #2
    Interesting,

    Could you please check the /etc/container/ve.cfg if package is actually there?

    Comment

    • ryan
      Junior Member
      Forum Explorer
      • Sep 2017
      • 25

      #3
      Immediately after I run the command they are in ve.cfg, but then at some point in the future they are not there anymore.

      Comment

      • bogdan.sh
        Administrator
        • Nov 2016
        • 1239

        #4
        I went researching for the necessary information and it seems nobody uses packages on a servers with no panel. While the packages itself are closely tied into the panel functionality to have them supported. I worry there is no quick fix to this case, and the hard one is to manage them all like for custom panel integration and scripts: https://docs.cloudlinux.com/cloudlin...l_integration/

        Do you really want that advanced setup with no panel? Do you expect that many users on a server with no hosting panel?

        Comment

        • ryan
          Junior Member
          Forum Explorer
          • Sep 2017
          • 25

          #5
          Interesting. In my case I'm setting up a development server to roughly (very roughly) mimic our live server which had cPanel. So this server will have hundreds of accounts on it. But this is not meant to have nearly as much functionality as cPanel. There won't even be a user-facing interface and no resellers. It's all controlled from another system which controls both the live cPanel server and this development server. I really just need the webserver parts, most of which I already have setup.
          • alt-php (already setup)
          • cageFS (already setup)
          • mysqlgovernor (already setup)
          • LVE
          • hosting limits
          So I don't think I need most of the functionality from that link. If I need to, I can manually adjust the users limits from the control system. That should work right? I just thought I was doing something wrong since the docs seemed to indicate packages could be setup. It would be nice if the non-panel supported that, but it's not critical.

          From what I describe, do you think I need anything form that link at all? For example: https://docs.cloudlinux.com/cloudlin...managing-users

          Comment

          • bogdan.sh
            Administrator
            • Nov 2016
            • 1239

            #6
            I don't think you need this, and as this server is going to be mostly staging one I would keep it super simple and apply all the users into the default LVE limits, which by default are pretty good. *and for sure they has been applied already.

            The primary focus of LVE is to protect server form overloading by single user, while on dev server it will not get traffic to do nasty things.

            Comment

            • ryan
              Junior Member
              Forum Explorer
              • Sep 2017
              • 25

              #7
              Yeah that's what I was thinking. These sites do get some bot traffic and some accounts will use more resources than others, so I will set the limits to the same as they use on the live servers, but that should be pretty straightforward. Thanks for your help!

              Comment

              Working...