masterbator
Active Member
is this possible? i tried it myself, with a bit tweaking & optimizing
but always end up having my 128 RAM swallowed mostly by apache.
but always end up having my 128 RAM swallowed mostly by apache.
yum -y install httpd
yum -y install mysqld mysql-server
yum -y install php php-mysql
yum -y install php-gd php-imap
service httpd start
service mysqld start
just for hosting 1-2 blogs with low trafficIt does depend, What are you needing apache for ?
Depends on the SERVER Core's ( if more then one ) Speed . If say the Core's Speed is 3.0ghz each , and 8 Cores the server will not have a MAJOR issue but say 1 i7 Processor just cant handle it
how to park domain into server then
I would suggest you look into lighttpd or nginx, nginx prefered, since it's much better at handling connections then lighttpd.
setup mysql, nginx, tune the mysql for low memory, maybe introduce some disk caching on static content (if running wordpress)
We have clients running setups like this.
Running nginx is a must, now if you run PHP-FPM set the one pool and set it to use few workers. You will see what is the memory usage of each PHP-FPM child, however running a web server on 64 MB machine would need certain drastic drawbacks, as not using MySQL (or disabling the InnoDB storage and optimizing MySQL for this low-level environment). Better yet is to use a remote MySQL database or use SQLite for that matter.
Also, if you set caching in nginx be prepared for it to eat up some memory too, if disable it you should have a web server running happily under 45-50 MB.
after initial install (with the default config on) it would eat up big portion of the RAM,Apache doesn't have any requirements, you can even run it on P-100 with 16MB RAM. Really depends on what you are going to do with it.