Setup script for ubuntu.
oh-my-zsh.shis to download oh-my-zshaptinstall.shis for Ubuntu repository installssnapinstall.shis for snap repository installsprograms.shis for other softwarepip3install.shisfor pip packagessymlink.shsets up symlinks in$HOMEadditional-os-settings.shis for some desktop settingssetup.shruns all the scripts andapt upgrade
find scripts/ -type f -iname "*.sh" -exec chmod +x {} \;./scripts/setup.shzsh
source ~/.zshrcAll following post-installations steps are optional
Set username and email address
cat <<EOF > ~/.gitconfig.local
[user]
name = your name
email = [email protected]
EOFssh-keygen -t rsa -b 4096sudo usermod -aG docker $(echo $USER)Note that default kubeconfig path is ~/.kube/config, while IBM cloud uses different path.
The IBM kluster config can be added to the KUBECONFIG using export or creating a ~/.kubeconfig.local file.
The .zshrc will look for ~/.kubeconfig.local file.
To automatically overwrite/create ~/.kubeconfig.local file, run the following script followed by the cluster name: scripts/ibm-cloud/ibm-connect.sh CLUSTER_NAME:
./scripts/ibm-cloud/ibm-connect.sh devThe ~/.kubeconfig.local file will now contain the path of both ~/.kube/config and ~/.bluemix/plugins/container-service/clusters.
Follow instructions here