- Clean "CentOS MinimalCD 6.5" Installed
- "Domain Name"
- "DNS"
- "Zones"
- "Wildcard Certificate"
- "Root" Access
- *** NOTE: Double Check Syntax If you Copy and Paste from Guide.
Prerequisites
What you'll need first is to install Openssl on your server, this is a common package and will be available on all of the major distros through their package installer. Here is how you check to see if it is installed in a "Yum" style system:
# rpm -qa | grep -i openssl
If it didn't you'll want to run the following:
# yum install openssl openssl-devel
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
[ -f /etc/bash_completion ] && source /etc/bash_completion | |
alias rm='rm -i' | |
alias cp='cp -i' | |
alias mv='mv -i' | |
# Source global definitions |
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
# ~/.profile: executed by Bourne-compatible login shells. | |
[ -f /etc/bash_completion ] && source /etc/bash_completion | |
if [ -f ~/.bashrc ]; then | |
. ~/.bashrc | |
fi | |
# User specific environment and startup programs | |
PATH=$PATH:$HOME/bin |
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
require boxen::environment | |
require homebrew | |
package {'git': | |
install_options => ['--build-from-source'], | |
} | |
Exec { | |
group => 'staff', | |
logoutput => on_failure, |
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
# This file manages Puppet module dependencies. | |
# | |
# It works a lot like Bundler. We provide some core modules by | |
# default. This ensures at least the ability to construct a basic | |
# environment. | |
# Shortcut for a module from GitHub's boxen organization | |
def github(name, *args) | |
options ||= if args.last.is_a? Hash | |
args.last |
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
# Load ~/.bash_prompt, ~/.exports, ~/.aliases, ~/.functions and ~/.extra | |
# ~/.extra can be used for settings you don’t want to commit | |
# Add `~/bin` to the `$PATH` | |
export PATH="$HOME/bin:$PATH" | |
for file in ~/.{path,bash_prompt,exports,aliases,functions,extra}; do | |
[ -r "$file" ] && source "$file" | |
done | |
if [ -f /opt/boxen/homebrew/etc/bash_completion ]; then |
pwd Shows the full path of the current directory
ls Lists all the files in the current directory
ls -al Lists all files and information
ls –alR Lists all files and information in all subdirectories
ls -alR | more Same as ls –alR, pausing when screen becomes full
ls -alR > filename.txt Same as ls –alR, outputs the results to a file
ls *.html Lists all files ending with .html
cd [directory name] Changes to a new directory
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
$ cd /etc/apache2/users | |
$ sudo nano username.conf | |
<Directory "/Users/username/Sites/"> | |
Options Indexes MultiViews | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> |
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
USE_PKGBUILD=1 | |
include /usr/local/share/luggage/luggage.make | |
TITLE=Foo | |
REVERSE_DOMAIN=com.foo | |
PACKAGE_VERSION=#.# | |
PAYLOAD=\ | |
pack-foo \ | |
FooURL="http://foo.server.com/foo-${PACKAGE_VERSION}.dmg" |
NewerOlder