Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2002
    Posts
    281

    Exclamation ip based hosting, proftpd, qmail, stats -> one for all bash script needed

    hello,

    I can't believe everybody out there is using cpanel, plesk or similar. Does somebody of you have a simple bash script able to add the following stuff for new customers?

    - add linux user and group
    - assign ip address
    - create bind8 zone file + edit named.conf
    - add entry in proftpd
    - launch vadddomain of qmail
    - create a new .conf file for webstats
    - create user directory /var/www/html/domainname
    - create logs directory inside user directory
    - and perhaps even add the stuff into httpd.conf

    hemmmmm am I asking to much if I ask you: "if you have such a script, could you please share it?"

    thanks indeed in advance!
    Real name: Tar Mkdir, consort of Dir Rar
    Working for: Imperial Klingon Vine Impex
    Note: No, we do not beam vine! Don't offend the Empire with such requests!

  2. #2
    Join Date
    Jun 2001
    Location
    Chicago, IL
    Posts
    1,953
    sorry I cant help you, but I think the reason so many use it is for the interface the clients get to use. Anyhow, if you wanted some tips on making one, I did someting similar to what you have, but just for httpd and bind.

    I recomend that you use bash with a perl script or two, and have it create seperate files for stuff like httpd, then append a link to that file in httpd.conf, and ofcourse something similar goes for bind. And the rest wouldnt be too hard. Just a matter minipulating what you would do in a script.

    Anyhow, if you have some perl experience, you could have a decent one done in a day. Sorry I couldnt be of more help, but I dont think there are many people that do this due to a lack of a centralized(sp) gui for the client
    Chicago Electronic Cigarettes: Tobacco Free, Smoke Free. 3 E-Cig Models, 11 flavors, and accessories.
    http://www.chicago-ecigs.com

  3. #3
    Join Date
    Sep 2002
    Location
    Dallas, TX
    Posts
    205
    I am writing one almost exactly as you describe (except using sendmail). I would be happy to send it to you, though it is not a high priority for me at the moment and will likely not be finished for a week yet. If you can wait that long, let me know and i'll send it along.
    justin 'at' abrogo.com
    http://www.abrogo.com
    Shared Unix Hosting

  4. #4
    Join Date
    Sep 2002
    Location
    Mansfield
    Posts
    314
    Yes, but it's in Bourne shell.

    PM me w/ an email addy
    GUI admin tools have no honor. It is a good day to vi.

  5. #5
    Join Date
    Oct 2002
    Posts
    281
    hello, thanx a lot for your posts. I've no perl skills (well I know how to install them but not more ) would be really kind if you could send me the scripts you are using/developing

    thanks indeed
    Last edited by anon-e-mouse; 06-03-2004 at 04:45 AM.
    Real name: Tar Mkdir, consort of Dir Rar
    Working for: Imperial Klingon Vine Impex
    Note: No, we do not beam vine! Don't offend the Empire with such requests!

  6. #6
    Join Date
    Sep 2002
    Location
    Mansfield
    Posts
    314
    Originally posted by realalien
    thanks indeed
    Whether you thank me or hate me remains to be seen, but have fun!
    GUI admin tools have no honor. It is a good day to vi.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •