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.
You can set up the default graphical interface between KDE & GNOME.
Edit the following file and change it.
|
For KDE DESKTOP="KDE" --------------------------------------------------------------------- For GNOME DESKTOP="GNOME" |
Here we are going to create a schema similar to the APPS schema but has only read-only prviliges.
1. Create the user for the required schema.
| SQL> connect system/manager
SQL> create user <your_user> identified by <your_user_password> default tablespace |
2. Grant connect and resource privileges to your user.
Accept output from another command and send it both to standard output and to files (like a T or fork in the road).
Ex.
|
# top -b -d 1 -n 7 | tee top_resilt.txt # ls *.txt | wc -l | tee count-02.txt count-01.txt # ls -l | tee savefile.txt |
Options :
-a, --append
Append to files; do not overwrite.
USER : account name
PID : process number
VSZ : vertial memory space that a process is using (k bytes)
%MEM : content of phisical memory
%CPU : occupancy of processor
COMMAND : command of process
| ps ax -o user,pid,vsz,pmem,pcpu -o args |
11g database will try to use CPU_COUNT parameters for the number of CPUs are used in Oracle Database.
Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the RFB protocol to remotely control another computer.
It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction,
over a network.
1. Edit /etc/sysconfig/vncservers as root
Uncomment the line:
VNCSERVERS="1:put_the_user_you_will_log_in_as_here"
2. chkconfig vncserver on
1. Installation
| # yum install tomcat5 tomcat5-webapps tomcat5-admin-webapps |
* tomcat5 root directory : /usr/share/tomcat5
All directory should be symbolic links
1. Java Installation
You can download it from Oracle Sun Developer Network.
|
# cp jdk-6u20-linux-i586.bin /usr ・・・ |
* After executed the bin file, jdk1.6.0_20 is created in /usr
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: