Difference between revisions of "Ubuntu Server 18.04 64-bit with Zoneminder 1.32.x the easy way"
m (Bbunge moved page Ubuntu Server 18.04 64-bit with Zoneminder 1.32.0 the easy way to Ubuntu Server 18.04 64-bit with Zoneminder 1.32.x the easy way: update) |
|||
Line 1: | Line 1: | ||
===02OCT18 | ===02OCT18 A new version, 1.32.1 is released.=== | ||
'''We recommend you read the release notes to see what has changed in this version. The release notes can be found here: https://github.com/ZoneMinder/zoneminder/releases''' | '''We recommend you read the release notes to see what has changed in this version. The release notes can be found here: https://github.com/ZoneMinder/zoneminder/releases''' | ||
Line 13: | Line 13: | ||
#!/bin/sh | #!/bin/sh | ||
clear | clear | ||
read -p "This script installs Zoneminder 1.32. | read -p "This script installs Zoneminder 1.32.x on Ubuntu 18.04 AMD64 with LAMP (MySQL) installed... | ||
Press Enter to continue or Ctrl + c to quit" nothing | Press Enter to continue or Ctrl + c to quit" nothing | ||
clear | clear |
Revision as of 19:07, 2 October 2018
02OCT18 A new version, 1.32.1 is released.
We recommend you read the release notes to see what has changed in this version. The release notes can be found here: https://github.com/ZoneMinder/zoneminder/releases
Install Zoneminder on Ubuntu 18.04 with shell script
This will install Zoneminder by using a shell script with one basic command (how easy is that!).
You will need a Ubuntu 18.04 install with LAMP (Apache, MySQL and PHP) installed desktop or server. As an alternate you may use Mariadb in lieu of MySQL
Shell script file contents:
#!/bin/sh clear read -p "This script installs Zoneminder 1.32.x on Ubuntu 18.04 AMD64 with LAMP (MySQL) installed... Press Enter to continue or Ctrl + c to quit" nothing clear read -p "You must be logged in as root using sudo su ... Press Enter to continue or Ctrl + c to quit" nothing clear read -p "Next we will add the PPA repository, install and configure the system to run Zoneminder. Press enter to continue" nothing apt install -y software-properties-common clear add-apt-repository ppa:iconnor/zoneminder-master apt update clear awk '$0="date.timezone = "$0' /etc/timezone >> /etc/php/7.2/apache2/php.ini clear apt install -y zoneminder systemctl enable zoneminder service zoneminder start adduser www-data video a2enconf zoneminder a2enmod rewrite chown -R www-data:www-data /usr/share/zoneminder/ service apache2 reload clear read -p "Install complete.Press enter to continue" nothing clear
Copy the contents of the script, open a terminal and run:
nano zm-install
Paste the contents of the script into Nano
Then:
Ctrl + o Ctrl + x
Next run:
chmod 755 zm-install
Start the script by entering:
./zm-install
Follow the prompts. Things are pretty simple. The timezone will be detected from the OS and added to the php.ini.
Good Luck!
While this script worked for me I can't be responsible if you loose data when you run this. It is intended for a new install not an upgrade.