I've been trying to understand how to setup systems from
the ground up on Ubuntu. I just installed redis
onto
the box and here's how I did it and some things to look
out for.
To install:
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: nginx-conf | |
data: | |
nginx.conf: | | |
user nginx; | |
worker_processes 3; | |
error_log /var/log/nginx/error.log; | |
events { |
/*Programmer: Austin Applegate | |
Date modified: 1/28/13 Description: read a file and take the contents of it and clean it up and fix the error's and then write it to a new file. | |
Lab Number: 1 | |
Date Due: 2/6/13 | |
*/ | |
#include <iostream> | |
#include <fstream> | |
#include <string> | |
#include <vector> |
# Notes: | |
# Make sure and install ubuntu 12.04 instance instead of default amazon one. | |
# Root not enabled by default for ubuntu instance. | |
# Run sudo -i when you log in for persistent root. | |
# Update | |
sudo apt-get update | |
# install git | |
sudo apt-get install g++ curl libssl-dev apache2-utils make |
import java.util.Scanner; | |
public class Convert | |
{ | |
public static void main(String[] args) | |
{ | |
//allowing us to take input from the keyboard | |
Scanner keyboard = new Scanner(System.in); | |
//delcaring variables |