I have been trying to install phpmyadmin through Bitvise SSH Client.
What I did on SSH client terminal console was:
wget https://files.phpmyadmin.net/phpMyAdmin/4.5.4.1/phpMyAdmin-4.5.4.1-all-languages.zip
unzip phpMyAdmin-4.5.4.1-all-languages.zip
mv phpMyAdmin-4.5.4.1-all-languages /var/www/html/phpMyAdmin
rm phpMyAdmin-4.5.4.1-all-languages.zip
egrep ‘User|Group’ /etc/httpd/conf/httpd.conf
Here it came out an eoor about '|Group***, I ignored it and kept doing the next step'
useradd phpmydmin
passwd phpmyadmin
cd /var/www/html
chown –R phpmyadmin.apache phpMyAdmin/
cd phpMyAdmin
mkdir config
cp config.sample.inc.php config/config.inc.php
chown –R phpmyadmin.apache config/
chmod –R o+rw config/
service httpd restart
It didn't work...Then I followed the steps online that I found on
http://tecadmin.net/setup-phpmyadmin-on-linux-using-source/.
I didn't know how to add the following below either:
<Directory "/usr/share/phpmyadmin">
Order Deny,Allow
Deny from all
Allow from 192.168.1.0/24
</Directory>
Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin"
Could someone help me with it please? &
Why allowing from 192.168.1.0/24? which IP is this?
Thank you very much!