Archivo de la categoría: Nix

Hide apache and php version

http://nixcraft.com/server-configuration-tutorials/746-apache-php-web-server-security-hiding-version-information.html How do I Hide Apache Version info? Open httpd.conf file (located in /etc/httpd/ directory /etc/apache2/ )   Code: vi httpd.conf Set Apache ServerTokens to product only but don’t show version and other info:   Code: ServerTokens Prod This directive controls whether Server response header field which is sent back to clients includes a description… Leer más: Hide apache and php version »

Using multiple network cards in XEN 3.0

you need 2 bridge interfaces: xenbr0 = eth0 xenbr1 = eth1 create a new script with the following lines: (ex: multiplebridge.sh) in /etc/xen/scripts/ #!/bin/sh dir=$(dirname «$0») «$dir/network-bridge» «$@» vifnum=0 netdev=eth0 bridge=xenbr0 «$dir/network-bridge» «$@» vifnum=1 netdev=eth1 bridge=xenbr1 make the script executable (chmod +x /etc/xen/scripts/multiplebridge.sh) modify /etc/xen/xend-config.sxp change the line: (network-script network-bridge) to (network-script multiplebridge.sh) modify your… Leer más: Using multiple network cards in XEN 3.0 »

SendMail

$ sudo vim /etc/mail/sendmail.mc Sendmail slow to start It was all about the hostname for some reason. I was using aFQDN in the host file but for some reason sendmail couldn’t resolvethat name. I put it back to localhost and everything seems to have goneback to normal. «Open Mouth, Insert Foot and Chew!»

Java Centos 64BIt cd /

Well I have Sun’s JDK installed, so I will provide instructions on this.Download the jdk-6u1-linux-amd64-rpm.bin file: http://java.sun.com/javase/downloads/index.jspWhen the download is completed and from where the file resides type as root type: chmod u+x jdk-6u1-linux-amd64-rpm.bin./jdk-6u1-linux-amd64-rpm.bin Press the space a number of times and answer yes at the end. Next you will want to follow the instructions… Leer más: Java Centos 64BIt cd / »

hp high performance mouse

   1:hpmouse                ########################################### [100%]Please read the Licence Agreement for this software at         /opt/hp/hpmouse/licenseBy not removing this package, you are accepting the termsof the «HP Proliant Essentials Software End User License Agreement».**********  NOTICE *************Please follow the steps below to configure this system.cd /opt/hp/hpmouseRun «sh ./hpmouse activate»… Leer más: hp high performance mouse »

compat-libstdc++-33–

compat-libstdc++-33–   sudo ./install Loading…/home/user/rpms/dpx/v3.10-sp4/lin/x86_64/dplincin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory  $ yum install compat-libstdc++-33–

Virtualization Guide

http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Virtualization-en-US/index.html