NUBSolutions

Just another WordPress.com weblog

Aktifasi Web dan Komponen

Posted by nubsolutions on December 13, 2008

Installasi Fedora Core 9 pada PowerPC

Disable sementara fungsi firewall

[root@xxx html]# service iptables save
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]
[root@xxx html]# service iptables stop
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
iptables: Unloading modules:                               [  OK  ]
[root@xxx html]# chkconfig iptables off

Install Module mc

[root@xxx html]# yum install mc
Loaded plugins: refresh-packagekit
fedora                                                   | 2.4 kB     00:00
updates                                                  | 2.6 kB     00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
–> Running transaction check
—> Package mc.ppc 1:4.6.2-3.pre1.fc9 set to be updated
–> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
mc                      ppc        1:4.6.2-3.pre1.fc9  fedora            2.1 M

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 2.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): mc-4.6.2-3.pre1.fc9.ppc.rpm                       | 2.1 MB     00:06
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: mc                           ######################### [1/1]

Installed: mc.ppc 1:4.6.2-3.pre1.fc9
Complete!
Untuk membuat password MySQL

[root@xxx phpmyadmin]# mysqladmin password xxx
Untuk login

[root@xxx phpmyadmin]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.0.51a Source distribution

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.
Masukan file sql kedalam database
[root@penyiaran src]# mysql -u root -p mediaxxx < mediaxxx.sql
Enter password:
ERROR 1049 (42000): Unknown database ‘mediaxxx’
[root@penyiaran src]#
karena salah maka dibuat database pada mysql terlebih dulu kemudian edit file sql tersebut

[root@penyiaran src]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 5.0.51a Source distribution

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.

mysql> CREATE DATABASE mediaxxx;
Query OK, 1 row affected (0.00 sec)

mysql> quit
Bye

edit file sql tersebut dan remark perintah untuk membuat database
— CREATE DATABASE `namadatabase` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; —
Jalankan kembali import file sql kedalam database, jika tidak ada kesalahan berarti import tabel berhasil.

[root@penyiaran src]# mysql -u root -p mediaxxx < mediaxxx.sql
Enter password:

[root@penyiaran src]#
membuat user baru pada mysql
mysql> GRANT USAGE on mysql.* TO ‘user1’@’localhost’ IDENTIFIED BY ‘password’;
Query OK, 0 rows affected (0.00 sec)

 

mysql> grant all on *.* to ‘user1’@’localhost’;
Query OK, 0 rows affected (0.00 sec)

mysql>

Install module phpmyadmin

[root@xxx src]#tar -zxvf phpMyAdmin-3.1.1-english.tar.gz -C /var/www/html/

Agar setiap rename file dalam mode interaktif.

[root@xxx html]# type mv
mv is aliased to `mv -i’

[root@xxx html]# mv phpMyAdmin-3.1.1-english/ phpmyadmin/
[root@xxx phpmyadmin]# cp config.sample.inc.php config.inc.php

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: