Custom Search : Technical Guides Sybase Oracle UNIX Javascript

Technical Guides

Of Interest

Business Intelligence and Analytics

Oracle Training

Linux » Configuration » »

Installing Fedora Core 4 Linux


Fedora Core 4:
Install Linux, enable ftp, enable telnet, allow www access.

Boot from the first CD - use text mode by typing

linux text

follow the prompts ..

Using Disk Druid, set up
Mount Points, ext3 (except for swap)

/ 400 mb
/tmp 2Xmemory, swap
/var 1000 mb +
/home 500 mb +
/usr 4000 mb
/usr/src 1000 mb
/web 1000 mb
/opt 1000 mb
/data 1000 mb
/app 1000 mb
/backup 1000 mb
/usr/local 1000 mb

The next set of instructions assumes you've set up the server,
and have rebooted into text-console mode.

Log in as root.

0) Common commands required:

service xinetd restart

1) Change run level to 3, starting in graphical mode is for wussies.


2) optional FTP daemon.

cd /etc/init.d

./vsftpd start

3) Replace with custom script.


4a) Enable FTP


Remove -a
disable = no

4b) Enable telnet (also need to install this via yum)


disable = no

4c) Disable SSH root login. There are asswipes in Scandinavia who
will try to hack into your system; it is best to
disable this setting.


AllowRootLogin no

4d) Set up sendmail

Edit in /etc/mail, alter SMTP setting

make the file

4e) Edit the hosts file

Add your hosts, with the eth0 address. This prevents the
telnet and FTP hang issue.

5) Add a nice message for login screen.


6) Add call to /opt/scripts/


7) Setup gateway definition, routes.


Add routes:
route add -host dev eth0
route add default gw
route del default gw

8) Check network config.


Edit eth0 file, add default gatway: GATEWAY=
Change boot setting: ONBOOT=no

Edit resolv.conf .. add DNS settings

9) Customize init settings.


Disable sendmail, kudzu, apmd, ???

For internal server, disable iptables

10) Set up autostart, firewall setup.


- Add ifup eth0 to
- Add to call to /opt/scripts/
- Create with custom script

11) Use YUM to update C libraries

- add Yum repository
- yum update gcc
- yum update glibc

11) Install compat libraries (Fedora CD #3)


12) Install Java

13) Optional: update LD config

/etc/ (add library dirs for Sybase lib)



Telnet Server Install

yum install xinetd telnet-server
chkconfig xinetd on
chkconfig telnet on
service xinetd start

** Additionally, you must open port 23 in the firewall (iptables)

yum commands:

yum list xxxxxxx e.g. tnsclient-0.2.3
yum search xxxxxxx e.g. PalmPilot

yum install xxxxxx
yum groupinstall xxxxxxx
yum update xxxxxx
yum groupupdate xxxxxxx

yum update # Full System Update

# Daily, 4am update
/sbin/chkconfig --level 345 yum on; /sbin/service yum start

There is no separate yum service that runs on your system. The command
given above enables the control script /etc/rc.d/init.d/yum.
This control script activates the script /etc/cron.daily/yum.cron,
which causes the cron service to perform the system update automatically
at 4am each day.

Set up RHN Key

rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora

Set up special repository key

rpm --import

Simple local install

yum localinstall tsclient-0.132-4.i386.rpm


yum clean headers
yum clean headers

Redhat 7.X Notes


Edit the file /etc/xinetd.d/telnetd
changing the two lines to:
# default: on
disabled = no
then try doing this
/etc/rc.d/init.d/xinetd restart


Edit the file /etc/xinetd.d/wu-ftpd
changing the two lines to:
# default: on
disabled = no
then run the command
/etc/rc.d/init.d/xinetd restart

ldd --version
/lib/ | head -1

rpm2cpio ../libstdc++-3.2.2-5.i386.rpm | cpio -idv


Linux : Related Topics

Sybase Web Site
Sybase iAnywhere Mobile Web Site
Oracle Enterprise Web Site

Get the latest Rocket99 news and tech tips via

Site Index About this Guide to Sybase, Oracle, and UNIX Contact Us Advertise on this site

Copyright © 2016 Stoltenbar Inc All Rights Reserved.