1. create a user in ubuntu for dhis2 sudo useradd -d /home/dhis -m dhis -s /bin/bash Here username: dhis 2. give permission the user as root sudo usermod -G sudo dhis 3. set password for user "dhis" sudo passwd dhis password: soft@works 4. stop root remote login for security sudo passwd -l root //(SKIP this command for local practice) 5. create a root config directory for dhis2 sudo mkdir /home/dhis/config 6. set time zone sudo dpkg-reconfigure tzdata 7. set locale sudo locale -a (see locale list - sudo locale -av) sudo locale-gen en_US.UTF-8 8. check postgreSQL (psql) is installed or not sudo which psql ubuntu 14.04 has the version 9.3 ( Try to install default repository postgreSQL in the system otherwise get the followings) install postgreSQL 9.4 sudo apt-get install postgresql-9.4 postgres...
Comments
Post a Comment