Weblogs for ericrox
#2
Posted by ericrox on Mon 7 Jul 2008 at 14:08
So i just got a Tecra A9 and it was working great. I then try to add the nvidia-glx drivers onto it and boom! The system is cooked. Whenever kdm starts up all video dies. Can't switch Ctrl+Alt+F1-F6 anywhere all black screens.
Awesome.
Awesome.
#1
Posted by ericrox on Mon 26 Nov 2007 at 20:59
Knowledgeroot is a web based knowledge base. You can add content using a WYSIWYG editor and attach files. I'm using as a document repository. It doesn't have a ton of features but it's pretty simple to use and it does what I want.
Before you start you should have all the Apache, MySQL and PHP packages installed. I left the apache install pretty much default and all I did for the the MySQL server was change the password.
Then I did the actuall knowledgeroot installation
Configuring MySQL:
Create a database called knowledgeroot for the installation:
Now run the scripts provided to populate the database:
I created a new users (knowledgeroot) and gave it full access to the knowledgeroot database. You could just use the root account but I like this better.
Filesystem:
Change config scripts /etc/knowledgeroot/config.inc.php to have the proper authentication under the configuration for database section. You will just need to confirm, host, user and database as well as set the password if you used a local install and have everything default.
Set permissions on /usr/share/knowledgeroot/uploads to allow apache to write there.
Apache:
The debian package automatically creates an Alais to the knowledgeroot directory under /etc/apache2/conf.d/ called knowledgeroot.conf. You will need to change that around to customize access to the site.
You should be able to browse from locally to http://localhost/knowledgeroot/ and you will see the default knowledgeroot site if things have gone well.
Stuff I encountered:
1.I didn't realize the package creates it's own alias for the knowledgeroot folder. I tried creating my own alias and the default one kept overriding my permissions. Since the default is set to deny I kept getting 403 errors until I figured out where their Alias was.
2./usr/share/knowledgeroot/config isn't used for anything that I could find. I didnt' update it with the password for my database and it's fine.
3.In the /etc/knowledgeroot/config.in.php file on line number 48 (in my install anyway) is a place to set the title of your knowledgeroot site.
Before you start you should have all the Apache, MySQL and PHP packages installed. I left the apache install pretty much default and all I did for the the MySQL server was change the password.
# apt-get install mysql-server php5 php5-mysql apache2
Then I did the actuall knowledgeroot installation
# apt-get install knowledgeroot
Configuring MySQL:
Create a database called knowledgeroot for the installation:
# mysql -u root -p
mysql> create database knowledgeroot;
Now run the scripts provided to populate the database:
mysql> connect knowledgeroot
mysql> source /usr/share/knowledgeroot/dumps/mysql.sql
Query OK, 0 rows affected, 1 warning (0.06 sec)
Query OK, 0 rows affected, 2 warnings (0.00 sec)
Query OK, 0 rows affected, 1 warning (0.01 sec)
Query OK, 0 rows affected, 1 warning (0.00 sec)
Query OK, 0 rows affected, 1 warning (0.01 sec)
Query OK, 0 rows affected, 1 warning (0.00 sec)
Query OK, 1 row affected (0.08 sec)
Query OK, 1 row affected (0.00 sec)
Query OK, 1 row affected (0.00 sec)
mysql>
I created a new users (knowledgeroot) and gave it full access to the knowledgeroot database. You could just use the root account but I like this better.
Filesystem:
Change config scripts /etc/knowledgeroot/config.inc.php to have the proper authentication under the configuration for database section. You will just need to confirm, host, user and database as well as set the password if you used a local install and have everything default.
Set permissions on /usr/share/knowledgeroot/uploads to allow apache to write there.
# chgrp www-data /usr/share/knowledgeroot/uploads
# chmod 775 /usr/share/knowledgeroot/uploads
Apache:
The debian package automatically creates an Alais to the knowledgeroot directory under /etc/apache2/conf.d/ called knowledgeroot.conf. You will need to change that around to customize access to the site.
You should be able to browse from locally to http://localhost/knowledgeroot/ and you will see the default knowledgeroot site if things have gone well.
Stuff I encountered:
1.I didn't realize the package creates it's own alias for the knowledgeroot folder. I tried creating my own alias and the default one kept overriding my permissions. Since the default is set to deny I kept getting 403 errors until I figured out where their Alias was.
2./usr/share/knowledgeroot/config isn't used for anything that I could find. I didnt' update it with the password for my database and it's fine.
3.In the /etc/knowledgeroot/config.in.php file on line number 48 (in my install anyway) is a place to set the title of your knowledgeroot site.
[0 Comments
| Add Comment
|
]