Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 257172 Details for
Bug 346741
net-analyzer/cacti-0.8.7g with plugin-achitecture 2.9
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Modified postinstall-en.txt to point on need to apply pa.sql
postinstall-en.txt (text/plain), 2.35 KB, created by
Jens Ott
on 2010-12-14 20:05:47 UTC
(
hide
)
Description:
Modified postinstall-en.txt to point on need to apply pa.sql
Filename:
MIME Type:
Creator:
Jens Ott
Created:
2010-12-14 20:05:47 UTC
Size:
2.35 KB
patch
obsolete
> >New Install > >1. Create the new cacti database > shell> mysqladmin -p --user=root create cacti >2. Import the default cacti database: > shell> mysql -p --user=root cacti < ${MY_INSTALLDIR}/cacti.sql >3. Create a MySQL username and password for cacti. > shell> mysql -p --user=root mysql > mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'somepassword'; > mysql> flush privileges; >4. Edit ${MY_INSTALLDIR}/include/config.php and modify the MySQL user, > password and database for your cacti configuration. > > Example: > \$database_default = "cacti"; > \$database_hostname = "localhost"; > \$database_username = "cactiuser"; > \$database_password = "somepassword"; > >5. Point your web browser to: http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/ > Make sure to fill in all of the path variables carefully and > correctly on the following screen. >6. After you've gone through the setup wizard, go back to the main cacti page > and login as: > Username: admin > Password: admin > >Upgrading > >1. Backup DB in the case that something goes wrong. > shell> mysqldump -l --add-drop-table cacti > mysql.cacti >2. Backup your rra/ directory and any custom scripts in your scripts/ > directory. >3. Edit ${MY_INSTALLDIR}/include/config.php, and confirm that the MySQL user, > password and database is correct for your cacti configuration. > > Example: > \$database_default = "cacti"; > \$database_hostname = "localhost"; > \$database_username = "cactiuser"; > \$database_password = "somepassword"; >4. Point your web browser to: http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/ > Select "Upgrade". > Make sure to fill in all of the path variables carefully and > correctly on the following screen. > >Cronjob > >Either new or upgrading, make sure you have a cron job - Add this line to >your /etc/crontab file: > > */5 * * * * ${VHOST_SERVER_GID} /usr/bin/php ${MY_INSTALLDIR}/poller.php > /dev/null 2>&1 > >Note that you should use poller.php as the cronjob instead of cmd.php (as it was with >earlier versions) to enable you to switch between cmd.php and cactid. > >Also make sure that the user poller.php runs as ( ${VHOST_SERVER_GID} ) has >permission to create new files in Cacti's 'rra/' directory which is >${MY_INSTALLDIR}/rra > >If you installed plugin-architecture for the first time, don't forget to apply >the SQL-File pa.sql to your cacti database, to create the necessary tables!
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 346741
:
255393
|
255395
|
257166
|
257168
|
257170
| 257172 |
288795
|
288803
|
288805
|
290547
|
290549
|
290551
|
290553
|
291811
|
291813
|
291815
|
291817
|
295689
|
295715
|
295717
|
295719
|
295721