Fedora 7 stuck on 800X600 Screen Resolution

4:34 PM / Diposting oleh Sharing IT / komentar (6)

Type this command "xrandr -q"

This list will appear :

Screen 0: minimum 320 x 240, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
1024x768 60.0
1024x576 60.0
960x600 60.0
960x540 60.0
800x600 60.0 * 56.0
768x576 60.0
720x576 60.0
856x480 60.0
800x480 60.0
720x480 61.0
640x480 67.0 60.0
720x400 70.0
512x384 60.0
400x300 60.0
320x240 61.0

Now change it to whatever you had
Example for 1024 x 768

Type this command "xrandr -s 0"

Label:

Membuat Proxy Server Dengan CENTOS 5 / FEDORA 7.0

11:57 AM / Diposting oleh Sharing IT / komentar (1)

Siapkan 1 CPU server untuk internet, dengan menggunakan 2 LANCARD

Biasanya sebuah mainboard hanya di siapkan satu LANCARD onboard, bearti anda harus memnambahkan satu buah lancard lagi di dalamnya. Saat ini saya menggunakan 1 lancard dengan merk D-Link DFE – 528 TX.

Setelah di plug in dan OS nya sudah ready, pada terminal ketikkan :

[root@misdept /]# dmesg ax |grep eth

eth0: SiS 900 PCI Fast Ethernet at 0xa800, IRQ 217, 00:50:8d:c3:39:7d.

eth1: RealTek RTL8139 at 0xffffc20000022000, 00:1e:58:31:b3:eb, IRQ 209

eth1: Identified 8139 chip type 'RTL-8100B/8139D'

eth0: Media Link On 100mbps full-duplex

eth1: link up, 100Mbps, full-duplex, lpa 0x45E1

eth0: no IPv6 routers present

eth1: no IPv6 routers present

eth0: Media Link On 100mbps full-duplex

eth1: link up, 100Mbps, full-duplex, lpa 0x45E1

eth0: no IPv6 routers present

eth1: no IPv6 routers present

Tampak hasil yang di tampilkan ada 2 ethernet card yaitu eth0 dan eth1. Dimana yang eth0 adalah ethernet onboard pada mainboard saya, dan untuk eth1 adalah lancard tambahan yang saya berikan kedalam PC tsb. Dari hasil tampilan di atas, menunjukkan kalau OS diatas sudah berhasil mendeteksi adanya LANCARD baru, tapi belum aktif.

Bila di lakukan pengecekan IP : maka :

[root@misdept /]# ifconfig

eth0 Link encap:Ethernet HWaddr 00:50:8D:C3:39:7D

inet addr:192.168.0.105 Bcast:192.168.0.255 Mask:255.255.255.0

inet6 addr: fe80::250:8dff:fec3:397d/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:44415 errors:0 dropped:0 overruns:0 frame:0

TX packets:148493 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:4944199 (4.7 MiB) TX bytes:143933894 (137.2 MiB)

Interrupt:217 Base address:0xa800

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:1251 errors:0 dropped:0 overruns:0 frame:0

TX packets:1251 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:2074128 (1.9 MiB) TX bytes:2074128 (1.9 MiB)

Yang aktif tampak hanya eth0 saja, untuk mengaktifkan nya, pakai perintah :

[root@misdept/]# ifconfig eth01 up.

Setelah aktif, buatlah ip address pada NIC yang baru ini, sebagai contoh saya buat ip address 192.168.100.96. dan saya cek dengan ifconfig, hasilnya :

[root@misdept /]# ifconfig

eth0 Link encap:Ethernet HWaddr 00:50:8D:C3:39:7D

inet addr:192.168.0.105 Bcast:192.168.0.255 Mask:255.255.255.0

inet6 addr: fe80::250:8dff:fec3:397d/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:44415 errors:0 dropped:0 overruns:0 frame:0

TX packets:148493 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:4944199 (4.7 MiB) TX bytes:143933894 (137.2 MiB)

Interrupt:217 Base address:0xa800

eth1 Link encap:Ethernet HWaddr 00:1E:58:31:B3:EB

inet addr:192.168.100.96 Bcast:192.168.100.255 Mask:255.255.255.0

inet6 addr: fe80::21e:58ff:fe31:b3eb/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:69669 errors:0 dropped:0 overruns:0 frame:0

TX packets:592 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:6868331 (6.5 MiB) TX bytes:87821 (85.7 KiB)

Interrupt:209 Base address:0x2000

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:1251 errors:0 dropped:0 overruns:0 frame:0

TX packets:1251 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:2074128 (1.9 MiB) TX bytes:2074128 (1.9 MiB)

Untuk LAN CARD sudah selesai, dan fungsi dari 2 LAN Card ini adalah, salah satu dari LAN Card ini di hubungkan ke LAN, dan satunya lagi di hubungkan ke Modem ADSL.

Saat nya aktifkan squid anda, dengan cara ketik Setup pada terminal, pilih System Service, dan centang Squid. Tekan OK dan Quit.

Lakukan setting ini pada root :

Konfigurasi dari root:
1.cd /etc/squid
2.backup configurasi squidnya : dengan perintah #cp squid.conf squid.conf.backup

3. Buat folder dan buat folder yangbaru menjadi owner dari user squid

[root@misdept /]# mkdir -p /home/cache/squid

[root@misdept /]# chown -R squid:squid /home/cache/squid

4.Buatlah folder spool

[root@misdept/]# mkdir /home/cache/squid/spool

[root@misdept/]# chown -R squid:squid /home/cache/squid

5. Selanjutnya adalah mengconfigurasi squid.conf dan bagian2 yang perlu di edit dari squid.conf adalah
a. edit http_portnya yaitu bagian

# http_port 3128

menjadi

http_port 3128

b. edit cache lognya

# cache_log /var/log/squid/cache.log

menjadi

cache_log /home/cache/squid/cache.log

c. edit cache_store_log

# cache_store_log /var/log/squid/store.log

menjadi

cache_store_log /home/cache/squid/store.log

d. Edit memori yang dialokasikan buat menjalankan squidnya, sesuaikan dengan kemampuan squid servernya. :)

# cache_mem 8 MB

menjadi

cache_mem 16 MB

e. Edit cache dir nya, arahkan sesuai dengan langkah no 5 dan juga space alokasinya yaitu

3072 M

# cache_dir ufs /var/spool/squid 100 16 256

menjadi

cache_dir ufs /home/cache/squid/spool 3072 16 256

f. Tinggal tambahin network yang mau di allowed untuk access proxy servernya
cari bagian :

#Recommended minimum configuration:

acl all src 0.0.0.0/0.0.0.0

acl manager proto cache_object

acl localhost src 127.0.0.1/255.255.255.255

acl to_localhost dst 127.0.0.0/8

acl SSL_ports port 443 563

acl Safe_ports port 80 # http

acl Safe_ports port 21 # ftp



acl Safe_ports port 443 563 # https, snews

acl Safe_ports port 70 # gopher

acl Safe_ports port 210 # wais

acl Safe_ports port 1025-65535 # unregistered ports

acl Safe_ports port 280 # http-mgmt

acl Safe_ports port 488 # gss-http

acl Safe_ports port 591 # filemaker

acl Safe_ports port 777 # multiling http

acl CONNECT method CONNECT

dibawah acl localhost src 127.0.0.1/255.255.255.255, tambahkan network yang akan di allowed

acl net1 src 172.17.3.0/255.255.255.0

acl net2 src 192.168.0.0/255.255.255.0

setelah itu supaya net1 dan net2 td bisa mengakses squid maka tambahkan http_access allow
cari baris :

#And finally deny all other access to this proxy

http_access allow localhost

http_access deny all

diantar http_access allow localhost dan http_access deny all tambahkan :

http_access allow net1

http_access allow net2

baris ini bisa taruh di atas http_access allow localhost atau dibawah http_access allow localhost yang penting diatas http_access deny all

6. Simpan dan start Squid nya

[root@misdept /]# /etc/init.d/squid start

7.Gunakan testing squidnya menggunakan browser sambil di lihat acess log nya

