just installed - getting all text with hyperlinks

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
nottoobad
Posts: 2
Joined: Sat Feb 17, 2024 6:09 pm

just installed - getting all text with hyperlinks

Post by nottoobad »

Hi,
I'm totally new to ZM - I wanted to try it out so I followed the installation instructions https://zoneminder.readthedocs.io/en/la ... 2-04-jammy
it seems ok but I'm not getting a properly rendered webpage at http://localhost/zm/?view=console
this is supposed to be my zm webpage image:
Image

I'll try a link to the file in google drive:
https://drive.google.com/file/d/1R_DIo8 ... drive_link
dougmccrary
Posts: 1210
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: just installed - getting all text with hyperlinks

Post by dougmccrary »

You're missing the font file, I think.
Did you start with sudo su ? I'm guessing not.

$ sudo su
# apt install zoneminder -y
# a2enconf zoneminder
# service apache2 reload

Then I'm pretty sure it'll work OK. If not, you may have to start over.
nottoobad
Posts: 2
Joined: Sat Feb 17, 2024 6:09 pm

Re: just installed - getting all text with hyperlinks

Post by nottoobad »

thank you very much @dougmccrary, unfortunately that didn't work.
I did run the install commands with sudo, got into a bit of a pickle and tried some other stuff, the full blow by blow is below. I did google some fault-finding but it didn't work.

How do I start over and am I using the correct installation instructions?
It's bedtime in the UK, so I'll see your reply (if you're kind enough) tomorrow, thank you very much.

Code: Select all

sudo apt autorepair
sudo chmod 666 zm.conf
which tasksel
which lamp-server
sudo apt install tasksel
sudo tasksel install lamp-server
sudo apt-get update && sudo apt upgrade -y
sudo apt install -y software-properties-common
sudo apt install -y zoneminder
sudo a2enconf zoneminder
systemctl reload apache2
sudo a2enconf zoneminder
sudo systemctl restart apache2
sudo systemctl enable zoneminder
sudo systemctl start zoneminder
history |grep properties
history |grep ppa
sudo add-apt-repository ppa:iconnor/zoneminder-1.36
sudo apt update
sudo apt list --upgradable
sudo apt update
sudo apt update jammy
sudo apt install -y zoneminder
systemctl daemon-reload
sudo a2enmod rewrite
sudo systemctl restart apache2
sudo a2enmod rewrite
sudo a2enconf zoneminder
sudo systemctl restart apache2
sudo systemctl enable zoneminder
sudo systemctl start zoneminder
kate /etc/apache2/conf-available/zoneminder.conf
sudo service apache2 reload
sudo service apache2 restart
sudo systemctl start zoneminder
systemctl status zoneminder.service
journalctl -xeu zoneminder.service
sudo -u www-data /usr/bin/zmdc.pl check
journalctl -xeu zoneminder.service
sudo systemctl start zoneminder
ifconfig
sudo apt-get update && sudo apt upgrade -y
ls /etc/apt/sources.list.d/
sudo add-apt-repository ppa:iconnor/zoneminder-1.36
sudo apt update
ps -a
ps -A
ps -A|grep z
which mysql-server
history |grep sql
history
ps ax | grep zm
ps ax | grep sql
systemctl start zoneminder
ps ax | grep zm
a2enconf zoneminder
ls -l /etc/apache2/conf-enabled/
ls -l /etc/apache2/mods-enabled/
systemctl reload apache2
which php
php -v
apt-get install python-software-properties
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php
apt-get install python-software-properties
sudo apt-get install python-software-properties
sudo apt-get install software-properties-common
sudo apt autoremove
sudo reboot now
php -v
sudo apt-get update
ls -lah
pwd
docker
docker run -d -t -p 1080:80     -e TZ='Europe/London'     -v ~/zoneminder/events:/var/cache/zoneminder/events     -v ~/zoneminder/images:/var/cache/zoneminder/images     -v ~/zoneminder/mysql:/var/lib/mysql     -v ~/zoneminder/logs:/var/log/zm     --shm-size="512m"     --name zoneminder     zoneminderhq/zoneminder:latest-ubuntu20.04
sudo docker run -d -t -p 1080:80     -e TZ='Europe/London'     -v ~/zoneminder/events:/var/cache/zoneminder/events     -v ~/zoneminder/images:/var/cache/zoneminder/images     -v ~/zoneminder/mysql:/var/lib/mysql     -v ~/zoneminder/logs:/var/log/zm     --shm-size="512m"     --name zoneminder     zoneminderhq/zoneminder:latest-ubuntu20.04
docker run --help
tail /var/log/syslog
php --version
ps ax | grep sql
mysqladmin
sudo  apt install zoneminder -y
sudo su
# apt install zoneminder -y
# a2enconf zoneminder
# service apache2 reload
dougmccrary
Posts: 1210
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: just installed - getting all text with hyperlinks

Post by dougmccrary »

You need to run the zoneminder ~package~ as root - su. It needs to be root for some of what it does.
so -

sudo su

apt install zoneminder
Post Reply