Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - Linux Tweaks > ARCHIVES - Tips, Tricks & Tweaks
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Tips, Tricks & Tweaks Post your tips, tricks and tweaks about SuSE Linux in here. Please do not ask questions here - this is for factual information

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 25-Oct-2007, 16:25
FeatherMonkey
Guest
 
Posts: n/a
Default

As the title

##Install bits and start apache and mysql check advanced in runlevels enable for 3 and 5 if you wish to autostart and start...
As root
Code:
zypper in apache2 php5 phpMyAdmin mysql
yast2 runlevel
###Set up password on mysql for root
As root
Code:
mysql -u root
UPDATE mysql.user SET Password = PASSWORD('passwd') WHERE User = 'root';
ctrl c
###Restart mysql to implement password
As root
Code:
/etc/init.d/mysql restart
###Check to make sure php and apache are running
As User
Code:
echo "<?php phpinfo(); ?>" > ~/public_html/test.php
konqueror 127.0.0.1/~$USER/test.php
###Fix phpMyAdmin copy config and edit one line
As Root
Code:
cp /srv/www/htdocs/phpMyAdmin/config.sample.inc.php /srv/www/htdocs/phpMyAdmin/config.inc.php
kate /srv/www/htdocs/phpMyAdmin/config.inc.php

edit $cfg['blowfish_secret'] = ''**#place a value lots of random stuff for blowfish secret
###Check phpMyAdmin
As User
Code:
konqueror 127.0.0.1/phpMyAdmin
Now read lots and lots of documentation about php exploits, bad php writing, mysql injection, look into proper securing of apache etc.etc....
  #2 (permalink)  
Old 04-May-2008, 19:55
EnterDaMatrix
Guest
 
Posts: n/a
Default

I followed this and when I login to phpmyadmin with root it just has a blank screen.... ugh.
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2