Installation
NOSH is best installed on a Linux system, for security, speed, cost, and reliability. You can attempt to install NOSH on a Mac or Windows system, but the following instructions are based on a Linux system. For novice users, it is recommended that you install the Ubuntu Desktop operating system for ease of installation and use. Furthermore, with Ubuntu, you get to install NOSH the easy way without worrying what other packages and applications you need to have before NOSH can be installed.
There are 2 ways you can install NOSH ChartingSystem.
Ubuntu PPA Method
Manual Method
If you have Ubuntu installed (Ubuntu Desktop, not Ubuntu Server, is recommended for novice users), add this PPA to your repository in the following manner. If you’re using the most recent version of Ubuntu (or any version from Ubuntu 9.10 onwards), you can add a PPA to your system with a single line in your terminal.
Step 1: Open a terminal and enter:
sudo add-apt-repository ppa:shihjay2/nosh-chartingsystem
Your system will now fetch the PPA’s key. This enables your Ubuntu system to verify that the packages in the PPA have not been interfered with since they were built.
Step 2: Make sure you have Main, Universe, Restricted, and Multiverse repositories enabled under Software & Updates when you click on the Ubuntu logo (upper left hand corner).
Step 3: Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added:
sudo apt-get update
Step 4: Now you’re ready to start installing software from the PPA!
sudo apt-get install nosh-cs
Learn more about Personal Package Archives here.
Now, go to post-installation procedures.
Step 1: Make sure you have all the prequisites installed and running on your system.
Step 2: Download the latest file from GitHub.
Step 3: Unzip the file to a directory of your choice.
Step 4: Go to the “nosh-cs” directory that was just created and type,
sh install.sh
Now, go to post-installation procedures.
What happens if the installation process gets messed up and I can't get into https://localhost/nosh?
Caution: This is only for the situation where you are installing NOSH for the first time and you have not entered any patient data yet. Doing these following commands will permanently erase all of your database and patient files!!!
Preparation step for Ubuntu users: If you are installing from the Ubuntu PPA Method, type:
sudo apt-get remove nosh-cs
Step 1: For both installation methods, going forward, type the following commands to delete the documents directory and it's subdirectories: If your documents directory that you entered is different than /noshdocuments
, then enter the appropriate directory name.
sudo rm -rf /noshdocuments
Step 2: Then delete the NOSH database (MYSQLROOTUSER is typcally root
; make sure there is not space between -p
and the MYSQLPASSWORD.
mysql -u MYSQLROOTUSER -pMYSQLPASSWORD
Step 3: In the mysql prompt, type:
DROP DATABASE nosh;
exit
Step 5: Install NOSH again with one of the above methods.