Organizr & Dependency Installer
OWI (Organizr Windows Installer)
Requirements
Latest version of PowerShell, if you're on Windows 7/Win Server 2008 download
Windows 10 recommended but it should work on Windows 7 if you have the latest version of PowerShell
The user account running the installer should have admin privileges and a password set.
OWI Tested on the following OS Versions:
Windows 10 Pro (Fall creators update)
Windows Server 2012 R2
What does it do?
Downloads Nginx, PHP, NSSM and Visual C++ Redistributable
Creates services for Nginx and PHP
Downloads Organizr
Configures PHP as per Org requirements
Adds in a working Nginx conf file with PHP block enabled
Steps
Clone\Download the OWI folder from: https://github.com/elmerfdz/OrganizrInstaller
Extract the zip file to your
desktopNavigate to
\OrganizrInstaller\windows\owiRight-click on
owi_installer.batand click onRun as administratorInstaller will ask you for the nginx install location, type in the full path as per the e.g.
c:\nginxThe installer will ask you to provide the password of the current user during installation, the nginx service requires that you run it under a user account instead of the 'Local System' account, if you don't then you won't be able to save and reload your nginx config
OUI (Organizr Ubuntu Installer)
Requirements
Git (
sudo apt-get install git)
Tested on
Ubuntu 16.04
Debian 9.5+
What does it do
Installs Unzip, NGINX, and PHP
Installs the required PHP modules
Adds in a working NGINX conf with PHP block and sample app configs
Installation Steps
Clone/Download the OUI folder from https://github.com/elmerfdz/OrganizrInstaller -
git clone https://github.com/elmerfdz/OrganizrInstaller /opt/OrganizrInstallerNavigate to the OUI folder -
cd /opt/OrganizrInstaller/ubuntu/ouiRun the installer script -
sudo bash ou_installer.sh
Manual Install
Organizr is a php based web front-end to help organize your services. Organizr itself is not a service, so do not think of this as another usenet application. It's a collection of files that live on your webserver to serve up existing content/services in a streamlined, organized way.
This guide makes the following assumptions:
You are installing Organizr on the same host machine as your webserver
You are using a debian or ubuntu based linux distro for an OS, and nginx as a webserver
You are installing as the root user, or a user with `sudo` privelages (use `sudo` where appropriate if you're not root)
If you don't already have nginx installed as a webserver, run apt-get install nginx or consult this guide for detailed setup.
Dependencies
There are a few packages that Organizr depends on to function. Some of them may already be installed with your OS, some may be missing, or some may require an upgraded version. This guide shows you how to use and install php7.1 and its packages, but Organizr also lets you use php7.0 or php7.2, if you prefer.
PHP
apt-get install software-properties-common
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.1-fpmThen, to be sure all of the Organizr's prerequisites are installed, run the following command with your package manager. Some of these may also require other dependencies, so select "Yes" to install those as well.
apt-get install php7.1-mysql php7.1-sqlite3 sqlite3 php7.1-xml php7.1-zip openssl php7.1-curlYou now have the necessary prerequisites to install and use Organizr. Next you need to decide where you're going to install Organizr within your web directory. Most default nginx installations give you a path at /var/www/html to insert your website files. You can install Organizr there, but to keep things organized (in the event that you want more than one website), we recommend /var/www/websites/website_name.com/. You can also install Organizr as a subdirectory, if you do not want Orgniazr being the default root of your domain. In that case, you would install it to /var/www/websites/website_name.com/organizr. For this guide, we'll assume your domain is named roxinsocks.com and that Organizr is running at the root level of the site.
Installing Organizr
Navigate to your website path with
cd /var/www/websites/roxinsocks.comUsing one of these two methods, grab the most recent Organizr build from github:
Using Git
git clone https://github.com/causefx/Organizr /var/www/websites/roxinsocks.com
You may need to install git if you don't have it installed: apt-get install git
Using Zip
wgethttps://github.com/causefx/Organizr/archive/v2-master.zipYou may need to installwgetif you don't have it installed:apt-get install wgetUnzip the file with
unzip v2-master.zip -d /var/www/websites/roxinsocks.com
All your Organizr files are now installed at /var/www/websites/roxinsocks.com/
Permissions & Access
Set the permission to your path, so that Organizr can write to it by running
chown -R www-data:www-data /var/www/websites/roxinsocks.com/For external access and functionality, edit your nginx sites-enabled config file for your domain (
nano /etc/nginx/sites-enabled/roxinsocks.com), and be sure therootis set correctly in the server block. This will tell nginx where to look for organizr, when you navigate to your domain:
server{
root /var/www/websites/roxinsocks.com;
index index.php index.html index.htm index.nginx-debian.html;
server_name roxinsocks.com;
location / { try_files $uri $uri/ =404; }
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7-fpm.sock;
}
location /api/v2 {
try_files $uri /api/v2/index.php$is_args$args;
}
}You may need to change the path to the socket depending on what version of PHP you installed
3. Navigate to that path locally using your web browser and the host's local ip address. http://localhost or http://192.168.1.### You should be able to login and establish your admin account.
Last updated
Was this helpful?