This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem Use the username and password of the administrator account on the remote machines. | |
set username = admin | |
set password = pass | |
rem Set the IP addresses and names of the remote machines. | |
set desk1name_ip = 192.168.1.200 | |
set desk2name_ip = 192.168.1.201 | |
rem repeat the above for all machines |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Shell script to install apache/mysql/php/wordpress into an EC2 instance of Amazon AMI Linux. | |
# Step 1: Create an AWS EC2 instance | |
# Step 2: ssh in like: ssh -v -i wordpress.pem [email protected] | |
# Step 3: Run this as root/superuser, do sudo su | |
echo "Shell script to install apache/mysql/php/wordpress into an EC2 instance of Amazon AMI Linux." | |
echo "Please run as root, if you're not, choose N now and enter 'sudo su' before running the script." | |
echo "Run script? (y/n)" |