Created
June 1, 2016 14:20
-
-
Save matthewtckr/ce5c3fbde59a61ebd7e8afa5450d208f 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
# Resize Disk 1 | |
vboxmanage clonemedium disk "C:\Users\mtucker\VirtualBox VMs\MapR-Sandbox-For-Hadoop-4.0.2\MapR-Sandbox-For-Hadoop-4.0.2-disk1.vmdk" "C:\Users\mtucker\VirtualBox VMs\MapR-Sandbox-For-Hadoop-4.0.2\MapR-Sandbox-For-Hadoop-4.0.2-disk1.vdi" --format VDI | |
C:\Program Files\Oracle VM VirtualBox>vboxmanage modifymedium "C:\Users\mtucker\VirtualBox VMs\MapR-Sandbox-For-Hadoop-4.0.2\MapR-Sandbox-For-Hadoop-4.0.2-disk1.vdi" --resize 100000 | |
# Change VM Config to point to VDI, instead of VMDK | |
# Boot with GParted Live CD, add new partition | |
# Boot normally, add partition to LVM, extend LVM, and resize mount point | |
# Configure a FQDN hostname | |
sudo yum -y install krb5-libs krb5-server krb5-workstation | |
# Download and modify https://gist.githubusercontent.com/matthewtckr/eaf6180c3edd7d4ce025/raw/config_server.sh | |
vi config_server.sh | |
chmod +x config_server.sh | |
sudo ./config_server.sh | |
sudo kadmin.local | |
addprinc -randkey mapr | |
addprinc -randkey mapr/demo.mapr.com | |
ktadd -k /opt/mapr/conf/mapr.keytab mapr | |
ktadd -k /opt/mapr/conf/mapr.keytab mapr/demo.mapr.com | |
ktadd -k /home/mapr/pentaho.keytab pentaho | |
sudo klist -k /opt/mapr/conf/mapr.keytab | |
sudo useradd pentaho | |
sudo chown mapr:mapr ~/pentaho.keytab | |
chmod 400 ~/pentaho.keytab | |
/opt/mapr/bin/maprcli node services -nfs stop -filter [svc=="nfs"] | |
sudo service mapr-warden stop | |
sudo service mapr-zookeeper stop | |
cd /opt/mapr/server | |
rm -f ../conf/ssl_keystore ../conf/ssl_truststore ../conf/cldb.key ../conf/maprserverticket | |
sudo ./configure.sh -K -P "mapr/[email protected]" -N demo.mapr.com -C maprdemo -secure -genkeys -Z maprdemo | |
kinit -kt pentaho.keytab pentaho | |
maprlogin kerberos | |
hadoop fs -ls / | |
sudo yum install lftp | |
LFTP_PASSWORD="nottherealpassword" | |
lftp -u "ftpgolden:$LFTP_PASSWORD" -e 'get /PentahoGolden/SuiteReleases/5.3.0.0/ee/installers/pdi-5.3.0.0-213-x64.bin;quit' ftpgolden.pentaho.com | |
mkdir ~/5.3.0.1; cd ~/5.3.0.1 | |
lftp -u "ftpgolden:$LFTP_PASSWORD" -e 'get /PentahoGolden/PatchReleases/CustomerReleases/SP201503-5.3.0.1/SP201503-5.3.zip;quit' ftpgolden.pentaho.com | |
lftp -u "ftpgolden:$LFTP_PASSWORD" -e 'get /PentahoGolden/PatchReleases/CustomerReleases/SP201503-5.3.0.1/pentaho-big-data-ee-package-5.3.0.1-230.zip;quit' ftpgolden.pentaho.com | |
lftp -u "ftpgolden:$LFTP_PASSWORD" -e 'get /PentahoGolden/PatchReleases/CustomerReleases/SP201503-5.3.0.1/SP201503-5.3-Readme.txt;quit' ftpgolden.pentaho.com | |
lftp -u "ftpgolden:$LFTP_PASSWORD" -e 'get /PentahoGolden/PatchReleases/CustomerReleases/SP201503-5.3.0.1/updating-big-data-plugin-readme.txt;quit' ftpgolden.pentaho.com | |
mkdir ~/5.3.0.2; cd ~/5.3.0.2 | |
lftp -u "ftpgolden:$LFTP_PASSWORD" -e 'get /PentahoGolden/PatchReleases/CustomerReleases/SP201504-5.3.0.2/SP201504-5.3.zip;quit' ftpgolden.pentaho.com | |
lftp -u "ftpgolden:$LFTP_PASSWORD" -e 'get /PentahoGolden/PatchReleases/CustomerReleases/SP201504-5.3.0.2/SP201504-5.3-Readme.txt;quit' ftpgolden.pentaho.com | |
mkdir ~/5.3.0.3; cd ~/5.3.0.3 | |
lftp -u "ftpgolden:$LFTP_PASSWORD" -e 'get /PentahoGolden/PatchReleases/CustomerReleases/SP201505-5.3.0.3/SP201505-5.3.zip;quit' ftpgolden.pentaho.com | |
lftp -u "ftpgolden:$LFTP_PASSWORD" -e 'get /PentahoGolden/PatchReleases/CustomerReleases/SP201505-5.3.0.3/SP201505-5.3-Readme.txt' ftpgolden.pentaho.com | |
lftp -u "ftpgolden:$LFTP_PASSWORD" -e 'get /PentahoGolden/PatchReleases/CustomerReleases/SP201505-5.3.0.3/updating-big-data-plugin-readme.txt' ftpgolden.pentaho.com | |
lftp -u "ftpgolden:$LFTP_PASSWORD" -e 'get /PentahoGolden/PatchReleases/CustomerReleases/SP201505-5.3.0.3/pentaho-big-data-ee-package-5.3.0.3-320.zip' ftpgolden.pentaho.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment