use this resources to install proftpd on centos machine.
http://www.cyberciti.biz/tips/linux-installing-configuring-proftpd-ftp-server.html
Friday, December 31, 2010
Monday, December 27, 2010
reset kloxo password from ssh
found this article: http://client.zanyhost.com/knowledgebase.php?action=displayarticle&id=19
/usr/bin/lphp.exe ../bin/common/resetpassword.php master ##newpassword##
done!
install evms on centos using yum
i'm refering this page
1) Get and *install rpmforge. http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
2) "sudo yum update". It'll take a while to add the new repository. It'll probably download some packages, too (30 megs in my case, but only 8 packages from rpmforge).
3) "yum search evms".
4) "sudo yum install evms.i386".
now installing :)
*install rpmforge: rpm -Uvh rpmforge*
Sunday, December 19, 2010
LVM create new on centos
http://www.tcpdump.com/kb/os/linux/configuring-lvm/intro.html
just store this url for future reference.
expand lvm partition
i found this tutorial.
this will expand logical volume LVM while system is online. cool !
edit: other tools like webmin also can edit/create LVM correctly. :)
power off (shutdown) centos server
my linux box not power off after shutdown command. search across google and found this
trying poweoff command my server & still waiting if this success. :)
Friday, December 17, 2010
install usb device on xen client
currently in mission install usb device into xen windows installation
following instruction from : http://www.virtuatopia.com/index.php/Adding_USB_Devices_to_a_Xen_HVM_domainU_Guest
command lsusb not found.
install lsusb using : yum install usbutils
finally:
[root@localhost ~]# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 004 Device 002: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 006 Device 001: ID 0000:0000
next? continued..
Tuesday, December 14, 2010
error start xen server on centos hypervm
http://markus.revti.com/2008/08/error-kernel-image-does-not-exist-boothypervm-xen-vmlinuz/
If you have a CentOS Xen Dom0 and experiencing this problem "error: kernel image does not exist:/boot/hypervm-xen-vmlinuz" after upgrading Xen kernel on HyperVM based VPS, here is how to fix it:
cd /usr/local/lxlabs/hypervm/httpdocs/ lphp.exe ../bin/misc/fixcentos5xen.php
this problem is caused by the initrd didn't function correctly on CentOS Xen.
Sunday, December 12, 2010
yum install x windows
if you have minimal install on your centos server, we can add x windows by using this from ssh
yum groupinstall 'X Window System' 'GNOME Desktop Environment' 'Sound and Video'i'm using reference from this website: http://lists.centos.org/pipermail/centos/2006-April/020567.html
Transaction Summary=============================================================================Install 196 Package(s) Update 2 Package(s)Remove 0 Package(s)Total download size: 253 MIs this ok [y/N]: yDownloading Packages: warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 6b8d79e6
Monday, December 06, 2010
upgrading rh9 to centos
hi.
i found this link to upgrade rh9 to centos 3
remarks: this is failed mission
:)
Sunday, November 14, 2010
Default path mysql kloxo at centos
/var/lib/mysql/
** spend 2hours to found this.. haiya..
Wednesday, August 04, 2010
Hotmail. new improvement
Monday, June 28, 2010
ICS on windows 7
if you want to share internet connection using ICS from windows 7 to another windows 7 ICS connection, you maybe receive ip 192.168.137.1 is being used by other connection.
you can change this ip anyway into other address to prevent conflict. there are some registry hack available from this location
http://www.windowsnetworking.com/kbase/WindowsTips/WindowsVista/RegistryTips/RegistryHacks/ChangingtheDefaultIPAddressofICSinVista.html
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet\Services\SharedAccess\Parameters
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Services\SharedAccess\Parameters
change into different IP address to enable internet sharing from WLan to Ethernet. this works for me! :)
you can change this ip anyway into other address to prevent conflict. there are some registry hack available from this location
http://www.windowsnetworking.com/kbase/WindowsTips/WindowsVista/RegistryTips/RegistryHacks/ChangingtheDefaultIPAddressofICSinVista.html
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet\Services\SharedAccess\Parameters
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Services\SharedAccess\Parameters
change into different IP address to enable internet sharing from WLan to Ethernet. this works for me! :)
Friday, June 18, 2010
Amazing : google image search with colors
Monday, June 14, 2010
yum and apt at RH9 machine
after a few headache i found this to install yum and apt in my rh9 machine
download and install rpm here and it's works!
lastly with root# type yum update and tadaa.. :)
SQL Inner Join
SELECT t1.username AS Pengguna, t2.username AS Upline
FROM reseller t1
INNER JOIN reseller t2 ON t2.user_id = t1.parentID
LIMIT 0 , 30
FROM reseller t1
INNER JOIN reseller t2 ON t2.user_id = t1.parentID
LIMIT 0 , 30
SELECT column_list FROM table_A A INNER JOIN table_A B ON A.column_name1 = B.column_name2…. WHERE row conditions
Monday, May 17, 2010
Sunday, May 09, 2010
Ubuntu - Run gedit using root
to run gedit in root mode, press Alt+F2 and type gksudo gedit
to browse file in root, also press Alt+F2 and type gksudo nautilus
Saturday, May 01, 2010
wget in windows
recently i having problems when download large files and connection temporarily stops at 90%. that make me crazy to wait more until i found solution on how to continue your download.
i'm using google chrome and download ubuntu 10 64bit. waiting about 3 hours @ 44kB/s. at 90%, connection disconnect and download stops at 449MB. damn. i'm searching in google and found this solution.
for all having same problem you can download wget.exe for windows in this website
copy into c:\windows folder and use wget -c http://[url] to continue. -c switch is for continue current downloads.
now i'm continue download rest 10%. that's save my bandwidth :) thank you wget.C:\Users\user>wget -c http://ubuntu.lagis.at/releases/lucid/ubuntu-10.04-desktop-amd64.iso--2010-05-01 12:43:08-- http://ubuntu.lagis.at/releases/lucid/ubuntu-10.04-desktop-amd64.isoResolving ubuntu.lagis.at... 83.164.133.196Connecting to ubuntu.lagis.at|83.164.133.196|:80... connected.HTTP request sent, awaiting response... 206 Partial ContentLength: 731453440 (698M), 232082942 (221M) remaining [application/x-iso9660-image]Saving to: `ubuntu-10.04-desktop-amd64.iso'
Thursday, April 29, 2010
Installing git on Ubuntu
after several days wondering how to upgrade git on ubuntu (to test Chromium OS) this is my solution.
$ sudo apt-get build-dep git-core git-doc
$ wget http://kernel.org/pub/software/scm/git/git-1.7.0.6.tar.bz2
$ tar -xvjf git-1.7.0.6.tar.bz2
$ cd git-1.7.0.6/
$ make prefix=/usr/local all doc
$ sudo make prefix=/usr/local install install-doc
$ which git
/usr/local/bin/git
$ git --version
git version 1.7.0.6
doc is optional.
now i proceed to chromium install :)
Tuesday, January 12, 2010
Google chrome print very small - fixed
Currently i'm using google chrome to browse internet, make payment and print some recipt after payment has been made. there are problem here because google chrome does not have printing preference like other browser (ie & firefox). i'm not able to print into actual size and all my recipt are very small :)
the solution is disable fast draft print : http://www.google.com/support/forum/p/Chrome/thread?tid=761bf9c466615340&hl=en
for my cute PDF, (always using this for later printing) i use optimize for portability as follows:
1. press ctrl + P for printing menu
2. select CutePDF Writer printer
3. click Preferences > Advanced and click at PostScript Options
4. there are Optimize for speed as default value
5. Select Optimize for portablity and now you can print at actual size. (see screenshot)
thats all. hope this will help.
Monday, January 11, 2010
can ping IP address but cannot browse - settled
i have big problem tomorrow and fixed it today. yess!. the problem is i'm accidently remove winsock2 registry entries to fix another problem but big problem arise.
i've refered to this website and giving me some idea
when i tried to browse internet it shows that page cannot be displayed or connection error. when try to ping, it replies when enter an ip address but cannot resolve ip when enter hostname or domain for example. ping yahoo.com ping google.com failed. ping 192.168.1.1 success.
after doing some search (using another computer, :( i've tried all the steps but not working.
final solution is easy.
1. go to network connection and right click at wireless network connection or local area connection. select properties.
2. click install > protocol > and click add
3. click Have Disk
4. type c:\windows\inf into copy manufacturer's files from.
5. select Internet Protocol (TCP/IP) and continue. this will reset your TCP/IP network configuration and all problems gone.
try first and leave a comment if not able to solve probelm
Menukar password root linux
Sekiranya server linux kehilangan password root atau telah ditukar oleh seseorang yang tidak dikenali, kita boleh menukar semula kata laluan root dengan mengikuti langkah di bawah. contoh diberikan bersama gambar yang dipetik dari laman web lain.
untuk rujukan bahasa inggeris sila lawati:
http://linuxgazette.net/107/tomar.html
1. semasa paparan GRUB dipaparkan tekan 'e' untuk mengubah command line
2. pilih pilihan kedua atau yang ada perkataan kernel dan tekan kunci 'e' sekali lagi.
3. tambah perkataan ' single' atau ' 1' tanpa penutup kata. pastikan ada ruangan kosong sebelum perkataan single atau 1. ini untuk masuk ke dalam sistem linux dengan pengguna tunggal.
4. sekiranya gagal, tambah init=/bin/bash di akhir perkataan.
5. tekan ENTER untuk teruskan. setelah itu tekan 'b' untuk masuk ke sistem linux dengan single user. anda akan masuk dengan akaun root
6. pada paparan root masukkan command passwd untuk menukar password root.
setelah itu, taip reboot untuk menggunakan server seperti biasa dengan password baru.
Subscribe to:
Posts (Atom)