Results 26 to 50 of 266
-
02-23-2011, 11:52 PM #26Web Hosting Master
- Join Date
- Oct 2008
- Posts
- 637
The optimizer is meant to set a modest config for a small VPS, so its not going to break any low-memory records. Also, because of the way Apache works, it won't be able to compete memory wise with nginx on a OpenVZ VPS without crippling the config to something stupidly minimal.
Though, I'm surprised that your pages are loading faster. Perhaps its something to do with the Centmin config but I'll need to take a look at the source code later on to be sure.
Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.
-
02-23-2011, 11:58 PM #27Web Hosting Master
- Join Date
- Mar 2010
- Posts
- 4,533
It may just be apache is better at serving the specific files used in the site. I am just happy the site seems instant now
In all honesty, if you developed this more and had some kind of feature that would take care of all administration needs and tons of script installers with it (Pretty much already does) and provide an option to see the commands used for learning while it is executing, I would purchase it in a heart beat!
Seems like something unmanaged VPS providers could easily give to there new clients so they are up and running, lowering support costs.
-
02-24-2011, 12:18 AM #28Web Hosting Master
- Join Date
- Oct 2008
- Posts
- 637
Are you testing it with the site on your sig ? Would love to see how it loads on my end as well.
Its pretty complete as it is if both the scripts are used together. The only thing left to do is to have a backup procedure in place. You can always check out the code if you want to find out what its doing.
Though if you need something 100% automated, ISPconfig 3 looks like a very nice & free choice
p.s Do not use the Varnish cache function if you're on OpenVZ. Your VPS will not be happy.
Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.
-
02-24-2011, 12:54 AM #29Web Hosting Master
- Join Date
- Mar 2010
- Posts
- 4,533
Varnish is one of the reasons I tried it. Have not enabled it yet but I will try anyways. I do know I could restart it once it eats up all of my openvz memory which it is prone to do. So after 200mb of usage have it restart. Although that is not a great method to use. (If only buyvm had xen )
The site in the sig was not the one tested since it is not owned by me. I just own the domain which is pointed to a friends setup. But I could try importing the whole thing into wordpress and then testing it also.
Since the majority of the posts are from me Thanks again for what seems to be the only reliable debian Lamp setup.
-
02-24-2011, 03:01 AM #30Web Hosting Master
- Join Date
- Jan 2011
- Location
- Canada
- Posts
- 938
-
02-24-2011, 10:04 AM #31Web Hosting Master
- Join Date
- Oct 2008
- Posts
- 637
Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.
-
02-25-2011, 10:10 AM #32Newbie
- Join Date
- Jan 2010
- Posts
- 29
Hi Scientist
Thx for your great script first.
I just install lampworker mode, and also download the domain script to add domains, but I cant access others' "https:/xxx.com/p" , either "xxx.com"
I set the hostname samed as the domain I add by the domain script, is that the reason ?
-
02-25-2011, 10:27 AM #33Web Hosting Master
- Join Date
- Oct 2008
- Posts
- 637
If your A records are already pointing to your server, and your http links are working, it means that the ssl certs are missing. Use optimizelamp function to generate them.
-
02-25-2011, 10:33 AM #34Newbie
- Join Date
- Jan 2010
- Posts
- 29
Thx it works
-
03-01-2011, 01:30 PM #35Web Hosting Master
- Join Date
- Jan 2011
- Location
- Canada
- Posts
- 938
Hey Scientist, want to request getting this moved over to VPS tutorials? I had a hard time digging this up again
-
03-01-2011, 02:10 PM #36Web Hosting Master
- Join Date
- Oct 2008
- Posts
- 637
Yeah why not. Now I just need to figure out how do I go about requesting the move
The first post needs updating as well as the scripts have changed quite a bit since I first started the topic.
Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.
-
03-01-2011, 03:12 PM #37Now renamed!
- Join Date
- May 2009
- Location
- Vaduz/LI
- Posts
- 2,778
What about the same for NGINX or LIGHTTPD?
-
03-01-2011, 04:18 PM #38Web Hosting Master
- Join Date
- Oct 2008
- Posts
- 637
Its fairly easy to setup Nginx + PHP-FPM on Debian 6. The problem is when trying to include phpmyadmin, its won't be as "clean" as far as standard configs go. Of course this is speaking in terms of using 100% official Debian packages so that even the non sysadmin can keep their setup updated and secure.
Personally, I don't see the point of using nginx except for very high traffic sites because for most cases the memory savings are negligible if you use Apache + mpm-worker. Nonetheless, my test VPS is sitting idle now so I may just give the ready-to-go nginx setup another go.
p.s Do people still use lighttpd ?
Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.
-
03-01-2011, 04:28 PM #39Web Hosting Evangelist
- Join Date
- Oct 2006
- Location
- canada
- Posts
- 529
Depends on how many people
-
03-01-2011, 08:59 PM #40Web Hosting Master
- Join Date
- Oct 2008
- Posts
- 637
Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.
-
03-03-2011, 04:28 PM #41Newbie
- Join Date
- Mar 2011
- Posts
- 29
I'm new to VPS and I'm about to start playing with Mware and Debian 6. I'd like to know do I need to install apache, php5, mysql before running this script or script would install everything for me? Thank you in advance.
-
03-03-2011, 05:08 PM #42Web Hosting Master
- Join Date
- Oct 2008
- Posts
- 637
It installs everything for you so a fresh OS is actually recommended.
Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.
-
03-03-2011, 05:20 PM #43Newbie
- Join Date
- Mar 2011
- Posts
- 29
For some reason I got plenty of errors on a fresh installed Debian 6. Do I have to install packages manually?
Code:root@testingpc:/home/user1/Desktop# ./serversetup.sh lampworker optimizelamp Couldn't find any package whose name or description matched "libapache2-mod-fcgid" Couldn't find any package whose name or description matched "apache2-mpm-worker" No candidate version found for php5-cgi Couldn't find any package whose name or description matched "php5-suhosin" Couldn't find any package whose name or description matched "php-apc" No candidate version found for php5-mysql Couldn't find any package whose name or description matched "php5-dev" Couldn't find any package whose name or description matched "php5-curl" No candidate version found for php5-gd Couldn't find any package whose name or description matched "php5-imagick" No candidate version found for php5-mcrypt Couldn't find any package whose name or description matched "php5-memcache" Couldn't find any package whose name or description matched "php5-mhash" Couldn't find any package whose name or description matched "php5-pspell" Couldn't find any package whose name or description matched "php5-snmp" No candidate version found for php5-sqlite Couldn't find any package whose name or description matched "php5-xmlrpc" Couldn't find any package whose name or description matched "php5-xsl" Couldn't find any package whose name or description matched "libapache2-mod-fcgid" Couldn't find any package whose name or description matched "apache2-mpm-worker" No candidate version found for php5-cgi Couldn't find any package whose name or description matched "php5-suhosin" Couldn't find any package whose name or description matched "php-apc" No candidate version found for php5-mysql Couldn't find any package whose name or description matched "php5-dev" Couldn't find any package whose name or description matched "php5-curl" No candidate version found for php5-gd Couldn't find any package whose name or description matched "php5-imagick" No candidate version found for php5-mcrypt Couldn't find any package whose name or description matched "php5-memcache" Couldn't find any package whose name or description matched "php5-mhash" Couldn't find any package whose name or description matched "php5-pspell" Couldn't find any package whose name or description matched "php5-snmp" No candidate version found for php5-sqlite Couldn't find any package whose name or description matched "php5-xmlrpc" Couldn't find any package whose name or description matched "php5-xsl" No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. Couldn't find any package whose name or description matched "awstats" No candidate version found for imagemagick Couldn't find any package whose name or description matched "awstats" No candidate version found for imagemagick No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. ./serversetup.sh: line 145: a2dismod: command not found ./serversetup.sh: line 146: a2dismod: command not found ./serversetup.sh: line 147: a2dismod: command not found ./serversetup.sh: line 148: a2enmod: command not found ./serversetup.sh: line 149: a2enmod: command not found ./serversetup.sh: line 150: a2enmod: command not found ./serversetup.sh: line 151: a2enmod: command not found ./serversetup.sh: line 154: /etc/apache2/mods-available/fcgid.conf: No such file or directory ./serversetup.sh: line 176: /etc/apache2/conf.d/php-fcgid.conf: No such file or directory
-
03-03-2011, 06:05 PM #44Web Hosting Master
- Join Date
- Oct 2008
- Posts
- 637
That looks like a broken OS template to me. Can you paste the output of
cat /etc/apt/sources.list
Also, you should only execute 1 function at a time, and not combine them. E.g.
./serversetup.sh lampworker
./serversetup.sh optimizelamp
Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.
-
03-03-2011, 06:18 PM #45Newbie
- Join Date
- Mar 2011
- Posts
- 29
-
03-03-2011, 06:28 PM #46Web Hosting Master
- Join Date
- Oct 2008
- Posts
- 637
Ah... your sources.list isn't configured properly so to speak. I assume this is a local install and not on a VPS? The full Debian DVD is A LOT more than just 1 DVD so you're going to lose out a lot of packages if you don't include all of them.
Execute "./serversetup apt" to reconfigure your sources.list then run the lampworker function again.
Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.
-
03-03-2011, 06:57 PM #47Newbie
- Join Date
- Mar 2011
- Posts
- 29
First of all I just want to say a big thank you. Your script worked like a charm.
I wish to get VPS server very soon and now I'm just practicing how to get everything working with Mware Debian 6 (virual os) on my local Windows PC. I've been using wampserver on my Windows7 PC but using Debian is not the same. I wish to run Joomla cms on my future VPS and I'd like to know what should I know about VPS besides setting up apache, mysql? Should I just setup ftp server for www folder? Thanks againLast edited by startera; 03-03-2011 at 07:01 PM.
-
03-03-2011, 07:15 PM #48Web Hosting Master
- Join Date
- Oct 2008
- Posts
- 637
The best place to start is Linode library or Slicehost articles. Spend a day or two reading up and test out as much possible. No harm tinkering and breaking things because you can reload the OS in a matter of minutes from the VPS control panel. Might be even better for learning if you setup things manually instead of using my scripts.
Avoid using FTP unless you really need it. You should instead use SFTP (with filezilla, winscp etc) to upload files to your www folder. That way you don't have to install a FTP daemon which some might consider as a security risk
Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.
-
03-03-2011, 07:28 PM #49Newbie
- Join Date
- Mar 2011
- Posts
- 29
awesome, sftp would even require less ram than running as a server and it is more secure. I'll be working and modifying your script to get what I need. I just noticed it installed the latest version of PHP5 but I'd prefer to use php 5.2.11 so should I use 'aptitude' command or just apt-get and php5.2.11 package and the same for apache? I don't think the latest apache works well with older php version.
-
03-03-2011, 07:51 PM #50Web Hosting Master
- Join Date
- Oct 2008
- Posts
- 637
I think the compatibility concerns you're talking about is with regards to PHP5.3 and CMS scripts like drupal, joomla etc. AFAIK, those are all now resolved if you use updated versions of the scripts. Apache has no issues at all working with PHP5.3.
There isn't a apt-get php5.2.11 or anything like the sort. If you need PHP 5.2, stick to Debian 5 for the time being. Otherwise it'll take some work to get it working with Debian 6. You'll either have to pin the LAMP packages to the Lenny repo, or compile PHP from source.
Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.
Similar Threads
-
CentOS or Ubuntu or Debian
By Host4Geeks in forum Hosting Software and Control PanelsReplies: 26Last Post: 08-24-2010, 04:50 AM -
Seems Debian BETTER than CentOS for LNMP VPS?
By 21andy in forum VPS HostingReplies: 8Last Post: 02-24-2010, 03:20 AM -
Debian Server - Professional LAMP Setup, Optimization + Hardening Needed
By Netarch in forum Systems Management RequestsReplies: 5Last Post: 07-16-2008, 11:49 AM -
Any decent guides for chrooting apache2 in ubuntu lamp installation?
By Georgecooldude in forum Hosting Security and TechnologyReplies: 2Last Post: 05-12-2008, 06:42 PM -
Hassle Free CentOS/Ubuntu LAMP install disc?
By RobinWrit in forum Colocation, Data Centers, IP Space and NetworksReplies: 2Last Post: 03-05-2008, 01:58 PM