hns - 日記自動生成システム - Version 2.19.9

先月 2014年04月 来月
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2014年04月04日(金) 旧暦 [n年日記] [更新:"2014/04/04 12:16:17"]

#1 [pkgsrc] pkgin install cacti

modena@makoto 08:50:33/140404(/export)% sudo pkgin install cacti
calculating dependencies... done.

nothing to upgrade.
5 packages to be installed: 
mysql-client-5.5.35 
php54-sockets-5.4.23 
php54-snmp-5.4.23 
php54-mysql-5.4.23 
cacti-0.8.8b (14M to download, 49M to install)

proceed ? [Y/n] 
downloading packages...
mysql-client-5.5.35.tgz         100%   11MB 303.7KB/s 288.1KB/s   00:38    
php54-sockets-5.4.23.tgz        100%   24KB  24.1KB/s  24.1KB/s   00:01    
php54-snmp-5.4.23.tgz           100%   24KB  24.0KB/s  24.0KB/s   00:01    
php54-mysql-5.4.23.tgz          100%   23KB  23.3KB/s  23.3KB/s   00:01    
cacti-0.8.8b.tgz                100% 2215KB 369.1KB/s 100.8KB/s   00:06    
installing packages...
installing mysql-client-5.5.35...
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2011/04/25 21:12:53 adam Exp $

To use the ``mysqlhotcopy'' script, you'll have to install the following
packages:

        databases/p5-DBD-mysql
        devel/p5-File-Temp

===========================================================================
installing php54-sockets-5.4.23...
===========================================================================
$NetBSD: MESSAGE.module,v 1.2 2004/11/05 21:50:11 jdolecek Exp $

To enable this module, add the following to /usr/pkg/etc/php.ini:

    extension=sockets.so

and make sure extension_dir points to the dir where sockets.so is.

Then restart your PHP5.4-enabled HTTP server to load this module.
===========================================================================
installing php54-snmp-5.4.23...
===========================================================================
$NetBSD: MESSAGE.module,v 1.2 2004/11/05 21:50:11 jdolecek Exp $

To enable this module, add the following to /usr/pkg/etc/php.ini:

    extension=snmp.so

and make sure extension_dir points to the dir where snmp.so is.

Then restart your PHP5.4-enabled HTTP server to load this module.
===========================================================================
installing php54-mysql-5.4.23...
===========================================================================
$NetBSD: MESSAGE.module,v 1.2 2004/11/05 21:50:11 jdolecek Exp $

To enable this module, add the following to /usr/pkg/etc/php.ini:

    extension=mysql.so

and make sure extension_dir points to the dir where mysql.so is.

Then restart your PHP5.4-enabled HTTP server to load this module.
===========================================================================
installing cacti-0.8.8b...
cacti-0.8.8b: Creating group ``cacti''
cacti-0.8.8b: Creating user ``cacti''
cacti-0.8.8b: copying /usr/pkg/share/examples/cacti/httpd-cacti.conf 
                   to /usr/pkg/etc/httpd/httpd-cacti.conf
cacti-0.8.8b: setting permissions on /usr/pkg/share/cacti/log/cacti.log 
                   (o=cacti, g=cacti, m=755)
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2011/11/22 22:23:13 tez Exp $

cacti is now installed.

To get cacti up and running asap, you have to complete these steps:

- Install & Configure mysql-server

- Add a cacti database and cactiuser user to mysql

        mysql> CREATE DATABASE cacti;
        mysql> GRANT ALL PRIVILEGES ON cacti.* TO 'cactiuser'@'localhost'
            -> IDENTIFIED BY 'cactiuser';

- Add the cacti database layout (/usr/pkg/share/cacti/cacti.sql) to mysql

        shell> mysql [-p] cacti < /usr/pkg/share/cacti/cacti.sql

- Add a symlink from /usr/pkg/share/cacti/scripts/local_memory.pl to the appropriate
  *_memory.pl script (or create one if none for your OS exists)

        shell> ln -s /usr/pkg/share/cacti/scripts/netbsd_memory.pl \
                        /usr/pkg/share/cacti/scripts/local_memory.pl

- Install & Configure an apache webserver

- If you have not already done so, add these lines to enable php extensions
  required by cacti in /usr/pkg/etc/etc/php.ini

        extension=mysql.so
        extension=snmp.so
        extension=sockets.so

- Append this to apache's httpd.conf and restart apache

        Include etc/httpd/httpd-cacti.conf

- Add the following lines to cacti's crontab

# Invoke poller.php to collect snmp-statistics
*/5 * * * * /usr/pkg/bin/php /usr/pkg/share/cacti/poller.php > \
/usr/pkg/share/cacti/log/poller.log 2>&1

Please read the included README (/usr/pkg/share/cacti/docs/README) file,
for more information about configuring and starting cacti.

===========================================================================
pkg_install warnings: 6, errors: 0
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log
reading local summary...
processing local summary...
updating database: 100%
marking cacti-0.8.8b as non auto-removable
modena@makoto 08:52:15/140404(/export)% 

#2 [NetBSD] git clone NetBSD src

Good practice or trial to go further for #NetBSD VCS. Repository conversions:
modena@makoto 08:47:47/140404(..git-work/netbsd)%  \
time git clone https://github.com/jsonn/src
Cloning into 'src'...
remote: Reusing existing pack: 3302183, done.
remote: Total 3302183 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (3302183/3302183), 1.00 GiB | 170.00 KiB/s, done.
Resolving deltas: 100% (2653984/2653984), done.
Checking connectivity... done.
Checking out files: 100% (159842/159842), done.
317.22s 164.27s 2:00:25.94 6% 0+0k 1752+21426io 17921pf+0w



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)