Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Aug 04, 2014 3:49 am 
Offline
Senior Newbie

Joined: Mon Aug 04, 2014 3:41 am
Posts: 8
I have hosted my website with linode using putty. I have also downloaded the phpmyadmin for managing database.Now i am trying to configure phpmyadmin. But command is not working.when i execute
"cd /srv/www/example.org/public_html"
command this giving me error
"-bash: cd: /srv/www/monjardeal.com/public_html: No such file or directory".
when i viewed srv folder under root this folder is empty. I followed the instructions of the following link for installing phpmyadmin.
https://www.linode.com/docs/databases/m ... n-7-wheezy

Please help me configuring and setting up the phpmyadmin for my site.


Top
   
PostPosted: Mon Aug 04, 2014 5:10 pm 
Offline
Senior Member

Joined: Tue Aug 02, 2011 2:45 pm
Posts: 55
I used PHPMyAdmin for sometime until I realized that a web based app with full access to the database is probably not a good security practice. I started using MySQL Workbench over SSH and made sure the external MySQL port was closed for added security.

Unfortunately, that's all the help I can offer. I was using Apache and PHPMyAdmin and it just worked on Ubuntu when I installed the packages.


Top
   
PostPosted: Mon Aug 04, 2014 8:09 pm 
Offline
Senior Member

Joined: Fri May 02, 2014 5:20 pm
Posts: 58
Website: http://www.sturmkrieg.ru
Location: Richmond
The Other Air Force wrote:
I used PHPMyAdmin for sometime until I realized that a web based app with full access to the database is probably not a good security practice. I started using MySQL Workbench over SSH and made sure the external MySQL port was closed for added security.

Unfortunately, that's all the help I can offer. I was using Apache and PHPMyAdmin and it just worked on Ubuntu when I installed the packages.


This is my advice. When I used PHPmyAdmin, I had an IP whitelist in .htaccess on the directory the symlink was in. It can be tedious, but learning SQL and using the MySQL shell is best.


Top
   
PostPosted: Tue Aug 05, 2014 2:02 am 
Offline
Senior Newbie

Joined: Mon Aug 04, 2014 3:41 am
Posts: 8
sudo nano /srv/www/monjardeal.com/public_html/phpmyadmin/.htaccess

order allow,deny
Allow from All

is the content of my .htaccess file. but still phpmyadmin is not opening in browser window. When i open 212.71.255.110/phpmyadmin link this redirects me to https://212.71.255.110/phpmyadmin/?coll ... ral_ci&SID but nothing shows in broswer window.


Top
   
PostPosted: Tue Aug 05, 2014 9:30 am 
Offline
Senior Member

Joined: Fri May 02, 2014 5:20 pm
Posts: 58
Website: http://www.sturmkrieg.ru
Location: Richmond
mpsews wrote:
sudo nano /path/to/file/removed/phpmyadmin/.htaccess

order allow,deny
Allow from All

is the content of my .htaccess file. but still phpmyadmin is not opening in browser window. When i open 212.71.255.110/phpmyadmin link this redirects me to https://212.71.255.110/phpmyadmin/?coll ... ral_ci&SID but nothing shows in broswer window.


I think it should be deny, then allow. It should be deny from all, then allow from IP addresses. The webserver should not allow everyone into PHPmyAdmin.


Last edited by John Henry Eden on Tue Aug 05, 2014 10:44 pm, edited 1 time in total.

Top
   
PostPosted: Tue Aug 05, 2014 9:51 am 
Offline
Linode Staff

Joined: Mon Jun 16, 2014 2:27 pm
Posts: 50
Location: Galloway, NJ
mpsews wrote:
When i open 212.71.255.110/phpmyadmin link this redirects me to https://212.71.255.110/phpmyadmin/?coll ... ral_ci&SID but nothing shows in broswer window.


Try adding /index.php. Looks like you may not have Indexes set up in your web server:

http://212.71.255.110/phpmyadmin/index.php

Best Regards,

Dave


Top
   
PostPosted: Tue Aug 05, 2014 10:48 pm 
Offline
Senior Member

Joined: Fri May 02, 2014 5:20 pm
Posts: 58
Website: http://www.sturmkrieg.ru
Location: Richmond
You should remove the actual file paths from your posts. It's not an actual vulnerability, but it can lead to exploitation of vulnerabilities.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group