hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting Talk Tutorials : VPS Tutorials : Debian/Ubuntu LAMP and LNMP setup script
Reply

Forum Jump

Debian/Ubuntu LAMP and LNMP setup script

Reply Post New Thread In VPS Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #31  
Old
Web Hosting Evangelist
 
Join Date: Oct 2008
Posts: 533
Quote:
Originally Posted by tchen View Post
You could get the vmware machines at BuyVM/Frantech. That shouldn't have the problem either.

There, now you can continue posting.
I'm guessing techjr is on the affordable buyvm VPS so the frantech plans will be a huge increase in price.

__________________


Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.


Sponsored Links
  #32  
Old
Newbie
 
Join Date: Jan 2010
Posts: 11
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 ?

  #33  
Old
Web Hosting Evangelist
 
Join Date: Oct 2008
Posts: 533
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.

Sponsored Links
  #34  
Old
Newbie
 
Join Date: Jan 2010
Posts: 11
Thx it works

  #35  
Old
Web Hosting Master
 
Join Date: Jan 2011
Location: Canada
Posts: 934
Hey Scientist, want to request getting this moved over to VPS tutorials? I had a hard time digging this up again

  #36  
Old
Web Hosting Evangelist
 
Join Date: Oct 2008
Posts: 533
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.


  #37  
Old
Now renamed!
 
Join Date: May 2009
Location: Vaduz/LI
Posts: 2,480
What about the same for NGINX or LIGHTTPD?

  #38  
Old
Web Hosting Evangelist
 
Join Date: Oct 2008
Posts: 533
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.


  #39  
Old
Web Hosting Evangelist
 
Join Date: Oct 2006
Location: canada
Posts: 528
Quote:
Originally Posted by Scientist View Post
p.s Do people still use lighttpd ?
Depends on how many people

__________________
What did you expect was going to happen?
6sync is where I've made my home ): // @tenkay

  #40  
Old
Web Hosting Evangelist
 
Join Date: Oct 2008
Posts: 533
Quote:
Originally Posted by dyna! View Post
Depends on how many people
Oh wow, still a good million users or so. Figured it'd be less because nginx performs just as well minus the memory leaks.

__________________


Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.


  #41  
Old
New Member
 
Join Date: Mar 2011
Posts: 0
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.

  #42  
Old
Web Hosting Evangelist
 
Join Date: Oct 2008
Posts: 533
It installs everything for you so a fresh OS is actually recommended.

__________________


Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.


  #43  
Old
New Member
 
Join Date: Mar 2011
Posts: 0
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

  #44  
Old
Web Hosting Evangelist
 
Join Date: Oct 2008
Posts: 533
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.


  #45  
Old
New Member
 
Join Date: Mar 2011
Posts: 0
Thank you for your quick response and the output is in the attachment.


Quote:
Originally Posted by Scientist View Post
That looks like a broken OS template to me. Can you paste the output of

cat /etc/apt/sources.list
Attached Files
File Type: txt s.txt (564 Bytes, 71 views)

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS or Ubuntu or Debian Host4Geeks Hosting Software and Control Panels 26 08-24-2010 04:50 AM
Seems Debian BETTER than CentOS for LNMP VPS? 21andy VPS Hosting 8 02-24-2010 03:20 AM
Debian Server - Professional LAMP Setup, Optimization + Hardening Needed SwedeHost-Luke Systems Management Requests 5 07-16-2008 11:49 AM
Any decent guides for chrooting apache2 in ubuntu lamp installation? Georgecooldude Hosting Security and Technology 2 05-12-2008 06:42 PM
Hassle Free CentOS/Ubuntu LAMP install disc? RobinWrit Colocation and Data Centers 2 03-05-2008 01:58 PM

Related posts from TheWhir.com
Title Type Date Posted
Snappy Ubuntu Core for Raspberry Pi 2 Could Help Further IoT, Web Application Delivery Web Hosting News 2015-02-06 13:49:44
Canonical’s New ‘Snappy’ Ubuntu Core Facilitates Fast and Secure App Deployments Web Hosting News 2014-12-15 10:35:25
New Metadata Service Lets DigitalOcean Users Automate ‘Droplet’ Provisioning Web Hosting News 2014-10-15 16:48:51
LeaseWeb Netherlands Chosen to Host 20 Years Worth of Debian Linux Distributions Web Hosting News 2014-10-15 00:22:01
Canonical to Close Cloud Storage Service Ubuntu One Web Hosting News 2014-05-01 08:34:02


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?