Archive

Archive for the ‘Web Server’ Category

Lupa password root mysql

October 13th, 2009

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 :D

Linux, Web Server ,

Install MySQL di Linux

September 17th, 2008

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 , ,

Repository Centos 5.1 di “kambing”

July 29th, 2008

# 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 ,

Repository Ubuntu di situs kambing.ui.edu

May 8th, 2008

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

MIME type untuk aplikasi WAP

May 5th, 2008

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

Install PHP di linux

March 7th, 2008

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

Install Apache di linux

March 7th, 2008

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