configuration

136 - Enable ftp on RedHat OS

Starting with the Red Hat Enterprise Linux (and in CentOS Enterprise Linux), the FTP server is no longer available with xinetd.
It has been replaced with vsftp and can be started from /etc/init.d/vsftpd as in the following:

# /etc/init.d/vsftpd start

Starting vsftpd for vsftpd:         [ OK ]

135 - Enable telnet on RedHat OS

Linux is configured to run the Telnet server, but by default, these services are not enabled.
To enable the telnet service, login to the server as the root user account and run the following commands:

# rpm -qa | grep telnet

If you get nothing.

134 - Use SQLPLUS on Linux x86_64

If you want to use just SQLPLUS, you do not have to install Oracle Client Software.
It is gonna be very easy to use it.

1. Download an instant client

   Download Oracle Instant Client from http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/... Instant Client Package
   - "Basic" and "Instant Client Package"

   Like :

   oracle-instantclient11.2-basic-11.2.0.1.0-1.x86_64.rpm
   oracle-instantclient11.2-sqlplus-11.2.0.1.0-1.x86_64.rpm

133 - Java Plugin for Firefox on Linux 64

The followings are what you need to do in order to have java in your Firefox on 64bit Linux.

1. Update: Use Firefox from your distro repository.

2. Download JRE 6uxx (latest version from SUN) and install Java to any desired folder.
    (Suggest : /usr/lib/jvm folder for Ubuntu users, this is where Ubuntu places Java by default)

3. Installation (LInux x64 RPM)

    * The downloaded file might be in your desktop folder.

132 - php-mssql extension

You have noticed on RedHat & CentOS, there is no PHP-MSSQL module/extension available in the default yum repositories.
So if you want to use it, you can search php-mssql and download it from the follwoing URL. You do not configure ODBC or use sybase extension.

URL: http://rpm.pbone.net/

Example :

# yum install php-mssql-5.1.6-5.el5.x86_64.rpm

128 - Installation of GRUB

GNU GRUB is a Multiboot boot loader. It was derived from GRUB, the GRand Unified Bootloader.
boot loader is the first software program that runs when a computer starts.
It is responsible for loadingand transferring control to the operating system kernel software.
A GRUB installation consist of at least two and sometimes three executables,

known as stages.

124 - To fix slow ssh login

If your login Linux are really slow, it may be that reverse DNS is not working correctly.
To fix the problem is to either add the IP address to /etc/hosts, or modify your sshd_config file by setting UseDNS to no:

# vi /etc/ssh/sshd_config

--------------------------------------------------------------------------

122 - Network Configuration Files

You can change the network configuration by editing a few files.

1. CentOS & RedHat OS

Host Name : /etc/sysconfig/network

Network Device : /etc/sysconfig/networking/devices/ifcfg-eth0  ifcfg-eth1

Host Name List : /etc/hosts

DNS Server : /etc/resolve.conf

DNS Files NIS : /etc/nsswitch.conf

After editing files, you need to execute the follwoing command :

121 - crontab examples

There are various examples :

120 - To install PHP 5.2.x & MySQL 5.1.x in CentOS 5.x

phpMyAdmin v3.x needs to have PHP 5.2 and later version. But CentOS 5.x has still PHP 5.1.x.
This is one of methods on PHP & MySQL upgrade processes for CentOS 5.x.

1. Check your software versions in terms of PHP & MySQL

# php -v
# yum list installed php*

# mysql -V
# yum list installed mysql*

2. Install third party repository

Syndicate content