Bagi linuxers yg lupa akan password root mysql, berikut adalah cara-caranya utk mereset password root mysql anda:
# /etc/rc.d/init.d/mysql stop
# cd /usr/local/mysql/bin
# ./mysqld_safe --skip-grant-tables &
mysql -u root
mysql> use mysql;
mysql> update user set password=PASSWORD("NEW-ROOT-PASSWORD") where User='root';
mysql> flush privileges;
mysql> quit
# /etc/rc.d/init.d/mysql start
# mysql -u root -pNEW-ROOT-PASSWORD
Gut luck guys 
Linux, Web Server
mysql, password
Download mysql-standard-5.0.27
# tar -xzf mysql-standard-5.0.27-linux-i686-glibc23.tar.gz
# useradd -d /usr/local/mysql -s /sbin/nologin -M -u 72 mysql
# cp -r mysql-standard-5.0.27-linux-i686-glibc23/* /usr/local/mysql/.
# cd /usr/local/mysql
# scripts/mysql_install_db --user=mysql
# chown -R root .
# chown -R mysql data
# chgrp -R mysql .
Read more…
Linux, Web Server
Linux, My SQL, server
# vi /etc/yum.repos.d/CentOS-Base.repo
Copykan text berikut ini:
#
[Add Ons]
name=CentOS
baseurl=http://kambing.ui.edu/centos/5.1/addons/i386/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.edu/centos/RPM-GPG-KEY-CentOS-5
[CentOS Plus]
name=CentOS
baseurl=http://kambing.ui.edu/centos/5.1/centosplus/i386/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.edu/centos/RPM-GPG-KEY-CentOS-5
Read more…
Linux, Web Server
Linux, server
berikut adalah setingan repository ubuntu lokal dari Kambing.ui.edu, untuk situs repo lainnya dapat dilihat di :
http://wiki.ubuntu-id.org/SourcesListLokal
file yang digunakan : /etc/apt/sources.list
edit file tersebut dan isi dengan format dibawah ini :
Repositori Kambing (UI — Telkom, Indosat, OpenIXP, INHERENT)
Informasi situs: http://kambing.ui.edu
Read more…
Web Server
Linux
Bagi anda penggemar pemograman WAP mungkin menemui beberapa kendala masalah halaman yang tidak dikenali oleh micro browser ataupun browser pada handphone. Kemungkinan hal tersebut bisa disebabkan karena kita salah ketika memasukan setting MIME type pada web server kita.
Read more…
Web Server
Kompilasi Imap
Download imap-2006c1.tar.Z
# gunzip imap-2006c1.tar.Z
# tar -xf imap-2006c1.tar
# cp -R imap-2006c1 /usr/local/.
# chown -R root.root /usr/local/imap-2006c1
# cd /usr/local/imap-2006c1
# make slx SSLTYPE=nopwd
Read more…
Web Server
Download httpd-2.2.4.tar.gz
Instalasi :
# tar -zxf httpd-2.x.x.tar.gz
# cd httpd-2.x.x/srclib/apr
# ./configure --prefix=/usr/local/httpd
# make
# make install
# cd ../apr-util
# ./configure --prefix=/usr/local/httpd --with-apr=../apr
# make
# make install
Read more…
Web Server
Recent Comments