kslinux.blogspot.com
KSLin: Generate ssl certs
http://kslinux.blogspot.com/2008/08/generate-ssl-certs.html
View my complete profile. Http:/ anilinux.blogspot.com. Wednesday, August 6, 2008. Setp 1 Generate ssl certificates. Openssl genrsa -des3 -out hostname.key 1024. Openssl req -new -key hostname.key -out hostname.csr. Openssl x509 -req -days 365 -in hostname.csr -signkey hostname.key -out hostname.crt. Step 2 Add Certificate to /etc/httpd/conf.d/ssl.conf. Vi /etc/httpd/conf.d/ssl.conf. Note: just remove comment "#" from SSLCertificate and add filename). Setp 1 Generate ssl certificates.
kslinux.blogspot.com
KSLin: October 2007
http://kslinux.blogspot.com/2007_10_01_archive.html
View my complete profile. Creating global rules in openwebmail. Amavis - To allow only password protected archive. Encrypting file in Linux. Http:/ anilinux.blogspot.com. Thursday, October 18, 2007. Creating global rules in openwebmail. Open Openwebmail cgi-bin folder (/var/www/cgi-bin/openwebmail)/etc/filter.book and add the rule. Local user rules exist in user/.openwebmail/webmail/filter.book. Wednesday, October 10, 2007. Amavis - To allow only password protected archives. Qr' UNDECIPHERABLE$'= 0 ],.
kslinux.blogspot.com
KSLin: PHP Snippet codes
http://kslinux.blogspot.com/2010/04/php-snippet-codes.html
View my complete profile. Http:/ anilinux.blogspot.com. Saturday, April 17, 2010. Get Script name and URL. Url = $ SERVER['SCRIPT NAME'];. If( $url ) {. Url = strrev($url);. Last slash = strlen($url) - strpos($url,'/') - 1;. Url = strrev($url);. If( $last slash ) {. File name = substr($url,$last slash);. Filename = explode('/',$file name);. Fname = $filename[1];. Echo "Script URL is " . $url;. Script name is ". $fname;. Subscribe to: Post Comments (Atom).
kslinux.blogspot.com
KSLin: April 2010
http://kslinux.blogspot.com/2010_04_01_archive.html
View my complete profile. Http:/ anilinux.blogspot.com. Saturday, April 17, 2010. Get Script name and URL. Url = $ SERVER['SCRIPT NAME'];. If( $url ) {. Url = strrev($url);. Last slash = strlen($url) - strpos($url,'/') - 1;. Url = strrev($url);. If( $last slash ) {. File name = substr($url,$last slash);. Filename = explode('/',$file name);. Fname = $filename[1];. Echo "Script URL is " . $url;. Script name is ". $fname;. Subscribe to: Posts (Atom).
kslinux.blogspot.com
KSLin: All about RPM
http://kslinux.blogspot.com/2008/08/all-about-rpm.html
View my complete profile. Http:/ anilinux.blogspot.com. Monday, August 4, 2008. How can I install or upgrade a package? Can I install an old one? Rpm -i package.rpm. The "-v" is for verbose and "-h" for the hashing marks. Rpm -ivh package.rpm. Upgrade / Install a new-package. Rpm -Uvh new-package.rpm. Downgrade Samba to old version. Rpm -Uvh - oldpackage Samba-old-version.rpm. Simply remove a package. Simulate what will be done before erase. Rpm -e - test package;. Backup the package before erase. Rpm -i...
kslinux.blogspot.com
KSLin: URL redirect
http://kslinux.blogspot.com/2008/08/url-redirect.html
View my complete profile. Http:/ anilinux.blogspot.com. Wednesday, August 6, 2008. Description: Sends an external redirect asking the client to fetch a different URL. Syntax: Redirect [status] URL-path URL. Context: server config, virtual host, directory, .htaccess. The Redirect directive maps an old URL into a new one by asking the client to refetch the resource at the new location. Redirect /service http:/ www.bar.com/service. Meta Refresh URL Redirect. The code is,. Subscribe to: Post Comments (Atom).
kslinux.blogspot.com
KSLin: creating NAT using Linux IPtables
http://kslinux.blogspot.com/2008/06/creating-nat-using-linux-iptables.html
View my complete profile. Creating NAT using Linux IPtables. Http:/ anilinux.blogspot.com. Thursday, June 5, 2008. Creating NAT using Linux IPtables. If you are running a recent 2.6 Linux Kernel this four step process should work for you. This has been specifically tested on FCore 3, 4, 5, and 6. should work on any modern Linux distribution. All of these commands must be executed as the root user. First you need to tell your kernel that you want to allow IP forwarding. Echo 1 /proc/sys/net/ipv4/ip forward.
kslinux.blogspot.com
KSLin: September 2007
http://kslinux.blogspot.com/2007_09_01_archive.html
View my complete profile. Copy files by date. Driver module for NIC card. Enhanced mem support upto 64 GB. Get day of a date. Rhel4 x86 64 thru apt-get. Http:/ anilinux.blogspot.com. Friday, September 28, 2007. Pwck for checking correctness of passwd file. Grpck for checking correctness of group file. Thursday, September 27, 2007. Copy files by date. Scp files created in DIR NAME on a particular date to TARGET COMPUTER. Find DIR NAME -mtime "{DATE}" -exec scp {} TARGET COMPUTER ;. State of the process:.
kslinux.blogspot.com
KSLin: creating global rules in openwebmail
http://kslinux.blogspot.com/2007/10/creating-global-rules-in-openwebmail.html
View my complete profile. Creating global rules in openwebmail. Amavis - To allow only password protected archive. Encrypting file in Linux. Http:/ anilinux.blogspot.com. Thursday, October 18, 2007. Creating global rules in openwebmail. Open Openwebmail cgi-bin folder (/var/www/cgi-bin/openwebmail)/etc/filter.book and add the rule. Local user rules exist in user/.openwebmail/webmail/filter.book. Subscribe to: Post Comments (Atom).