##### Tocco ##### This document describes how to set up an `AppVM`_ based on a `Debian`_ `TemplateVM`_ running on `Qubes OS`_ that contains all the tools necessary for developers and DevOps at `Tocco`_. **************************** Step 1: Get and Extract IDEA **************************** Download the `latest version `__ and extract it: .. code-block:: bash cd ~/Download wget https://download-cf.jetbrains.com/idea/ideaIC-XXXX.X.X.tar.gz tar xf ideaIC-XXXX.X.X.tar.gz ln -s ideaIC-XXXX.X.X idea mkdir -p ~/bin ln -s ../install/idea/bin/idea.sh ~/bin/idea If an update is released that forces you to download a new \*.tar.gz file, extract it and replace the link with ``ln -sfn ideaIC-XXXX.X.X idea``. ******************** Step 2: Install Java ******************** Install default JDK: .. code-block:: bash apt install default-jdk … or install a particular version: .. code-block:: bash # install Java 8 apt install openjdk-8-jdk … or, if you need a newer version, get it from the backports repository: .. code-block:: bash cat >>/etc/apt/source.list.d/backports >~/.profile .. important:: Close and reopen your terminal for the changes to take effect. *********************** Step 4: Configure Maven *********************** .. code-block:: bash mkdir -p ~/.m2 cat >~/.m2/settings.xml <>~/.ssh/config <>~/.config/git/ignore <>/rw/config/rc.local <`__, extract it and move the ``oc`` binary into ``$PATH``: .. code-block:: bash cd ~/Download wget https://github.com/openshift/origin/releases/download/vX.X.X/openshift-origin-client-tools-vX.X.X-XXXXXXX-linux-64bit.tar.gz tar xf https://github.com/openshift/origin/releases/download/vX.X.X/openshift-origin-client-tools-vX.X.X-XXXXXXX-linux-64bit.tar.gz mkdir -p ~/bin cp openshift-origin-client-tools-vX.X.X-XXXXXXX-linux-64bit/oc ~/bin/oc Enable Autocompletion ===================== .. code-block:: bash cat >>~/.bashrc <