Just another ubuntu user

Showing posts with label tips n trick. Show all posts
Showing posts with label tips n trick. Show all posts

Wednesday, November 22, 2006

Web support ready on Edgy

instal mysql server
sudo apt-get install mysql-server
mysqladmin -u root password paswodnya-ach
sudo /etc/init.d/mysql restart

instal apache
apt-get install apache2 apache2-common apache2-doc apache2-mpm-prefork apache2-utils libapr0 libexpat1 ssl-cert libapache2-mod-auth-mysql
instal php5
apt-get install autoconf automake1.4 autotools-dev libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php-pear php5-ldap php5-mhash php5-mysql php5-mysqli php5-snmp php5-sqlite php5-xmlrpc php5-xsl php5-imap php5-mcrypt php5-pspell
Jika muncul "Continue installing libc-client without Maildir support?" jawab "Yes"
Edit /etc/apache2/apache2.conf dan rubah "Directory Index" ke
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtml
Edit /etc/apache2/ports.conf dan tambahkan Listen 443
Listen 80
Listen 443
Enable module apache
a2enmod ssl
a2enmod rewrite
a2enmod suexec
a2enmod include
Kemudian restart apache anda
/etc/init.d/apache2 restart
silahkan akses dari browser anda http://localhost:443 untukk https/ssl dan http://localhost untuk http

source: http://ubuntuguide.org/wiki/Ubuntu_Edgy
http://www.howtoforge.com

Friday, November 17, 2006

Edgy, Toshiba tecra M1, XP4m32 Trident graphics chip, and Scrolling a window

After i installed a new version of ubuntu (the Edgy Eft) on my tarantula, i found that my video card wasnt work properly especially when im doing fast scrolling, after i searching it through many search engine just to find some "typical problems" (noted: ive already configure my xserver for many times but wont work), i found a link that make my video card works perfect on Edgy

just do this steps
#apt-get install xorg-dev
#apt-get build-dep xorg-server
#wget -c http://xorg.freedesktop.org/releases/individual/\
driver/xf86-video-trident-1.2.3.tar.bz2
#tar xjf xf86-video-trident-1.2.3.tar.bz2
#cd video-trident-1.2.3
#./configure
#make
#make DESTDIR=/tmp/xorg_ install
--- Backup old driver
#sudo mv /usr/lib/xorg/modules/drivers/trident_drv.so /usr/lib/xorg/modules/drivers/trident_drv.so.bak
--- Install new one
#cd /tmp/xorg_/usr/local/lib/xorg/modules/drivers/
#sudo mv * /usr/lib/xorg/modules/drivers/

Restart X and your're set.

references : https://launchpad.net/distros/ubuntu/+source/xserver-xorg-video-trident/+bug/67620
thx to Stefan Sonnenberg-Carstens for the steps, and Alan Hourihane for the trident drivers patch.