bioubuntu
and bioubuntu
.Ubuntu Basic Server
,OpenSSH Server
.LAMP Server
meta-package. As password for the MySQL root user, I use bioubuntu
/bioubuntu
. // 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
Because I wanted not to be too “unique”, I decided to put all the Impilo-specific content under /opt/bio
. Inside this folder, you will find:
/opt/bio/data
/opt/bio/docs
/opt/bio/scripts
/opt/bio/sources
#force_color_prompt=yes
becomes
force_color_prompt=yes
if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' else PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' fi
becomes
if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\u@\h:\[\033[01;34m\]\W\[\033[00m\]\$' else PS1='${debian_chroot:+($debian_chroot)}\u@\h:\W\$ ' fi
grep
-filtered content:#alias grep='grep --color=auto'
becomes
alias grep='grep --color=auto'
/home/bioubuntu
to give these abilities to the bioubuntu
user. All new users will have it by default.
As a user logs onti an Ubuntu server, the script that creates the session for this user reads the files located under /etc/profile.d
to set various parameters for the sessions. This is where wu will put a file specific to Impilo, /etc/profile.d/impilo.sh
, which will specify the environment variables specific to Impilo:
% sudo touch /etc/profile.d/impilo.sh