by permitivity » Sat Jun 29, 2013 8:59 pm
Well, I tried it, but I think I needed to change some permissions? I got a bunch of error messages that look like this:
$this->bbcode_second_pass_quote('', 't')ar: ./zoneminder/zoneminder-1.25.0-24-arm.pkg.tar.xz: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
./zoneminder/perl-expect-1.21-2-any.pkg.tar.xz
./zoneminder/perl-php-serialization-0.34-1-any.pkg.tar.xz
tar: ./zoneminder/perl-php-serialization-0.34-1-any.pkg.tar.xz: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
tar: ./zoneminder: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
tar: Exiting with failure status due to previous errors
But, I went ahead and "pacman -U *.pkg.tar.xz" anyways. It took a long time to install. I'm not sure if it was going out on the internet to get dependencies or what. The file you gave me was only 8MB, if the size of the file is any indication of how long it should take to install. I'm not sure if mysql was installed by itself.
So, anyways I have to google how to run Zone Minder from the console. I'll report back if I make progress.
If anyone's interested, this is some of the text that was displayed during install:
$this->bbcode_second_pass_code('', '( 46/115) installing libxxf86vm [######################] 100%
( 47/115) installing damageproto [######################] 100%
( 48/115) installing libxdamage [######################] 100%
( 49/115) installing mesa [######################] 100%
Optional dependencies for mesa
opengl-man-pages: for the OpenGL API man pages
( 50/115) installing mesa-libgl [######################] 100%
( 51/115) installing libva [######################] 100%
Optional dependencies for libva
libva-vdpau-driver: vdpau back-end for nvidia
libva-intel-driver: back-end for intel cards
( 52/115) installing libvpx [######################] 100%
( 53/115) installing opencore-amr [######################] 100%
( 54/115) installing openjpeg [######################] 100%
( 55/115) installing rtmpdump [######################] 100%
( 56/115) installing orc [######################] 100%
( 57/115) installing schroedinger [######################] 100%
( 58/115) installing renderproto [######################] 100%
( 59/115) installing libxrender [######################] 100%
( 60/115) installing sdl [######################] 100%
Optional dependencies for sdl
alsa-lib: ALSA audio driver [installed]
libpulse: PulseAudio audio driver [installed]
( 61/115) installing speex [######################] 100%
( 62/115) installing x264 [######################] 100%
( 63/115) installing xvidcore [######################] 100%
( 64/115) installing libav-static [######################] 100%
( 65/115) installing perl-time-modules [######################] 100%
( 66/115) installing perl-astro-suntime [######################] 100%
( 67/115) installing perl-io-tty [######################] 100%
( 68/115) installing perl-expect [######################] 100%
( 69/115) installing perl-net-sftp-foreign [######################] 100%
Optional dependencies for perl-net-sftp-foreign
perl-file-which
perl-sort-key
( 70/115) installing perl-php-serialization [######################] 100%
( 71/115) installing perl-sys-mmap [######################] 100%
( 72/115) installing perl-device-serialport [######################] 100%
( 73/115) installing perl-x10 [######################] 100%
( 74/115) installing apr [######################] 100%
( 75/115) installing libltdl [######################] 100%
( 76/115) installing unixodbc [######################] 100%
( 77/115) installing apr-util [######################] 100%
( 78/115) installing apache [######################] 100%
Optional dependencies for apache
lynx: apachectl status
( 79/115) installing libmariadbclient [######################] 100%
( 80/115) installing mariadb-clients [######################] 100%
( 81/115) installing mariadb [######################] 100%
Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:
'/usr/bin/mysqladmin' -u root password 'new-password'
'/usr/bin/mysqladmin' -u root -h pogopink4-b544 password 'new-password'
Alternatively you can run:
'/usr/bin/mysql_secure_installation'
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the MariaDB Knowledgebase at http://kb.askmonty.org or the
MySQL manual for more instructions.
You can start the MariaDB daemon with:
cd '/usr' ; /usr/bin/mysqld_safe --datadir='/var/lib/mysql'
You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/mysql-test' ; perl mysql-test-run.pl
Please report any problems with the '/usr/scripts/mysqlbug' script!
The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Support MariaDB development by buying support/new features from
Monty Program Ab. You can contact us about this at sales@montyprogram.com.
Alternatively consider joining our community based development effort:
http://kb.askmonty.org/en/contributing-to-the-mariadb-project/
>> If you are migrating from MySQL, don't forget to run 'mysql_upgrade'
after mysqld.service restart.
Optional dependencies for mariadb
perl-dbd-mysql: mytop dependency [pending]
perl-term-readkey: mytop dependency
( 82/115) installing perl-archive-zip [######################] 100%
( 83/115) installing perl-date-manip [######################] 100%
( 84/115) installing perl-dbi [######################] 100%
( 85/115) installing perl-dbd-mysql [######################] 100%
( 86/115) installing perl-encode-locale [######################] 100%
( 87/115) installing perl-http-date [######################] 100%
( 88/115) installing perl-file-listing [######################] 100%
( 89/115) installing perl-html-tagset [######################] 100%
( 90/115) installing perl-html-parser [######################] 100%
( 91/115) installing perl-lwp-mediatypes [######################] 100%
( 92/115) installing perl-uri [######################] 100%
( 93/115) installing perl-http-message [######################] 100%
( 94/115) installing perl-http-cookies [######################] 100%
( 95/115) installing perl-http-daemon [######################] 100%
( 96/115) installing perl-http-negotiate [######################] 100%
( 97/115) installing perl-net-http [######################] 100%
( 98/115) installing perl-www-robotrules [######################] 100%
( 99/115) installing perl-libwww [######################] 100%
Optional dependencies for perl-libwww
perl-lwp-protocol-https: for https:// url schemes
(100/115) installing perl-email-date-format [######################] 100%
(101/115) installing perl-timedate [######################] 100%
(102/115) installing perl-mailtools [######################] 100%
(103/115) installing perl-mime-types [######################] 100%
(104/115) installing perl-mime-lite [######################] 100%
(105/115) installing perl-io-stringy [######################] 100%
(106/115) installing perl-convert-binhex [######################] 100%
module test... pass.
(107/115) installing perl-mime-tools [######################] 100%
(108/115) installing libxml2 [######################] 100%
(109/115) installing php [######################] 100%
(110/115) installing php-apache [######################] 100%
(111/115) installing freetype2 [######################] 100%
(112/115) installing php-gd [######################] 100%
(113/115) installing libmcrypt [######################] 100%
(114/115) installing php-mcrypt [######################] 100%
(115/115) installing zoneminder [######################] 100%
Note for mysql:
==> To run Zoneminder, you must install the database running mysql service (as r oot):
==> "rc.d start mysqld" (in initscripts) or "systemctl start mysqld.service" (in systemd)
==> and add Zoneminder database typing (with passsword):
==> "mysqladmin --defaults-file=/etc/mysql/my.cnf -p -f reload"
==> "cat /usr/share/zoneminder/db/zm_create.sql | mysql --defaults-file=/etc/mys ql/my.cnf -p"
==> "echo 'grant lock tables, alter,select,insert,update,delete on zm.* to 'zmus er'@localhost identified by "zmpass";' | mysql --defaults-file=/etc/mysql/my.cnf -p mysql"
==> (or without passsword):
==> "mysqladmin --defaults-file=/etc/mysql/my.cnf -f reload"
==> "cat /usr/share/zoneminder/db/zm_create.sql | mysql --defaults-file=/etc/mys ql/my.cnf"
==> "echo 'grant lock tables, alter,select,insert,update,delete on zm.* to 'zmus er'@localhost identified by "zmpass";' | mysql --defaults-file=/etc/mysql/my.cnf mysql"
Note for php:
==> You must uncomment that line in /etc/php/php.ini:
==> "extension=mysql.so"
==> check and make sure these are uncommented:
==> "extension=gd.so"
==> "extension=gettext.so"
==> "extension=mcrypt.so"
==> "extension=mysqli.so"
==> "extension=session.so"
==> "extension=sockets.so"
==> "extension=openssl.so"
==> "extension=ftp.so"
==> "extension=zip.so"
==> check and add to open_basedir "/etc" and
==> "/srv/http/zoneminder" like so
==> "open_basedir = /home:/tmp:/usr/share/pear:/etc:/srv/http/zoneminder"
==> and set your timezone in php.ini:
==> "date.timezone = <your_country>/<your_city>"
Note for apache:
==> You must edit /etc/httpd/conf/httpd.conf and add the line:
==> "LoadModule php5_module modules/libphp5.so"
==> and:
==> "Include /etc/httpd/conf/extra/php5_module.conf"
==> "Include /etc/httpd/conf/extra/httpd-zoneminder.conf"
Optional dependencies for zoneminder
netpbm')