[root@misdept /]# tail -f /home/cache/squid/access.log

8. Ok thx itu dulu dari saya.

Label:

Membuat Server IRC dengan BEWARE IRC

11:53 AM / Diposting oleh Sharing IT / komentar (0)

Menurut saya, server IRC yang paling sederhana settingannya adalah Beware IRC, saya sudah membuatnya di Fedora 7.0. Coba di download saja di = http://ircd.bircd.org/
Anda akan mendapatkan file : bewareircd-linux.tar.gz
Lakukan Extrak dari file itu dengan cara : (ini contoh di Server saya)
[root@mis09 bafrin]# tar zxfv bewareircd-linux.tar.gz
Dan nantinya akan mendapatkan folder = bircd.
Berikut ini adalah isi dari folder bircd
[root@mis09 bircd]# ls -al
total 1056
drwx------ 2 1000 1000 4096 2008-06-25 14:16 .
drwx------ 29 bafrin bafrin 4096 2008-06-25 14:06 ..
-rwx------ 1 1000 1000 777588 2004-07-14 03:36 bircd
-rw------- 1 1000 1000 5907 2008-06-25 15:16 bircd.ini
-rw-r--r-- 1 root root 6 2008-06-25 15:17 bircd.pid
-rw------- 1 1000 1000 3745 2004-07-14 03:36 bircd-qnet.ini
-rw------- 1 1000 1000 108 2004-07-14 03:36 bircd.txt
-rw------- 1 1000 1000 15825 2004-07-14 03:36 example.conf
-rw------- 1 1000 1000 1874 2008-06-25 14:36 ircd.conf
-rw------- 1 1000 1000 0 2004-07-14 03:36 ircd.motd
-rwx------ 1 1000 1000 223684 2004-07-14 03:36 mkpasswd
-rwx------ 1 1000 1000 27 2004-07-14 03:36 rehash
-rwx------ 1 1000 1000 30 2004-07-14 03:36 restart
-rw-r--r-- 1 root root 73 2008-06-25 15:17 stdout.txt
-rwx------ 1 1000 1000 22 2004-07-14 03:36 stop
[root@mis09 bircd]#
step berikutnya tinggal 2 langkah saja, yaitu setting file bircd.ini dan ircd.conf

1. Setting bircd.ini sesuaikan dengan settingan saya :
a. Cari lah Hub, Ident, LookupNotice dan buatlah seperti ini, berilah tanda #, spy jangan di executed :
#Hub=1
#; This server can be hub
#Ident=1
#; identd lookup is performed to get a user's userid
#LookupNotice=1
#; the notices like "*** looking up your hostname"
b. Untuk panjang nick name dapat di atur di sini, saya buat panjang dari nick_name hanya 15 char saja:
MaxNick=15
; maximum length of a nick
c. Untuk memberi nama pada irc anda, buatlah spt ini (saya memberikan nama irc saya ebenezer-irc) :
NetworkName=ebenezer-irc
; if non-null, name is shown as NETWORK= token. must not contain spaces.

2. Langkah ke dua, setting. ircd.conf, buatlah seperti ini :

[root@mis09 bircd]# cat ircd.conf
# servername::server description::numeric.
# change numeric to something unique on the network

M:Stella.rosewood:*:irc-backup:0:1

# accept connections on port 6667 (clients) and port 4400 (servers)

P:::C:6667
#P:::S:4400

# standard Y-lines
# client class: ping freq 90, no autoconnect, no limit on connections, 80k sendQ
# oper class (same as client class)
# server class: ping freq 30, connect freq 300 secs, no limit on connections, 3M sendQ

Y:90:90:300:1:1700000
Y:80:90:300:1:1700000
Y:70:90:300:1:1700000

# standard I-line, accept everyone, max. 99 clones, if you have ip NAT

I:*@*:99:*@*::1

# standard I-line for IPv6 connections: max 5 clones from a /48
#I:"*@::/0":5/48:nomatch::1

# C-line for accepting services connection on same machine
# if you change these values, change them in bircserv.cfg as well.

