centos

Install ffmpeg di Centos

Submitted by asrirachman on 12. July 2010 - 11:12
  • buat file /etc/yum.repos.d/dag.repo 
  • isi file /etc/yum.repos.d/dag.repo adalah

[dag]
name=DAG RPM Repository
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1

  • import key

rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

  • yum update 
  • yum install ffmpeg ffmpeg-devel ffmpeg-libpostproc

Reset password root mysql di Server Centos

Submitted by asrirachman on 11. May 2010 - 19:30

Step # 1 : Stop mysql service

# /etc/init.d/mysqld stop

Output:

Stopping MySQL database server: mysqld.

Step # 2: Start to MySQL server w/o password:

# mysqld_safe --skip-grant-tables &

Output:

[1] 5988
Starting mysqld daemon with databases from /var/lib/mysql
mysqld_safe[6025]: started

Step # 3: Connect to mysql server using mysql client:

# mysql -u root

Output:

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.1.15-Debian_1-log

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

mysql>

Step # 4: Setup new MySQL root user password

Konfigurasi akses phpmyadmin pada server centos

Submitted by asrirachman on 14. April 2010 - 13:57

phpmyadminsecara default, setelah instalasi, phpmyadmin hanya bisa diakses melalui localhost, sehingga tidak bisa diakses dari jaringan lain. Untuk itu kita harus mengatur konfigurasi akses agar phpmyadmin bisa dibuka dari mana saja.

lokali file konfigurasi : /etc/httpd/conf.d/phpMyAdmin.conf

edit file konfigurasi :

- - - - - start edit - - - - - -

Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin
<Directory /usr/share/phpMyAdmin/>
   order deny,allow
   deny from all
   allow from all
   allow from ::1
</Directory>

- - - - - stop edit - - - - - -

Syndicate content
Drupal theme by Kiwi Themes.