Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

[ Howto ] setup your first web server for various services

natestammnatestamm Member
edited May 2013 in Tutorials

Thought I would post some old shell scripts I used to use for setting up my own and client machines. I have somewhat graduated from these as they are a bit bloated.


For this you will need to put the following commands in files relation, internet, and apacheen from your Shemoves line to the exit and run preferably after the following..



apt-get update

apt-get upgrade

apt-get install aptitude

aptitude update

aptitude safe-upgrade

reboot

aptitude install ntp ntpdate





I welcome any responses-Hope this helps someone.



./relation

#!/bin/sh -e

aptitude install \
 mysql-client \
 mysql-server \
 libsasl2-2 \
 libsasl2-modules \
 libsasl2-modules-sql \
 sasl2-bin \
 libpam-mysql \
 openssl \
 rkhunter \
 binutils \
 maildrop

exit 0


./internet

#!/bin/sh -e

aptitude install \
 apache2 \
 apache2.2-common \
 apache2-doc \
 apache2-mpm-prefork \
 apache2-utils \
 libexpat1 \
 ssl-cert \
 libapache2-mod-php5 \
 php5 \
 php5-common \
 php5-gd \
 php5-mysql \
 php5-imap \
 php5-cli \
 php5-cgi \
 libapache2-mod-fcgid \
 apache2-suexec \
 php-pear \
 php-auth \
 php5-mcrypt \
 mcrypt \
 php5-imagick \
 imagemagick \
 libapache2-mod-suphp \
 libopenssl-ruby \
 libapache2-mod-ruby

exit 0

./apacheen

#!/bin/sh -e

 a2enmod \
 suexec \
 rewrite \
 ssl \
 actions \
 include

exit 0

Sign In or Register to comment.