C:192.168.0.108:pass:services.server.name::20

# which server has services power
# and which nicks are reserved (cannot be set by local clients)

#U:services.server.name:ChanServ,NickServ,MemoServ,OperServ:

# every server can be hub

#H:*::*:

# syntax for O:lines (needed to become IRCop)
# fill in your mask, your password, your name
# type /oper name password, in the irc client, to use.
#
# to encrypt your password, run mkpasswd, type your password,
# press enter, use the output string as shown in the example.

#O:mask:G26wOktjJIG0[OxXB5PrUlw3:name::10

# syntax for S:lines
# S:::<*.host.cc|a.b.c.*|CIDR>:
#
# example
# S:network.org:pass:1.2.3.4:*
#
# Oper Sethost: /sethost
# /mode +h @
# User Sethost: /sethost
# /mode +h
# (text taken from quakenet asuka)
# make sure sethost=1 and vhoststyle= non 0 in bircd.ini
[root@mis09 bircd]#

Setelah semua selesai, jalankan irc nya dengan cara :
[root@mis09 bircd]# ./bircd
Dan cek service job id nya apakah sudah running ?
[root@mis09 bircd]# ps ax |grep bircd
28942 pts/0 S 0:00 ./bircd
29010 pts/0 R+ 0:00 grep bircd
[root@mis09 bircd]#
IRC anda sudah running, bisa lsg di pakai nih......
oh.. ya.. saya lupa satu lagi.. Gimana kalo server anda harus down, krn listrik di ktr anda padam?? dan apakah kalo di On kan, otomatis service dari bircd bisa otomatis jalan sendiri??

Ok deh.. ini dia aku kasi tau .....
Perlu di ketahui.. saat ini, posisi folder bircd saya ada di :
[root@mis09 bircd]# pwd
/home/bafrin/bircd
terlebih dahulu buat lah file yang isinya script seperti ini, dan simpanlah dengan nama bircd :
[root@mis09 ftpuser]# cat bircd
#!/bin/bash
#
# Run-level Startup script for Bircd
#
# chkconfig: 345 91 19
export PATH=$PATH:/home/bafrin/bircd
# description: Startup/Shutdown Bircd
# if the executables do not exist -- display error
# depending on parameter -- startup, shutdown, restart
# of the instance and listener or usage display
case "$1" in
start)
# Bircd start
echo -n "Starting Bircd: "
/home/bafrin/bircd/bircd
echo "OK"
;;
stop)
# Bircd stop
echo -n "Shutdown Bircd: "
/home/bafrin/bircd/stop
echo "OK"
;;
*)
echo "Usage: $0 start|stop"
exit 1
esac
exit 0

Perhatikan, script ini untuk posisi folder bircd nya. (sesuaikan dengan folder bircd di server anda)
stelah selesai, simpan.
Copykan file bircd ke /etc/init.d/
dan perhatikan untuk mode dari file tsb :
-rw-r--r-- 1 ftpuser ftpuser 672 2008-06-27 14:34 bircd
buatlah supaya file tsb bisa di executed, dengan perintah :
[root@mis09 ftpuser]# chmod +x bircd
Tahap selanjutnya, adalah menambahkan service bircd supaya bisa di run pada level tertentu, saat ini saya mau buat dia aktif di runlevel 3 & 5
[root@mis09 ftpuser]# chkconfig --add bircd
dan setelah itu aktifkan pada run level 3 & 5 ;
[root@mis09 ftpuser]# chkconfig --levels 35 bircd on

Ok .. gitu aja... dan coba pastikan server anda, restart, dan cek dengan perintah :
[root@mis09 bafrin]# ps ax |grep bircd
2085 ? S 0:00 /home/bafrin/bircd/bircd
2786 pts/1 R+ 0:00 grep bircd

Tampak sudah running bircd nya... OK deh.. itu aja dari saya, Thx (hitung2 sebagai dokumentasi saya, supaya ngak lupa...)

Label:

Membuat Server IRC dengan Bahamut IRC

11:50 AM / Diposting oleh Sharing IT / komentar (2)

