Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:install:tree_structure [2013/06/27 08:54] – [Base Installation] foisys | en:install:tree_structure [2021/05/29 15:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Impilo specific modifications to the base system ====== | ||
+ | ===== Base Installation ===== | ||
+ | |||
+ | * As starting point, I use a CD-ROM image of [[https:// | ||
+ | * Use the latest LTS version (as of 06/2-13, it is Ubuntu 12.04). | ||
+ | * As a first username/ | ||
+ | |||
+ | * After the VM has booted from the image and the installation process has completed, I choose the following options for a minimal Impilo installation: | ||
+ | * For more functionality, | ||
+ | * **Of course, you need to change this ASAP if you are planning to build a production system from the basic Impilo VM.** You have been warned!! | ||
+ | |||
+ | * Once the virtual machine has restarted, you need to install some extra packages so that the local documentation wiki as well as some remote access tools can work: | ||
+ | |||
+ | <code bash> | ||
+ | // If you have not install the LAMP Server meta-package | ||
+ | % sudo apt-get -y --no-install-recommends install apache2 php5 mysql-client | ||
+ | |||
+ | // If you have install the LAMP Server package, only PHP is necessary. | ||
+ | % sudo apt-get -y --no-install-recommends install php5 | ||
+ | </ | ||
+ | |||
+ | |||
+ | * Using the minimal installer insures that you have the latest version of everything :-) | ||
+ | |||
+ | ===== File system tree structure used by Impilo ===== | ||
+ | |||
+ | Because I wanted not to be too " | ||
+ | |||
+ | * '' | ||
+ | |||
+ | * '' | ||
+ | |||
+ | * '' | ||
+ | |||
+ | * '' | ||
+ | |||
+ | |||
+ | ===== Modifications of specific files of the base system ===== | ||
+ | |||
+ | ==== Modification to / | ||
+ | |||
+ | * Remove the comment from this line to allow colors in the console: | ||
+ | <code bash> | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | becomes | ||
+ | |||
+ | <code bash> | ||
+ | force_color_prompt=yes | ||
+ | </ | ||
+ | |||
+ | * Modify the following block to shorten filesystem navigation display and remove the default green color as default for the user prompt: | ||
+ | <code bash> | ||
+ | if [ " | ||
+ | PS1=' | ||
+ | else | ||
+ | PS1=' | ||
+ | fi | ||
+ | </ | ||
+ | |||
+ | becomes | ||
+ | |||
+ | <code bash> | ||
+ | if [ " | ||
+ | PS1=' | ||
+ | else | ||
+ | PS1=' | ||
+ | fi | ||
+ | </ | ||
+ | |||
+ | * Finally, remove the comment for this line to highlight '' | ||
+ | |||
+ | <code bash> | ||
+ | #alias grep=' | ||
+ | </ | ||
+ | |||
+ | becomes | ||
+ | |||
+ | <code bash> | ||
+ | alias grep=' | ||
+ | </ | ||
+ | |||
+ | * After this, copy this file over the ''/ | ||
+ | |||
+ | ==== Creating the / | ||
+ | |||
+ | As a user logs onti an Ubuntu server, the script that creates the session for this user reads the files located under ''/ | ||
+ | |||
+ | < | ||
+ | % sudo touch / | ||
+ | </ |