PHP AWS Ubuntu Install Script in Shell

#!/bin/bash # Set up our command aliases . /home/ubuntu/_install/sh/_alias.sh _install python-software-properties _add-repo ppa:ondrej/php5 -y _update #_upgrade #_dist-up _install php-pear php5-curl php5-fpm php5-intl php5-cli php5-common php5-json php5-interbase php5-imap php5-geoip php5-gd php5-xsl php5-mcrypt php5-svn php5-xml* php-xml* php5-oauth php5-cgi libxmlsec1-openssl openssl php-net-ipv4 nodejs npm ## # Bounce apache only if it's running ## SERVICE='apache' if ps ax | grep -v grep | grep $SERVICE > /dev/null then _bounce_web fi

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.