Jump to Navigation


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 :

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.

Stage1 --> the piece of GRUB that resides in the MBR or the boot sector of another partition or drive.

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


#ShowPatchLevel no
UseDNS no
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no

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


114 - ssh : root login

 If you want to permit someone to login directly to the root login account via ssh, you can define three methods
of control in the /etc/ssh/sshd_config file:

        PermitRootLogin         no

This will disable all root logins. To enable root logins with any authentication method, use the following setting:
        PermitRootLogin         yes

You can limit the authentication methods by using the following setting:
        PermitRootLogin         nopwd

113 - Forget root password.

Sometimes an administrator forgets root password. You need to reset it for login.

1. Reboot OS with single mode.

Login :
[Ctrl] + [Alt] + [Delete] to reboot the operation system

2. Enter Ctrl + x

When the grafical screen comes up, please enter [Ctrl] + x
It shows "OS reboot options list"

3. Edit a reboot line.


Subscribe to RSS - configuration

Main menu 2

by Dr. Radut