Newbee here....install on server questions.
Newbee here....install on server questions.
Ok, I have a Linode VPS server I use for learning/testing, etc. It is running Ubuntu 22.04.1 server.
I would like to know the following. Can I install and use Zonemaster on it?
Can I use Zonemaster to monitor my security cameras from the internet and not just my intranet?
Can I use WiFi camera's or would they have to be IP camera's?
I am experienced in installing and updating Ubuntu.
Thanks for your response. I'm sure I'll have more questions as I go. If I can go.
Ray
I would like to know the following. Can I install and use Zonemaster on it?
Can I use Zonemaster to monitor my security cameras from the internet and not just my intranet?
Can I use WiFi camera's or would they have to be IP camera's?
I am experienced in installing and updating Ubuntu.
Thanks for your response. I'm sure I'll have more questions as I go. If I can go.
Ray
Re: Newbee here....install on server questions.
Yes you install zoneminder on it.
You will have to create a vpn between it and the network that the cameras are on.
You can use wifi cameras but they tend to be less reliable
You will have to create a vpn between it and the network that the cameras are on.
You can use wifi cameras but they tend to be less reliable
Re: Newbee here....install on server questions.
Any idea how much disk space is required? I am getting :
dpkg: error processing archive /tmp/apt-dpkg-install-6Odc0m/309-mesa-vulkan-drivers_22.0.5-0ubuntu0.1_amd64.deb (--unpack):
cannot copy extracted data for './usr/lib/x86_64-linux-gnu/libvulkan_radeon.so' to '/usr/lib/x86_64-linux-gnu/libvulkan_radeon.s o.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
dpkg-deb: error: paste subprocess was killed by sig
dpkg: error processing archive /tmp/apt-dpkg-install-6Odc0m/309-mesa-vulkan-drivers_22.0.5-0ubuntu0.1_amd64.deb (--unpack):
cannot copy extracted data for './usr/lib/x86_64-linux-gnu/libvulkan_radeon.so' to '/usr/lib/x86_64-linux-gnu/libvulkan_radeon.s o.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
dpkg-deb: error: paste subprocess was killed by sig
-
- Posts: 1327
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Newbee here....install on server questions.
ZoneMinder - less than 120GB - I run on 120-GB ssd, which has 76GB free at the moment.
That's exclusive of storage disks/space.
That's exclusive of storage disks/space.
Re: Newbee here....install on server questions.
So I installed ZM on an LXD container. I have an haproxy server in front of the containers that uses sub-domains to route to the proper container.
However this does not work for ZM. There is nothing in the /var/www/html folder for Apache2 to use? I'm confused on how the browser gets to the control page?
However this does not work for ZM. There is nothing in the /var/www/html folder for Apache2 to use? I'm confused on how the browser gets to the control page?
-
- Posts: 1327
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Newbee here....install on server questions.
I think you want to look at /etc/apache2/apache2.config
Re: Newbee here....install on server questions.
Yea, been playing around with it. But I keep getting this error:dougmccrary wrote: ↑Wed Jan 11, 2023 9:16 pm I think you want to look at /etc/apache2/apache2.config
503 Service Unavailable
No server is available to handle this request.
Re: Newbee here....install on server questions.
No log file entries for this error?
-
- Posts: 1327
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Newbee here....install on server questions.
did you get this done?
/var/log/apache2 should have access.log error.log other_vhosts_access.logsystemctl 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
Re: Newbee here....install on server questions.
root@mycamera:~# systemctl enable zoneminderdougmccrary wrote: ↑Fri Jan 13, 2023 10:15 pm did you get this done?/var/log/apache2 should have access.log error.log other_vhosts_access.logsystemctl 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
root@mycamera:~# service zoneminder start
root@mycamera:~# adduser www-data video
Adding user `www-data' to group `video' ...
Adding user www-data to group video
Done.
root@mycamera:~# a2enconf zoneminder
Conf zoneminder already enabled
root@mycamera:~# a2enmod rewrite
Module rewrite already enabled
root@mycamera:~# chown -R www-data:www-data /usr/share/zoneminder/
root@mycamera:~# service apache2 reload
root@mycamera:~# cd /var/log
root@mycamera:/var/log# cd apache2
root@mycamera:/var/log/apache2# ls -l
total 20
-rw-r----- 1 root adm 0 Jan 12 06:25 access.log
-rw-r----- 1 root adm 89 Jan 11 15:47 access.log.1
-rw-r----- 1 root adm 604 Jan 14 13:00 error.log
-rw-r----- 1 root adm 361 Jan 14 06:25 error.log.1
-rw-r----- 1 root adm 307 Jan 13 06:25 error.log.2.gz
-rw-r----- 1 root adm 793 Jan 12 06:25 error.log.3.gz
-rw-r----- 1 root adm 0 Jan 10 13:27 other_vhosts_access.log
root@mycamera:/var/log/apache2# vi error.log
[Sat Jan 14 06:25:06.002137 2023] [mpm_prefork:notice] [pid 11249] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sat Jan 14 06:25:06.002539 2023] [core:notice] [pid 11249] AH00094: Command line: '/usr/sbin/apache2'
[Sat Jan 14 13:00:27.539404 2023] [mpm_prefork:notice] [pid 11249] AH00171: Graceful restart requested, doing restart
[Sat Jan 14 13:00:27.839548 2023] [mpm_prefork:notice] [pid 11249] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sat Jan 14 13:00:27.839763 2023] [core:notice] [pid 11249] AH00094: Command line: '/usr/sbin/apache2'
vi other_vhosts_access.log is empty!
-
- Posts: 1327
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Newbee here....install on server questions.
Normally, with someip/zm you'd get the console - or the welcome first use page.
Also normally, if you just go someip you'd get the default apache "It works!" page.
If that's not happening then the problem would be haproxy, about which I know nothing, but would explain the absence of apache log entries.
Also normally, if you just go someip you'd get the default apache "It works!" page.
If that's not happening then the problem would be haproxy, about which I know nothing, but would explain the absence of apache log entries.
Re: Newbee here....install on server questions.
The 503 is a standard error when the reverse proxy can’t get to the resource it is configured to hit.
-
Re: Newbee here....install on server questions.
I'm getting an error while trying to install mysql-server-5.7
------------------------------------------------------------------------
mysql_upgrade: Got error: 1524: Plugin 'unix_socket' is not loaded while connecting to the MySQL server
Upgrade process encountered error and will not continue.
mysql_upgrade failed with exit status 11
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
mysql-server-5.7
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
----------------------------------------------------------------------
is there a possibility of it's fresh install?
------------------------------------------------------------------------
mysql_upgrade: Got error: 1524: Plugin 'unix_socket' is not loaded while connecting to the MySQL server
Upgrade process encountered error and will not continue.
mysql_upgrade failed with exit status 11
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
mysql-server-5.7
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
----------------------------------------------------------------------
is there a possibility of it's fresh install?