30 Haziran 2009 Salı

change hostname or the machine name?

# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=jaws.example.com

burdaki hostname i degistireceksin ayrıca

/etc/hosts içinde makine adını ekleyeceksin

24 Haziran 2009 Çarşamba

Xwindow - Enable XDMCP under Linux

Oracle Enterprise linux 5 - Redhat enterprise 5 için

There are two ways that xdmcp can be enabled:
Modify the file /etc/gdm/custom.conf and under the [xdmcp] section, add this line:

Enable=true dedikten sonra makineyi reboot et

Alternately, the tool gdmsetup can be used. This is a gui-based tool to modify gdm.
Once one of these two steps are done –
simply run gdm-restart and then login as desired user.


Redhat AS 4
1.Set enabling xdmcp in gdm "/etc/X11/gdm/gdm.conf"
[xdmcp]

ENABLE=true

2. Set xdmcp listen in "/etc/X11/xdm/xdm-config" by comment out the line
"DisplayManager.requestPort: 0" (add ! in the head)

3. Set the access control in "/etc/X11/xdm/Xaccess"

* #any host can get a login window 

4. Enable xdcmp in iptables:

#vi /etc/sysconfig/iptables
-A input -p udp -s 0/0 -d 0/0 177 -j accept

5. reboot the system to run new configuration.

mail ayarları

Sendmail in çalıştığını şu şekilde test edebilirsin

Mail –s deneme mailadresi@bilmemne; Daha donra gelenleri “ctrl d” ile geçip

Ama /etc/mail/sendmail.cf yapılandırma dosyası
/etc/hosts buraya mailer ip si giriliyor

/etc/resolv.conf buraya dns ipleri girmek gerekiyor

gerekli IP adresleri mail ve dns.txt dosyasında mevcut