Internet Relay Chat (IRC) adalah suatu bentuk komunikasi di Internet yang diciptakan untuk komunikasi kelompok di tempat diskusi yang dinamakan channel (saluran), tetapi juga bisa untuk komunikasi jalur pribadi.

IRC diciptakan oleh Jarkko Oikarinen (nickname "WiZ") pada akhir Agustus 1988 untuk menggantikan program di BBS yang disebut MUT (MultiUser Talk), di Finlandia di sebut OuluBOX. Oikarinen menemukan inspirasi Bitnet Relay Chat yang beroperasi di dalam Jaringan Bitnet.

Saat ini saya sudah berhasil membuat server IRC dengan menggunakan BAHAMUT IRC pada FEDORA 7.0, untuk mendapatkannya silahkan download di : http://www.dal.net/?page=Bahamut

File yang di dapat adalah : bahamut-1.8.4-release.tar.gz

lakukanlah ekstrak di lokasi yang anda pilih, sebagai contoh saya membuat di lokasi yang saya pilih :
[root@mis09 bafrin]# tar zxfv bahamut-1.8.4-release.tar.gz
Setelah proses ekstrak selesai, maka akan terbentuk sebuah folder :

[root@mis09 bafrin]# ls
bahamut-1.8.4
bahamut-1.8.4-release.tar.gz Music
Desktop Pictures
Documents Public
Download Templates


Tampak folder bahamut-1.8.4
masuk ke dalam folder tsb, di dalam nya sudah ada :
[root@mis09 bafrin]# cd bahamut-1.8.4
[root@mis09 bahamut-1.8.4]# ls
CHANGES config.sub include LICENSE src
config.guess configure INSTALL Makefile TODO
config.log configure.in install-sh Makefile.in tools
config.status doc LICENCE.pcre README zlib
Untuk melihat cara instalasinya anda dapat membuka dan membaca file INSTALL
[root@mis09 bahamut-1.8.4]# nano INSTALL
dan isi dari File tsb :
HOW TO BUILD:
-------------
1. Run the configure script. It will setup include/setup.h and the
Makefiles to match your system:
./configure

Type ./configure --help to see different options. Most people will not
need to alter these.

2. [DISCOURAGED] Edit the the "include/config.h" file. This allows you to
change various options of how the ircd will operate. Usually the defaults
are OK.

3. "make" should build ircd.

4. "make install" will install the ircd, config converter, and documents
to the directory set by ./configure

5. Edit example.conf in your install directory, and move it to "ircd.conf".

6. Run the binary! ircd will look in the directory you are executing from
for an ircd.conf first, then it will look to the directory local to itself.
You may override these options by specifying a config file using:
./ircd -f path/to/ircd.conf

Best of luck!
-The Bahamut Team

$Id: INSTALL 1303 2006-12-07 03:23:17Z epiphani $
ikutin aja langkah2 nya,
dan nanti anada akan menemukan folder ircd di dalan root : [root@mis09 bahamut-1.8.4]# cd /root/ircd/
[root@mis09 ircd]# ls
convert_conf ircd ircd.motd ircd.pid mkpasswd opers.txt reference.conf template.conf
Copykan file template.conf menjadi ircd.conf
editlah ircd.conf, saat ini. ip server saya 192.168.90.108 (sesuaikan ip dari server anda)


# =========================================================================
# QUICKSTART: server configuration (see reference.conf for details)
# =========================================================================

/* server name and administration info */
global {
name not.configured; # IRC name of the server
info "located on earth"; # A short info line
admin {
"An unconfigured server"; # Three information lines sent
"An unknown administrator"; # in reply to ADMIN command
"email@somewhere.earth";
};
};

/* server options */
options {
network_name unconfigured; # A name is needed even if not linked
local_kline admin@server; # Contact email for server bans
show_links; # Show servers in LINKS
allow_split_ops; # Give ops in empty channels

// use these options when services is on the network
services_name services.name; # Name of services (NS/CS/MS/RS) server
stats_name stats.name; # Name of stats (OS/SS/HS) server
network_kline admin@net; # Contact email for network bans
nshelpurl "http://help"; # Nick registration help page

// if you need to link more than 1 server, uncomment the following line
# servtype hub;
};
/* where to listen for connections */
port {
port 6667; # Port to listen on
bind 192.168.90.108; # IP address to listen on
};

/* more listening ports */
#port { port 6668; bind 127.0.0.1; };
#port { port 6669; bind 127.0.0.1; };
#port { port 7000; bind 127.0.0.1; };

/* allow clients to connect */
allow {
host *@*; # Allow anyone
class users; # Place them in the users class
};

/* connection class for users */
class {
name users; # Class name
maxusers 1000; # Maximum connections
pingfreq 90; # Check idle connections every N seconds
maxsendq 100000; # 100KB send buffer limit
};

/* connection class for server operators */
class {
name opers;
pingfreq 90;
maxsendq 500000; # 500KB limit for opers
};

/* the server administrator */
oper {
name admin; # Username
passwd secret; # Password
access OAaRD; # Server Administrator
host *@192.168.0.*; # Must be connecting from here
host *@10.64.64.*; # Or from here
// insert other other hostmasks here
class opers; # Belongs in the opers class
};

/* for services */
super {
"services.name";
"stats.name";
// insert any other special servers here
};

/* reserved nicknames */
restrict { type nick; mask "NickServ"; reason "reserved for services"; };
restrict { type nick; mask "ChanServ"; reason "reserved for services"; };
restrict { type nick; mask "MemoServ"; reason "reserved for services"; };
restrict { type nick; mask "RootServ"; reason "reserved for services"; };
restrict { type nick; mask "OperServ"; reason "reserved for services"; };
restrict { type nick; mask "StatServ"; reason "reserved for services"; };
restrict { type nick; mask "HelpServ"; reason "reserved for services"; };
restrict { type nick; mask "services"; reason "reserved for services"; };


/* === these next two blocks are for linking to a hub === */

/* class for uplink hub */
class {
name hub;
pingfreq 120; # Idle check every 2 minutes
connfreq 300; # Try autoconnect every 5 minutes
maxsendq 1000000; # 1MB send queue
maxlinks 1; # Autoconnect to only 1 hub at a time
};

/* our uplink hub */
connect {
name hub.name; # Hub's IRC name
host 172.16.4.2; # Hub's IP address
port 7325; # Autoconnect to hub's port 7325
bind 127.0.0.1; # We connect from this IP
apasswd secret; # We accept this password from hub
cpasswd secret; # We send this password to hub
flags H; # It is a hub
class hub; # Use hub class
};


/* === these next two blocks are for linking to services === */

/* class for services */
class {
name services;
pingfreq 60; # Idle check every minute
maxsendq 5000000; # 5MB backlog buffer
};

/* our services */
connect {
name services.name; # Services' IRC name
host 192.168.90.108; # IP address services connects from
apasswd secret; # Password services sends
cpasswd secret; # Same password
class services;
};

Setelah selesai, ketiklah comannd :
[root@mis09 ircd]# ./ircd

bahamut-1.8(04) booting...
Security related issues should be sent to coders@dal.net
All other issues should be sent to dalnet-src@dal.net

Configuration Loaded.

Ircd is now becoming a daemon.
[root@mis09 ircd]#
Bila di cek service nya apakah sudah jalan ? dengan perintah :
[root@mis09 ircd]# ps ax |grep ircd
2875 ? Ss 0:00 ./ircd
2879 pts/0 R+ 0:00 grep ircd
[root@mis09 ircd]#
Server IRC anda sudah jalan, dan silahkan setting untuk irc clientnya.
Tampak service nya sudah jalan pada nomor service 2875, untuk mematikan service nya :

[root@mis09 ircd]# kill -KILL 2875

Label:

Reset root password for Centos 5.2

4:34 PM / Diposting oleh Sharing IT / komentar (0)

if you are server administrator, maybe you forget your root server password. There is a simple solution for you to reset your root password at Centos 5.2

1. Press enter if you see this section, your time just 3 seconds :


2. Press "e" for edit


