Connect to console
Connect to console
Hi, i would appreciate any help. I am new to Linux and i am unsure where i am going wrong. I think i have completed the install and without any errors using - ZoneMinder FC3 Distro v1.21.3. I have also ran the following lines as suggested:
chkconfig --levels 345 httpd on
chkconfig --levels 345 mysqld on
service mysqld start
service httpd start
vi /etc/zm.conf (So you can add the username and password you want for the database)
/usr/lib/zm/bin/zminit (To create and populate the database, default user->root and leave the password blank)
service zm start
yet i am unable to connect to the console even though i have port 80 open. i am trying to connect using the following http://192.168.*.*/zm
chkconfig --levels 345 httpd on
chkconfig --levels 345 mysqld on
service mysqld start
service httpd start
vi /etc/zm.conf (So you can add the username and password you want for the database)
/usr/lib/zm/bin/zminit (To create and populate the database, default user->root and leave the password blank)
service zm start
yet i am unable to connect to the console even though i have port 80 open. i am trying to connect using the following http://192.168.*.*/zm
Thank you for your speedy response. on the initial screen of install i just pressed enter for the graphic option with firewall and this did not work. the next time i rebuilt it i chose the text option by typing -linux text. this then assumed a headless install, i chose no firewall and hooray it worked great. Not sure what you meant by the option for desktop i didnt see one of those.
I would like the box to be firewalled if possible so i have built again with the text option (which i assume is the headless install) and chosen the firewall option, sadly i am now unable to connect.
Is it possible to have the firewall on and connect to console?
Also can you recomend any hardware (cheap controller card or cameras) 4 port would surfice for me.
Thanks again for you patience and your help
I would like the box to be firewalled if possible so i have built again with the text option (which i assume is the headless install) and chosen the firewall option, sadly i am now unable to connect.
Is it possible to have the firewall on and connect to console?
Also can you recomend any hardware (cheap controller card or cameras) 4 port would surfice for me.
Thanks again for you patience and your help
From your initial post I assume therefore you are running a web-server (httpd) on port 80. Have you therefore set a line like
in the httpd.conf file?
The default for DirectoryIndex (I'm assuming Apache here) does not include .php files; and so your web-server may be failing to pick up on the zm.php file.
Personally I define a VirtualHost for use with ZM and I specifically put it on a non-80 port, so (but maybe that's just me being awkward):
This of course needs an appropriate Virtual host definition:
and Listen lines defined:
and both ports sorted out on the firewall.
I can still connect to the console across the Internet with this method, I just need to add the port to the URL.
Code: Select all
DirectoryIndex index.html index.htm index.shtml zm.php
The default for DirectoryIndex (I'm assuming Apache here) does not include .php files; and so your web-server may be failing to pick up on the zm.php file.
Personally I define a VirtualHost for use with ZM and I specifically put it on a non-80 port, so (but maybe that's just me being awkward):
Code: Select all
<VirtualHost 192.168.aaa.bbb:12345>
DocumentRoot /var/www/html/zm
ServerName MyServerName
DirectoryIndex index.html index.htm index.shtml zm.php
LogLevel warn
</VirtualHost>
Code: Select all
### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most
#...
# Use name-based virtual hosting.
# ...
NameVirtualHost 192.168.aaa.bbb:80
NameVirtualHost 192.168.aaa.bbb:12345
Code: Select all
Listen 192.168.aaa.bbb:80
Listen 192.168.aaa.bbb:12345
I can still connect to the console across the Internet with this method, I just need to add the port to the URL.
Actualy, don't do any of the above as it's not correct and I have done all that work already for you.
If you type setup in the console it will display a menu for you, select the firewall. You will see some check box options and one of them will be www and you need to check that. You can also add 443:tcp for https access and you might also chose to check ssh as well so you can remotely login to a console.
Save, exit and you should be good to go.
If you type setup in the console it will display a menu for you, select the firewall. You will see some check box options and one of them will be www and you need to check that. You can also add 443:tcp for https access and you might also chose to check ssh as well so you can remotely login to a console.
Save, exit and you should be good to go.
I must admit I wasn't aware you could do that. On the other hand I cannot find an option labelled setup anywhere on the v1.22.3 console. Is it under Options?cordel wrote:Actualy, don't do any of the above as it's not correct and I have done all that work already for you.
If you type setup in the console it will display a menu for you, select the firewall. You will see some check box options and one of them will be www and you need to check that. You can also add 443:tcp for https access and you might also chose to check ssh as well so you can remotely login to a console.
Aha! That'll perhaps explain why I can't find it on my CentOS-based installation!cordel wrote:It's not in zm, it's on a distro I created based on FC3.
NB: the link to get the FC of CentOS RPMs off the link on http://www.zoneminder.com/downloads.html resulted in a "This domain is expired." message.
Thanx again cordel for you very useful help, sorry late responding put being having trouble with broadband. Firewall all configured now and i am happily connecting through the console. I have a 4 port dvr card and i am now looking for suitable cams. I am hoping to put 2 outside and 2 inside, can you suggest any hardware please as it seems a minefield out there, i dont really want to record continuously so would like them to be motion triggered if possible.
Personaly my favorites are:
http://www.supercircuits.com/index.asp? ... rodID=4167
http://www.supercircuits.com/index.asp? ... rodID=4168
Mostly because they work really well in low light areas and work awsome with both video and DC controled irises. Keep in mind that the lenses are not included. Different cams for different situations though and I don't know that these would suit your needs.
http://www.supercircuits.com/index.asp? ... rodID=4167
http://www.supercircuits.com/index.asp? ... rodID=4168
Mostly because they work really well in low light areas and work awsome with both video and DC controled irises. Keep in mind that the lenses are not included. Different cams for different situations though and I don't know that these would suit your needs.