Last active
December 21, 2015 07:49
-
-
Save manchicken/6274281 to your computer and use it in GitHub Desktop.
PLEASE NOTE: koding.com VMs are now able to install more sane environments. This is just a way of demonstrating now I used to do it way back upon launch. http://goo.gl/Ox6KXw
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
#!env sh | |
# Make the local folder | |
mkdir $HOME/local | |
# Set up your PERL5LIB | |
echo 'export PERL5LIB="$HOME/local/lib64/perl5:$HOME/local/share/perl5"' >> $HOME/.bash_profile | |
echo -e "o conf makepl_arg PREFIX=$HOME/local\no conf make_install_arg PREFIX=$HOME/local\no conf commit\nexit\n" | | |
cpan | |
# Add the PERL5LIB to your .htaccess | |
echo "SetEnv PERL5LIB \"$HOME/local/lib64/perl5:$HOME/local/share/perl5\"" >> $HOME/Sites/${USER}.koding.com/website/.htaccess | |
# Install some base modules! | |
echo -e "y\n" | cpan YAML Readonly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment