| View previous topic :: View next topic |
| Author |
Message |
CubKid Member
Joined: 14 Apr 2004 Posts: 111
|
|
| Back to top |
|
crouse Site Admin

Joined: 17 Apr 2003 Posts: 11857 Location: Iowa
|
|
| Back to top |
|
nukes Linux Guru

Joined: 29 Aug 2003 Posts: 4558
|
|
| Back to top |
|
maillion Advanced Member

Joined: 30 Mar 2004 Posts: 791 Location: Texas, USA, Terra
|
|
| Back to top |
|
DocZayus Ultimate Member

Joined: 15 Feb 2004 Posts: 2199 Location: Fredericton, New Brunswick
|
Posted: Sat May 22, 2004 2:27 pm Post subject: |
|
|
The biggest probs I ran into, were permissions related.
chown 0755 -R /var/www/html/phpbbdir/
and then individually remove access to the public to the important files.
(config.php, etc...)
_________________ Sabayon
Vista
|
|
| Back to top |
|
CubKid Member
Joined: 14 Apr 2004 Posts: 111
|
Posted: Sat May 22, 2004 5:10 pm Post subject: |
|
|
| Well, the problems I think I'll run into the most will be the permissions. praetorian (from techimo, dunno if he browses these boards or not) showed me a little bit as far as starting the sql server and creating a database and user via the command line. I *almost* had it running on my Fedora box, just to test it out, but my hostname wasnt set right and was causing some headaches.
|
|
| Back to top |
|
DocZayus Ultimate Member

Joined: 15 Feb 2004 Posts: 2199 Location: Fredericton, New Brunswick
|
Posted: Sun May 23, 2004 12:31 am Post subject: |
|
|
I actually create the sql database in knoqeuror.
I zip to the /var/lib/mysql directory and create a folder called phpbb
voila, database is created, i then change the permissions and ownership of the folder by right-clicking it.
I know these guys prefer the command line, so here:
# mkdir /var/lib/mysql/phpbb
# chmod 0755 /var/lib/mysql/phpbb
#chown mysql.doc /var/lib/mysql/phpbb
as for the hostname, try:
# kwrite /etc/apache/httpd.conf
(gedit for Gnome and kwrite for KDE)
And look for your hostname, it should be set to your address.
mine is http://doczayus.homedns.org:8080
If you don't have a Hostname, your IP should work.
Not 127.0.0.1, and not 192.xxx.xxx.xxx
Those are internal addresses.
Hope this helps.
(ps: correct me if I'm wrong)
|
|
| Back to top |
|
crouse Site Admin

Joined: 17 Apr 2003 Posts: 11857 Location: Iowa
|
Posted: Sun May 23, 2004 2:05 am Post subject: |
|
|
| CubKid wrote: | | Well, the problems I think I'll run into the most will be the permissions. praetorian (from techimo, dunno if he browses these boards or not) showed me a little bit as far as starting the sql server and creating a database and user via the command line. I *almost* had it running on my Fedora box, just to test it out, but my hostname wasnt set right and was causing some headaches. |
99% of the time - the hostname is : localhost
the thing that always stuck me was mysql database usernames and user permissions, once I figured those out, it was a piece of cake......... phpbb almost runs itself as far as the setup goes, once you database is installed, running the phpbb setup screen (admin) it's fairly easy to finish setting up the board.
|
|
| Back to top |
|
CubKid Member
Joined: 14 Apr 2004 Posts: 111
|
|
| Back to top |
|
DocZayus Ultimate Member

Joined: 15 Feb 2004 Posts: 2199 Location: Fredericton, New Brunswick
|
Posted: Sun May 23, 2004 5:42 pm Post subject: |
|
|
yea, use the no-ip address.
that way, if your IP changes, you wont have to update your httpd.conf all the time.
DynDNS has apps that can auto update your IP through a Cron job.
Maybe your No-IP has something of the sort too?
_________________ Sabayon
Vista
|
|
| Back to top |
|
CubKid Member
Joined: 14 Apr 2004 Posts: 111
|
|
| Back to top |
|
CubKid Member
Joined: 14 Apr 2004 Posts: 111
|
Posted: Sun May 23, 2004 5:46 pm Post subject: |
|
|
| DocZayus wrote: | yea, use the no-ip address.
that way, if your IP changes, you wont have to update your httpd.conf all the time.
DynDNS has apps that can auto update your IP through a Cron job.
Maybe your No-IP has something of the sort too? |
Just saw that after I hit submit on the last post.
I'll have to look into it and also configure my router accordingly if needed.
|
|
| Back to top |
|
crouse Site Admin

Joined: 17 Apr 2003 Posts: 11857 Location: Iowa
|
Posted: Sun May 23, 2004 6:49 pm Post subject: |
|
|
phpBB : Critical Error
Could not connect to the database
------------
means your
MYSQL username/password andor database name are incorrect.
|
|
| Back to top |
|
CubKid Member
Joined: 14 Apr 2004 Posts: 111
|
Posted: Sun May 23, 2004 9:01 pm Post subject: |
|
|
| Well, as far as I know they're right (dont quote me on that though), but I'm not really sure how to check. I even got (not so) smart and tried to do the installation using root/<root password> instead of the user/pass. That didnt work either.. lol
|
|
| Back to top |
|
crouse Site Admin

Joined: 17 Apr 2003 Posts: 11857 Location: Iowa
|
Posted: Sun May 23, 2004 10:20 pm Post subject: |
|
|
The easiest way I've found to work with mysql is to install webmin....
Using webmin you can
Create the database
Create usernames and passwords for mysql
Allow (Username) access to (database)
If you don't have webmin installed, I highly recommend installing webmin, it will simplify your life. You can do all the above via the command line, but webmin is much easier to use for me.
|
|
| Back to top |
|
|