MySQL -> MariaDB in READMEs.
This commit is contained in:
parent
6cc5fb4904
commit
dc1c7c4872
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.103 2014/09/13 18:09:21 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.104 2014/09/14 05:58:07 ajacoutot Exp $
|
||||
|
||||
COMMENT-main = network and application monitoring - agent
|
||||
COMMENT-server = network and application monitoring - server
|
||||
@ -13,7 +13,7 @@ FULLPKGNAME-web = zabbix-web-${VERSION}
|
||||
FULLPKGPATH-web = net/zabbix,-web
|
||||
CATEGORIES = net
|
||||
|
||||
REVISION-server = 0
|
||||
REVISION-server = 1
|
||||
|
||||
MAJV = ${VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: README-server,v 1.9 2013/06/06 13:57:48 ajacoutot Exp $
|
||||
$OpenBSD: README-server,v 1.10 2014/09/14 05:58:07 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
@ -52,16 +52,16 @@ instructions below. When this is done you can proceed to configure
|
||||
through the web interface at http://<hostname>/zabbix/setup.php.
|
||||
(default user is 'Admin' with password 'zabbix')
|
||||
|
||||
MySQL (InnoDB)
|
||||
==============
|
||||
MariaDB (InnoDB)
|
||||
================
|
||||
|
||||
Connect to MySQL, and create a user and database for Zabbix;
|
||||
Connect to MariaDB, and create a user and database for Zabbix;
|
||||
|
||||
$ mysql -u root -p
|
||||
mysql> create user zabbix@localhost identified by 'password';
|
||||
mysql> create database zabbix character set utf8;
|
||||
mysql> grant all privileges on zabbix.* to zabbix@localhost;
|
||||
mysql> quit
|
||||
MariaDB [(none)]> create user zabbix@localhost identified by 'password';
|
||||
MariaDB [(none)]> create database zabbix character set utf8;
|
||||
MariaDB [(none)]> grant all privileges on zabbix.* to zabbix@localhost;
|
||||
MariaDB [(none)]> quit
|
||||
|
||||
Then initialize the database from the files installed in
|
||||
${TRUEPREFIX}/share/examples/zabbix:
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2014/09/13 18:09:22 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2014/09/14 05:58:07 ajacoutot Exp $
|
||||
|
||||
COMMENT= local CVE checker tool
|
||||
|
||||
DISTNAME= cvechecker-3.5
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
CATEGORIES= security sysutils
|
||||
|
||||
HOMEPAGE= http://cvechecker.sourceforge.net/
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: README,v 1.3 2013/06/06 13:57:48 ajacoutot Exp $
|
||||
$OpenBSD: README,v 1.4 2014/09/14 05:58:07 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
@ -11,21 +11,21 @@ The user running cvechecker(1) must be part of the _cvechecker group:
|
||||
# usermod -G _cvechecker <username>
|
||||
|
||||
Edit ${SYSCONFDIR}/cvechecker.conf to your particular setup, this is
|
||||
especially important when using MySQL as a backend.
|
||||
especially important when using MariaDB as a backend.
|
||||
|
||||
Database initialization
|
||||
-----------------------
|
||||
When using MySQL (cvechecker-3.2-mysql), a database and user must be
|
||||
When using MariaDB (cvechecker-3.2-mysql), a database and user must be
|
||||
setup. This step is not needed when using SQLite.
|
||||
$ mysql -uroot -p<password>
|
||||
mysql> CREATE DATABASE cvechecker;
|
||||
mysql> GRANT ALL PRIVILEGES ON `cvechecker` . *
|
||||
-> TO 'cvechecker_rw'@'localhost' IDENTIFIED BY 'password4cvechecker_rw';
|
||||
mysql> QUIT
|
||||
MariaDB [(none)]> CREATE DATABASE cvechecker;
|
||||
MariaDB [(none)]> GRANT ALL PRIVILEGES ON `cvechecker` . *
|
||||
-> TO 'cvechecker_rw'@'localhost' IDENTIFIED BY 'password4cvechecker_rw';
|
||||
MariaDB [(none)]> QUIT
|
||||
|
||||
Then the database initialization is done by running:
|
||||
$ cvechecker -i
|
||||
(this step is required for both MySQL and SQLite).
|
||||
(this step is required for both MariaDB and SQLite).
|
||||
|
||||
At last, the CVE data needs to be put into the database:
|
||||
$ pullcves pull
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.21 2014/09/13 18:09:22 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.22 2014/09/14 05:58:07 ajacoutot Exp $
|
||||
|
||||
COMMENT-main= Samhain Intrusion Detection System - documentation
|
||||
COMMENT-client= Samhain Intrusion Detection System - client
|
||||
@ -14,7 +14,7 @@ PKGNAME-server= samhain-server-${VERSION}
|
||||
|
||||
REVISION-main= 3
|
||||
REVISION-client= 9
|
||||
REVISION-server= 12
|
||||
REVISION-server= 13
|
||||
|
||||
CATEGORIES= security
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: README-server,v 1.4 2013/06/06 13:57:48 ajacoutot Exp $
|
||||
$OpenBSD: README-server,v 1.5 2014/09/14 05:58:07 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
@ -7,17 +7,17 @@ $OpenBSD: README-server,v 1.4 2013/06/06 13:57:48 ajacoutot Exp $
|
||||
A manual is available at:
|
||||
http://la-samhna.de/samhain/manual/
|
||||
|
||||
MySQL (InnoDB)
|
||||
==============
|
||||
MariaDB (InnoDB)
|
||||
================
|
||||
|
||||
Connect to MySQL, and create a user and database for Samhain;
|
||||
Connect to MariaDB, and create a user and database for Samhain;
|
||||
|
||||
$ mysql -u root -p
|
||||
mysql> create user samhain@localhost identified by 'password';
|
||||
mysql> create database samhain;
|
||||
mysql> grant all privileges on samhain.* to samhain@localhost;
|
||||
mysql> flush privileges;
|
||||
mysql> quit
|
||||
MariaDB [(none)]> create user samhain@localhost identified by 'password';
|
||||
MariaDB [(none)]> create database samhain;
|
||||
MariaDB [(none)]> grant all privileges on samhain.* to samhain@localhost;
|
||||
MariaDB [(none)]> flush privileges;
|
||||
MariaDB [(none)]> quit
|
||||
|
||||
Then initialize the database from the files installed in
|
||||
${TRUEPREFIX}/share/examples/yule:
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.81 2014/09/13 18:09:22 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.82 2014/09/14 05:58:07 ajacoutot Exp $
|
||||
|
||||
# XXX building this port while a version is already installed on the
|
||||
# system will lead to unexpected hidden dependencies!!!
|
||||
@ -20,6 +20,8 @@ PKGNAME-bat= bacula-bat-$V
|
||||
PKGNAME-mysql= bacula-mysql-$V
|
||||
PKGNAME-pgsql= bacula-pgsql-$V
|
||||
PKGNAME-sqlite3= bacula-sqlite3-$V
|
||||
|
||||
REVISION-server= 0
|
||||
REVISION-mysql= 0
|
||||
|
||||
CATEGORIES= sysutils
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: README-server,v 1.11 2014/07/10 13:09:07 ajacoutot Exp $
|
||||
$OpenBSD: README-server,v 1.12 2014/09/14 05:58:07 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
@ -16,14 +16,14 @@ Setting up the database for the Bacula Director
|
||||
===============================================
|
||||
|
||||
In this documentation, it is assumed the PostgreSQL administrator user
|
||||
is 'postgres' and the MySQL one is 'root'; adapt accordingly to your
|
||||
is 'postgres' and the MariaDB one is 'root'; adapt accordingly to your
|
||||
setup.
|
||||
Replace 'dbpassword' with the bacula DB user password (configured in
|
||||
${SYSCONFDIR}/bacula-dir.conf).
|
||||
|
||||
While SQLite3 may be of interest for quickly testing a setup, it is
|
||||
usually not advised to use it in production but rather go for a full
|
||||
RDBMS like PostgreSQL or MySQL.
|
||||
RDBMS like PostgreSQL or MariaDB.
|
||||
|
||||
PostgreSQL
|
||||
----------
|
||||
@ -40,8 +40,8 @@ Creating the database and tables:
|
||||
$ ./make_bacula_tables -U bacula
|
||||
$ ./grant_bacula_privileges -U bacula
|
||||
|
||||
MySQL
|
||||
-----
|
||||
MariaDB
|
||||
-------
|
||||
|
||||
Creating the DB, table and bacula user.
|
||||
$ cd ${TRUEPREFIX}/libexec/bacula
|
||||
@ -51,9 +51,9 @@ Creating the DB, table and bacula user.
|
||||
|
||||
Setting up the bacula DB user password.
|
||||
$ mysql -u root -p bacula
|
||||
mysql> GRANT ALL PRIVILEGES ON `bacula` . *
|
||||
MariaDB [bacula]> GRANT ALL PRIVILEGES ON `bacula` . *
|
||||
-> TO 'bacula'@'localhost' IDENTIFIED BY 'dbpassword';
|
||||
mysql> QUIT
|
||||
MariaDB [bacula]> QUIT
|
||||
|
||||
SQLite3
|
||||
-------
|
||||
|
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.74 2014/08/29 16:19:16 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.75 2014/09/14 05:58:07 ajacoutot Exp $
|
||||
|
||||
COMMENT= easy and universal access to shared and/or personal files
|
||||
|
||||
V= 7.0.2
|
||||
DISTNAME= owncloud-${V}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
REVISION= 0
|
||||
|
||||
CATEGORIES= www
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: README,v 1.30 2014/08/27 06:58:00 ajacoutot Exp $
|
||||
$OpenBSD: README,v 1.31 2014/09/14 05:58:07 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
@ -84,7 +84,7 @@ For enhanced performance one of these PHP packages can be installed:
|
||||
|
||||
Database configuration
|
||||
----------------------
|
||||
ownCloud can work with a PostgreSQL, MySQL or SQLite3 database.
|
||||
ownCloud can work with a PostgreSQL, MariaDB or SQLite3 database.
|
||||
Support for SQLite3 is included with the main php package; to use
|
||||
another database, the corresponding package needs to be installed
|
||||
*before* setting up ownCloud:
|
||||
@ -132,7 +132,7 @@ Updating
|
||||
Before updating to a new release, read:
|
||||
http://doc.owncloud.org/server/${VR}/admin_manual/maintenance/update.html
|
||||
|
||||
When using a PostgreSQL or MySQL, the corresponding MDB2 php package
|
||||
When using a PostgreSQL or MariaDB, the corresponding MDB2 php package
|
||||
must be installed to properly upgrade the database:
|
||||
php-pgsql or php-mysql
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.33 2014/08/14 10:16:08 sebastia Exp $
|
||||
# $OpenBSD: Makefile,v 1.34 2014/09/14 05:58:07 ajacoutot Exp $
|
||||
|
||||
COMMENT= overview of your Puppet ecosystem
|
||||
|
||||
DISTNAME= puppet-dashboard-1.2.23
|
||||
REVISION= 10
|
||||
REVISION= 11
|
||||
CATEGORIES= www sysutils
|
||||
|
||||
HOMEPAGE= https://github.com/sodabrew/puppet-dashboard/
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: README,v 1.14 2014/08/14 10:16:08 sebastia Exp $
|
||||
$OpenBSD: README,v 1.15 2014/09/14 05:58:07 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
@ -12,23 +12,23 @@ Configuration is done in:
|
||||
Database Configuration
|
||||
======================
|
||||
|
||||
Before starting the Dashboard, a MySQL database must be configured in:
|
||||
Before starting the Dashboard, a MariaDB database must be configured in:
|
||||
${INSTDIR}/config/database.yml
|
||||
|
||||
The following commands can be used to create the database:
|
||||
# mysql -uroot -p<password>
|
||||
mysql> CREATE DATABASE dashboard_production CHARACTER SET utf8;
|
||||
mysql> CREATE USER 'dashboard'@'localhost' IDENTIFIED BY 'my_password';
|
||||
mysql> GRANT ALL PRIVILEGES ON dashboard_production.* TO 'dashboard'@'localhost';
|
||||
mysql> EXIT
|
||||
MariaDB [(none)]> CREATE DATABASE dashboard_production CHARACTER SET utf8;
|
||||
MariaDB [(none)]> CREATE USER 'dashboard'@'localhost' IDENTIFIED BY 'my_password';
|
||||
MariaDB [(none)]> GRANT ALL PRIVILEGES ON dashboard_production.* TO 'dashboard'@'localhost';
|
||||
MariaDB [(none)]> EXIT
|
||||
|
||||
The MySQL maximum packet size needs to be increased to permit larger
|
||||
The MariaDB maximum packet size needs to be increased to permit larger
|
||||
rows in the database; ${SYSCONFDIR}/my.cnf must be edited to include:
|
||||
max_allowed_packet = 32M
|
||||
Then the server must be restarted by running:
|
||||
# ${RCDIR}/mysqld restart
|
||||
|
||||
Once the database has been setup and MySQL is up and running, the
|
||||
Once the database has been setup and MariaDB is up and running, the
|
||||
following command must be run to create the tables:
|
||||
# cd ${INSTDIR} && sudo -u _puppet-dashboard rake${MODRUBY_BINREV} RAILS_ENV=production db:migrate
|
||||
|
||||
@ -67,7 +67,7 @@ be a member of the _puppet group.
|
||||
|
||||
Cron Jobs
|
||||
---------
|
||||
The MySQL database should be optimized on a montly basis. This can be
|
||||
The MariaDB database should be optimized on a montly basis. This can be
|
||||
done by adding the following entry to the root's crontab(5):
|
||||
0 0 1 * * cd ${INSTDIR} && sudo -u _puppet-dashboard ${LOCALBASE}/bin/rake${MODRUBY_BINREV} RAILS_ENV=production db:raw:optimize
|
||||
|
||||
|
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.29 2013/09/20 06:33:48 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.30 2014/09/14 05:58:07 ajacoutot Exp $
|
||||
|
||||
COMMENT= open source micro messaging platform
|
||||
|
||||
DISTNAME= statusnet-1.1.1
|
||||
REVISION= 0
|
||||
|
||||
CATEGORIES= www net
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: README,v 1.9 2013/06/06 13:57:48 ajacoutot Exp $
|
||||
$OpenBSD: README,v 1.10 2014/09/14 05:58:07 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
@ -19,17 +19,17 @@ DocumentRoot of your web-server:
|
||||
# ln -s ../statusnet /var/www/htdocs/statusnet
|
||||
(make sure you use a relative symlink since Apache is chrooted)
|
||||
|
||||
== MySQL==
|
||||
== MariaDB ==
|
||||
|
||||
Please add the php-mysql package to enable MySQL support in PHP.
|
||||
Please add the php-mysql package to enable MariaDB support in PHP.
|
||||
|
||||
Now connect to MySQL and create a user and database for Status.net:
|
||||
Now connect to MariaDB and create a user and database for Status.net:
|
||||
|
||||
mysqladmin -u "adminuser" --password="adminpassword" create statusnet
|
||||
mysql -u "adminuser" --password="adminpassword" statusnet
|
||||
mysql> GRANT ALL on statusnet.*
|
||||
-> TO 'statusnet'@'localhost'
|
||||
-> IDENTIFIED BY 'statusnetpassword';
|
||||
mysqll -u "adminuser" --password="adminpassword" statusnet
|
||||
MariaDB [(statusnet)]> GRANT ALL on statusnet.*
|
||||
-> TO 'statusnet'@'localhost'
|
||||
-> IDENTIFIED BY 'statusnetpassword';
|
||||
|
||||
== PostgreSQL ==
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user