Created
January 7, 2013 09:56
-
-
Save trentster/4473783 to your computer and use it in GitHub Desktop.
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
____ _ ___ ___ | |
/ ___| | ___ _ _ __| \ \ / (_)____ | |
| | | |/ _ \| | | |/ _` |\ \ /\ / /| |_ / | |
| |___| | (_) | |_| | (_| | \ V V / | |/ / | |
\____|_|\___/ \__,_|\__,_| \_/\_/ |_/___| | |
SmartMachine (base64 1.8.4) | |
# SmartMachine (base64 1.8.4) # | |
vi /etc/motd # add above logo | |
vi /etc/default/init # set time zone | |
ssh-keygen -t rsa | |
#add in keys into /root/.ssh/authorized_keys if applicable# | |
# for PostgreSQL >Recommended< The default password for the master 'postgres' user is: postgres # | |
pkgin up | |
pkgin -y in postgresql91-client postgresql91-server gcc47 gcc47-runtime gmake header-math gd gnupg graphviz p5-GD apache-2.2 ap22-perl-2.0 p5-Parse-CPAN-Meta p5-CPAN-Meta-YAML p5-GD-2 p5-FCGI fcgi fcgiwrap | |
svcadm enable postgresql:default | |
psql -U postgres | |
alter user postgres with password 'W0nderWizard888'; | |
CREATE USER confdba WITH PASSWORD 'myconfpass'; | |
CREATE DATABASE confdb; | |
GRANT ALL PRIVILEGES ON DATABASE confdb to confdba; | |
/opt/local/bin/perl -MCPAN -e shell | |
cd /root | |
wget http://download.bestpractical.com/pub/rt/release/rt-4.0.8.tar.gz | |
tar -xvzf rt-4.0.8.tar.gz | |
cd rt-4.0.8 | |
./configure --with-db-type=Pg --with-db-database=rtdb --enable-gpg --enable-gd --enable-graphviz | |
make testdeps | |
make fixdeps | |
make install | |
vi /opt/rt4/etc/RT_SiteConfig.pm | |
vi /opt/rt4/etc/RT_Config.pm | |
make initialize-database | |
vi /opt/local/etc/httpd/httpd.conf | |
LoadModule perl_module lib/httpd/mod_perl.so | |
vi /etc/hosts | |
svcadm enable apache:default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment