Jump to content

Linux server for phpBB


b2cm

Recommended Posts

Is there a way to check if setup is okay?
I think that should be "http://localhost/"The problem here is that I do not run Apache myself ( only run an FTP server ) so I can only point you to the Documentation and the FAQ . . . one advice I come accross frequently is: backup the main config file before you start tweaking/messing around:
# cp /etc/httpd/conf/httpd.conf  /etc/httpd/conf/httpd.conf-BACKUP

I made a screenshot of the server section in the official Mandriva 2007 documentation PDF: Here . . . . If you want I can send you the full MDV PowerPack PDF ( 12 MB ) just send me a PM with an email address.Also, a tool that might help is "Webmin" ( to install "# urpmi webmin" ):

A web-based administration interface for Unix systems. Using Webmin you can configure DNS, Samba, NFS, local/remote filesystems, Apache, Sendmail/Postfix, and more using your web browser.After installation, enter the URL https://localhost:10000/ into your browser and login as root with your root password. Please consider logging in and modify your password for security issue.PLEASE NOTE THAT THIS VERSION NOW USES SECURE WEB TRANSACTIONS: YOU HAVE TO LOGIN TO "https://localhost:10000/" AND NOT "http://localhost:10000/".
B) BrunoPS: You also might have a look here: http://www.howtoforge.com/perfect_setup_mandriva_2007 although it is much more then you are looking for ( full ISP setup ) . . there might be bits and pieces that can help you.
Link to comment
Share on other sites

Tried the localhost and 127.0.0.1 routine, and got the "It works!" message.I'd like to read that MDV PowerPack PDF from page 1. If I can download it somewhere, I can spare you the trouble of having to email. Can you post a link?As for webmin:[root@localhost bart]# urpmi webminTo satisfy dependencies, the following packages are going to be installed:perl-Authen-PAM-0.16-1mdk.i586perl-CGI-3.16-1mdk.noarchperl-Net_SSLeay.pm-1.30-3mdv2007.0.i586webmin-1.290-4.1mdv2007.0.noarchProceed with the installation of the 4 packages? (37 MB) (Y/n)Yes: ftp://ftp.uwsg.indiana.edu/linux/mandrake...07.0.noarch.rpmftp://ftp.nluug.nl/pub/os/Linux/distr/Man...1mdk.noarch.rpmftp://ftp.nluug.nl/pub/os/Linux/distr/Man...6-1mdk.i586.rpmftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpminstalling perl-CGI-3.16-1mdk.noarch.rpm perl-Authen-PAM-0.16-1mdk.i586.rpm perl-Net_SSLeay.pm-1.30-3mdv2007.0.i586.rpm webmin-1.290-4.1mdv2007.0.noarch.rpm from /var/cache/urpmi/rpmsPreparing... ############################################# 1/4: perl-Net_SSLeay.pm ############################################# 2/4: perl-Authen-PAM ############################################# 3/4: perl-CGI ############################################# 4/4: webmin #############################################[root@localhost bart]#

Link to comment
Share on other sites

Felt a little adventurous. Did the following:[root@localhost bart]# urpmi phpOne of the following packages is needed: 1- apache-mod_php-5.1.6-2mdv2007.0.i586 : The PHP5 HTML-embedded scripting language for use with apache (to install) 2- php-cli-5.1.6-1.3mdv2007.0.i586 : PHP5 CLI interface (to install) 3- php-fcgi-5.1.6-1.3mdv2007.0.i586 : PHP5 CGI interface with FastCGI support (to install) 4- php-cgi-5.1.6-1.3mdv2007.0.i586 : PHP5 CGI interface (to install)What is your choice? (1-4) 1To satisfy dependencies, the following packages are going to be installed:apache-mod_php-5.1.6-2mdv2007.0.i586ccp-0.4.1-1mdk.noarchlibmm14-1.4.0-1mdk.i586libphp5_common5-5.1.6-1.3mdv2007.0.i586php-ctype-5.1.6-1mdv2007.0.i586php-ftp-5.1.6-1mdv2007.0.i586php-gettext-5.1.6-1mdv2007.0.i586php-hash-5.1.6-1mdv2007.0.i586php-ini-5.1.6-1mdv2007.0.i586php-pcre-5.1.6-1mdv2007.0.i586php-posix-5.1.6-1mdv2007.0.i586php-session-5.1.6-1mdv2007.0.i586php-simplexml-5.1.6-1mdv2007.0.i586php-sysvsem-5.1.6-1mdv2007.0.i586php-sysvshm-5.1.6-1mdv2007.0.i586php-tokenizer-5.1.6-1mdv2007.0.i586php-xmlreader-5.1.6-1mdv2007.0.i586php-xmlwriter-5.1.6-1mdv2007.0.i586Proceed with the installation of the 18 packages? (3 MB) (Y/n) y ftp://ftp.uwsg.indiana.edu/linux/mandrake...2007.0.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...1mdk.noarch.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...0-1mdk.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpminstalling php-tokenizer-5.1.6-1mdv2007.0.i586.rpm php-simplexml-5.1.6-1mdv2007.0.i586.rpm ccp-0.4.1-1mdk.noarch.rpm php-hash-5.1.6-1mdv2007.0.i586.rpm php-xmlwriter-5.1.6-1mdv2007.0.i586.rpm php-sysvshm-5.1.6-1mdv2007.0.i586.rpm libmm14-1.4.0-1mdk.i586.rpm php-gettext-5.1.6-1mdv2007.0.i586.rpm php-ini-5.1.6-1mdv2007.0.i586.rpm php-xmlreader-5.1.6-1mdv2007.0.i586.rpm php-pcre-5.1.6-1mdv2007.0.i586.rpm php-session-5.1.6-1mdv2007.0.i586.rpm php-ctype-5.1.6-1mdv2007.0.i586.rpm php-sysvsem-5.1.6-1mdv2007.0.i586.rpm php-ftp-5.1.6-1mdv2007.0.i586.rpm php-posix-5.1.6-1mdv2007.0.i586.rpm apache-mod_php-5.1.6-2mdv2007.0.i586.rpm libphp5_common5-5.1.6-1.3mdv2007.0.i586.rpm from /var/cache/urpmi/rpmsPreparing... ############################################# 1/18: libphp5_common5 ############################################# 2/18: php-posix ############################################# 3/18: php-ftp ############################################# 4/18: php-sysvsem ############################################# 5/18: php-ctype ############################################# 6/18: php-pcre ############################################# 7/18: php-xmlreader ############################################# 8/18: php-gettext ############################################# 9/18: libmm14 ############################################# 10/18: php-session ############################################# 11/18: php-sysvshm ############################################# 12/18: php-xmlwriter ############################################# 13/18: php-hash ############################################# 14/18: ccp ############################################# 15/18: php-ini ############################################# 16/18: php-simplexml ############################################# 17/18: php-tokenizer ############################################# 18/18: apache-mod_php #############################################Shutting down httpd: [ OK ]Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName[ OK ]And the this:[root@localhost bart]# urpmi mysqlOne of the following packages is needed: 1- MySQL-5.0.24a-2mdv2007.0.i586 : MySQL: a very fast and reliable SQL database engine (to install) 2- MySQL-Max-5.0.24a-2mdv2007.0.i586 : MySQL - server with extended functionality (to install)What is your choice? (1-2) 1To satisfy dependencies, the following packages are going to be installed:MySQL-5.0.24a-2mdv2007.0.i586MySQL-client-5.0.24a-2mdv2007.0.i586MySQL-common-5.0.24a-2mdv2007.0.i586libmysql15-5.0.24a-2mdv2007.0.i586perl-DBD-mysql-3.0006-2mdv2007.0.i586perl-DBI-1.52-1mdv2007.0.i586Proceed with the installation of the 6 packages? (40 MB) (Y/n) yftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpmftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpmftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpmftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpmftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpmftp://ftp.nluug.nl/pub/os/Linux/distr/Man...2007.0.i586.rpminstalling MySQL-client-5.0.24a-2mdv2007.0.i586.rpm perl-DBI-1.52-1mdv2007.0.i586.rpm MySQL-common-5.0.24a-2mdv2007.0.i586.rpm libmysql15-5.0.24a-2mdv2007.0.i586.rpm perl-DBD-mysql-3.0006-2mdv2007.0.i586.rpm MySQL-5.0.24a-2mdv2007.0.i586.rpm from /var/cache/urpmi/rpmsPreparing... ############################################# 1/6: libmysql15 ############################################# 2/6: perl-DBI ############################################# 3/6: MySQL-client ############################################# 4/6: perl-DBD-mysql ############################################# 5/6: MySQL-common ############################################# 6/6: MySQL #############################################----------------------------------------------------------------------More information on package MySQL-5.0.24a-2mdv2007.0.i586The initscript used to start mysql has been reverted to use the one shippedby MySQL AB. This means the following changes: * The MYSQLD_OPTIONS="--skip-networking" option in the /etc/sysconfig/mysqld file has been removed, this is now set in the /etc/my.cnf file. * The MySQL Instance Manager is used by default, set use_mysqld_safe="1" in the /etc/sysconfig/mysqld file to use the old mysqld_safe script.The extra MySQL-NDB server package has been merged into the MySQL-Max packageand ndb related pieces has been split into different sub packages as done byMySQL AB. The MySQL libraries and the MySQL-common sub package uses theMySQL-Max build so that no functionality required by for example the NDBparts are lost.The MySQL-common package now ships with a default /etc/my.cnf file that isbased on the my-medium.cnf file that comes with the source code. The/etc/my.cnf file is constructed at build time of this package.To connect to the Instance Manager you need to pass the correct command lineoptions like in the following examples: * mysql -u root --password=my_password --port=2273 --protocol=TCP * mysql -u root --password=my_password --socket=/var/lib/mysql/mysqlmanager.sockPlease note you also need to add a user in the /etc/mysqlmanager.passwd file andmake sure the file is owned by the user under which the Instance Manager serviceis running under.----------------------------------------------------------------------[root@localhost bart]# I hope I was able to satisfy the php and mysql requirements of phpbb without breaking anything.