3. Choose second list and press "e"


4. Fill 1 at the last line "... rhgb quiet" and press enter


5. Press "b" for continue booting

6. Type at sh-32# passwd root and press enter

7. Type your new password
Changing password for user root.
New UNIX password:

8. Type reboot and press Enter


Now your Centos 5.2 have a new password


Good luck

Label:

THE GREEN BERETS

5:18 PM / Diposting oleh Sharing IT / komentar (0)


http://www.youtube.com/watch?v=58QzTglCen8

Fighting soldiers from the sky,

Fearless men who jump and die.
Men who mean just what they say,
The brave men of the Green Beret.

Silver wings upon their chest,
These are men, America’s best.
One hundred men will test today,
But only three win the Green Beret.

Trained to live off nature’s land,
Trained in combat, hand-to-hand.
Men who fight by night and day,
Courage peaks from the Green Berets.

Silver wings upon their chest,
These are men, America’s best.
One hundred men will test today,
But only three win the Green Beret.

Fighting soldiers from the sky,
Fearless men who jump and die.
Men who mean just what they say,
The brave men of the Green Beret.



http://www.youtube.com/watch?v=LH4-tOqLH94&feature=related

Fighting soldiers from the sky,
Fearless men who jump and die.
Men who mean just what they say,
The brave men of the Green Beret.

Silver wings upon their chest,
These are men, America’s best.
One hundred men will test today,
But only three win the Green Beret.


Trained to live off nature’s land,
Trained in combat, hand-to-hand.
Men who fight by night and day,
Courage peaks from the Green Berets.

Silver wings upon their chest,
These are men, America’s best.
One hundred men will test today,
But only three win the Green Beret.

Back at home a young wife waits,
Her Green Beret has met his fate.
He has died for those oppressed,
Leaving her this last request:

"Put silver wings on my son’s chest,
Make him one of America’s best.
He’ll be a man, they’ll test one day,
Have him win the Green Beret."

Label:

Error JDBC Connection (Error Connecting: jdbcpostgresql:/ ....)

4:15 PM / Diposting oleh Sharing IT / komentar (2)

This a problem ;


It's a solution...

1. [root@pwmpku /]# cd /home/postgres/Adempiere/postgresql/8.2.0/pgdata/
Edit this statement =
host all all {your subnet/netmask} in pg_hba.conf
[root@pwmpku pgdata]# nano pg_hba.conf

TYPE DATABASE USER CIDR-ADDRESS METHOD

# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
host all all 192.168.0.0/24 trust

2. cd /home/postgres/Adempiere/postgresql/8.2.0

3. [root@pwmpku 8.2.0]# . ./PGSQL.env

4. [root@pwmpku 8.2.0]# cd bin/

5. [root@pwmpku bin]# ./pg_ctl restart

6. [root@pwmpku ~]# su - postgres

7. cd /home/postgres/Adempiere/postgresql/8.2.0/bin

8. [postgres@pwmpku bin]$ ./pg_ctl restart

waiting for server to shut down.... done
server stopped
server starting
[postgres@pwmpku bin]$ LOG: database system was shut down at 2011-01-18 11:59:00 WIT
LOG: checkpoint record is at 0/3E96498
LOG: redo record is at 0/3E96498; undo record is at 0/0; shutdown TRUE
LOG: next transaction ID: 0/5552; next OID: 108939
LOG: next MultiXactId: 1; next MultiXactOffset: 0
LOG: database system is ready

[postgres@pwmpku bin]$

And then you can continue test process connection :



good luck ! :)

Label:

Shutting Down Alsa very long at Ubuntu 8.10,.. a "Solution"

3:34 PM / Diposting oleh Sharing IT / komentar (0)

Actually, I found a "solution" too. It works in my case:

In /etc/init.d/alsa-utils
search comment the line "mute_and_zero_levels "$TARGET_CARD" || EXITSTATUS=1"
and give mark #,
"#mute_and_zero_levels "$TARGET_CARD" || EXITSTATUS=1".

The mute_and_zero_levels call waits a very long time.

Have nice day.. :)

Label: