cpanel free alternative with DNS tool [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this questionI'm loo开发者_运维知识库king for a free alternative to manage personal sites (php/apache/mysql support) with the ability to configure DNS.
it should be VERY light weight and optimized.
I tried many panels especially kloxo, and i was disappointed, too many bugs and random crashes of the whole server.
Remember, i dont want any ticketing system or payment system or ability to install CMS by one click. Most important is an upto date product with strong community for regular updates and support.
I tried googling for hours and I came with a big list, so i am confused..
Virtualmin
The Good
It creates the web sites as I would create them. It puts them in the home directory, create a user/group for them. Sets up FTP/MySQL/more. Allows extensive customization: for example, I set up the websites to use chronolog and shorten the amount of time it takes to logrotate.
The resources
After an install (which includes Apache, BIND, MySQL, SpamAssasin, ClamAV, dovecot, and postfix. The memory usage of the entire server is about 500MB RAM (in an OpenVZ container after a reboot). The installation does not start any additional services, so in a memory constrained environment, you may want to disable them BEFORE restarting.
After disabling features in the setup, it still starts many unneeded services like SpamAssasin, mailman, postgreSQL, and more at startup. You can disable these using either the distribution tools or the "Services and Startup" portion of the interface. After a little tweaking I usually get the Memory Usage down to ~200MB (in OpenVZ containers) before giving MySQL about 33% of the RAM (usually at least 1GB containers).
Usage below 200MB is certainly possible-- also note that OpenVZ is a little wierd when it comes to memory
The integration
Virtualmin/Webmin manage the configuration more than anything else. Every Virtualmin server I set up feels like it can run without virtualmin (although I haven't tried it). In Ubuntu (maybe Debian as well)-- the apache configuration are placed in /etc/apache2/sites-available and /etc/apache2/sites-enabled. Usually every option in the interface corresponds to a configuration file that Virtualmin just helps you generate. It doesn't blindly override most files (like apache). If you make a modification, it'll notice and try not to botch it.
Things to know
- One of the first things you may do is set up the Directory Restriction features so that users get chrooted to their home directory
- If using Ubuntu 10.04 and fastcgi, you'll need to pull the new apache2 fcgi package from the updates repository to avoid an upload bug.
- The subaccount usernames could be better: cPanel uses user@domain.com for FTP/WebDAV and domain_user for MySQL usernames/databases. Virtualmin allows you to choose one or the other: not both. The users Virtualmin creates in MySQL end up being truncated (instead of "some-user@my-domain.com" you get "some-user@my-dom" with nothing in the Virtualmin interface telling you that it did this). You can just manage your MySQL separately and have Virtualmin import it.
- New account names seem to default now to the entire domain name. I'm not a fan of it, but at least its configurable.
- Virtualmin stores account passwords in plain-text. It does this so that it can manage accounts in several different systems that don't have a unifying password format-- its understandable, I still use it because all of the passwords are just randomly generated and internal only (no emails on virtualmin boxes)
- The webmin.pl file seemed to crash a bit last year. I haven't encounter it in a while, but its non-critical compared to apache and such. In fact, It'd be nice if it only started on-demand.
Overall
It saves me time, even with all of the options I need to tweak. It works with more operating systems than most control panels. They have their own repository, so the update-system integrates well with the operating system.
Have you tried webmin?
Directadmin is another one that is used by many. You can give it a look at http://www.directadmin.com.
I won't make a recommendation, since I have an obvious bias (I'm a Virtualmin developer, and it's how I make a living), but I do want to chime in with more detail about Virtualmin memory usage, since it's been alleged that it uses 500MB of RAM, which is way off.
Virtualmin, the control panel by itself, uses anywhere from 11MB to 150MB, depending on configuration, number of domains managed, amount of caching enabled, etc. The services that it manages, like Apache, BIND, databases, ClamAV, etc. could use hundreds of MB more, or even GB more RAM. That usage, however, happens in any system where you use those services and has no relation to Virtualmin. No control panel makes Apache smaller, assuming identical configuration. Likewise, if you are using ClamAV for virus scanning email, you will always have that memory usage no matter what control panel you use (or even if you don't use a control panel at all).
It is very easy to make Virtualmin use about 11-16MB (closer to 11 on a 32 bit system and closer to 16 on a 64 bit system) simply by turning off all library caching.
Memory usage is thoroughly documented, including how to configure it to use very little memory, in our "Virtualmin on Low Memory Systems" guide: http://www.virtualmin.com/documentation/system/low-memory
Virtualmin, by default, is configured for use in large deployments...hosting hundreds of domains on large servers. But, that doesn't mean it's only for those kind of deployments. We have tens of thousands of installations running on systems with 256 or 512MB of RAM, and even a few hundred running on 128MB systems (or even smaller; I know one guy that runs a static websites-only configuration on 96MB VMs). I'm not sure how Virtualmin could get much smaller than 11MB, honestly, and still be useful. I doubt any other control panel is significantly smaller.
精彩评论