Link to comment
Share on other sites

Tried the localhost and 127.0.0.1 routine, and got the "It works!" message.
Brilliant !!!! Congrats !!
I'd like to read that MDV PowerPack PDF from page 1. If I can download it somewhere, I can spare you the trouble of having to email. Can you post a link?
Well it is not available for download . . . only for clubmembers ;) . . that is why I was planning to send it to you.B) Bruno
Link to comment
Share on other sites

As fart as I know it is "root" and the root password . . . . . but what you can try is:

$ su - root< password ># konqueror

This will start the browser as "root" . . next you can go to https://localhost:10000/ B) BrunoNOTE: Don't start browsing the net as root because that is very unsafe.

Link to comment
Share on other sites

As usual, you are right. :P I did the su and launched Konqueror and I was able to get straight to the webmin control panel. Actually, I kind of discovered this su/password/konqueror routine (after days of wondering how I could get the permission to write to my usb key and an ntfs partition B) ), but it never thought of it to deal with my webmin login problem. That's probably because I was decided it was an apache or webmin permission thing.So this is Mandriva. I cannot just log out as user and log in as root. It is always su>password>application to get root privileges?

Link to comment
Share on other sites

So this is Mandriva. I cannot just log out as user and log in as root.
Well, basically you could . . . but it is very unsafe ! . . . So you better do "su" <password> to get root privileges for only the application you want to use and not systemwide. ;)B) Bruno
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...