This site is providing technical information based on LAMP stack. My primary focus is on web systems and services, such as LAMP stack, Amazon Web Services(EC2, S3 and SQS) and software tools. I invite you to stop by the blog, where you can read and comment on programming, scientific posts or the information.
Most of the time you login into remote server via ssh. If you start a shell script or command and you exit (abort remote connection),
the process will get killed. Sometime job or command takes a long time. you are not sure when the job will finish. if you logout the system,
nohup is better to leave job running after exit.
| nohup command-name & |
Examples:
The easilst way is to empty root & users email message file
i.e. /var/spool/mail/root or /var/spool/mail/<username>.
There are two ways to delete all messages.
1.mail command & delete command :
Login linux as the user .
|
d 1-100 --> if you delete from 1 to 100, |
2. Simply type the following command at shell :
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 ] |
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.
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
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.
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.
Example :
| # yum install php-mssql-5.1.6-5.el5.x86_64.rpm |
The Yellowdog Updater, Modified (YUM) is an open-source command-line package-management utility for RPM-compatible Linux operating systems
and has been released under the GNU General Public License. Suddenly you can not update any packaged by yum.
So you need to clear yum cache with the following command. Probably after thet, you would undate old packages.
You could see the following error message in the Apache log after Oracle EBS Application installation.
[Wed Dec 23 08:03:24 2009] [error] [client 192.168.10.10] [ecid: 1261584204:192.168.17.20:8726:0:4098,0]
File does not exist: /d01/oracle/PROD/inst/apps/PROD_myserver/portal/favicon.ico