-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpmyadmin
50 lines (35 loc) · 1.09 KB
/
phpmyadmin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Q. Step by Step PHPmYadmin install
check mysql is install
mysql -v
check php is install
php -v
install php
sudo yum install php
uninstall apache
sudo apt-get purge apache2.2-common
install apache
sudo apt-get install apache2
download phpmyadmin on /var/www
cd /var/www
wget http://www.sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/3.4.1/phpMyAdmin-3.4.1-all-languages.tar.bz2
#extract
tar -xvf phpMyAdmin-3.4.1-all-languages-tar.bz2
#move to phpmyadmin
mv phpMyAdmin-3.4.1-all-languages phpmyadmin
# copy sample file
cp config.sample.inc.php config.inc.php
#open config.inc.php
cfg['Servers'][$i]['host'] = 'tcerprodb2.cakz06rkzza3.us-east-1.rds.amazonaws.com'
$cfg['blowfish_secret'] = 'sandip';
# setup phpmyadmin.conf file on /etc/httpd/config.d/phpmyadmin.conf
Listen 8081
<VirtualHost _default_:8081>
ServerName MyECF-Pacer-Service
DocumentRoot /var/www
ErrorLog "/mnt/data/logs/error.log"
<Directory /var/www/>
Options Indexes MultiViews
AllowOverride all
Allow from all
</Directory>
</VirtualHost>