In case of RSS, you do not have to do anything. You do not need to enable the RSS, it is already enabled.
http://www.ajayadas.com/?feed=rss2
They can follow your blog using this URL with live bookmark / google reader
In case of RSS, you do not have to do anything. You do not need to enable the RSS, it is already enabled.
http://www.ajayadas.com/?feed=rss2
They can follow your blog using this URL with live bookmark / google reader
yum update
yum install mod ssl
cd /etc/tls/certs
openssl genrsa -des3 -out apachekey.pem 2048
Type the following command:
# openssl req -new -key apachekey.pem -out apachekey.csr
You must signed the CSR to create the web server certificate, enter (you can send it to your CA to sign the same). To sign httpserver.csr using your CA:
# openssl ca -in apachekey.csr -out apachecert.pem
Copy server key and certificates files /etc/tls/http/, enter:
# cp apachecert.pem /etc/tls/http/
# cp apachekey.pem /etc/tls/http/
Edit /etc/httpd/conf.d/ssl.conf, enter:
# vi /etc/httpd/conf.d/ssl.conf
Listen to the the HTTPS port, enter:
Listen 10.10.29.68:443
Update it as follows to seed appropriately, enteR:
SSLRandomSeed startup file:/dev/urandom 1024 SSLRandomSeed connect file:/dev/urandom 1024
Update VirtualHost as follows:
<VirtualHost www.ajayadas.com:443> SSLEngine On SSLCertificateFile /etc/tls/http/apachecert.pem SSLCertificateKeyFile /etc/tls/http/apachekey.pem SSLProtocol All -SSLv2 SSLCipherSuite HIGH:MEDIUM:!aNULL:+MD5 DocumentRoot "/var/www/html/ssl" ServerName www.ajayadas.com:443 </VirtualHost>
Save and close the file. Make sure /var/www/html/ssl exits, enter:
# mkdir -p /var/www/html/ssl
Edit /etc/httpd/conf/httpd.conf, enter:
# vi /etc/httpd/conf/httpd.conf
Make sure SSL is used for /var/www/html/ssl and set other options for the same, enter:
<Directory /var/www/html/ssl> SSLRequireSSL SSLOptions +StrictRequire SSLRequire %{HTTP_HOST} eq "www.ajayadas.com" ErrorDocument 403 https://www.ajayadas.com/sslerror.html </Directory>
Now, you can upload ssl specific php or html pages in /var/www/html/ssl directory and can access them by visiting https://www.nixcraft.com/ url. Do not forgot to restart Apache:
# service httpd restart
$ cd /tmp
$ wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm
# rpm -ivh epel-release-6-5.noarch.rpm
# yum -y install phpmyadmin
You need to edit /etc/httpd/conf.d/phpMyAdmin.conf, enter:
# vi /etc/httpd/conf.d/phpMyAdmin.conf
It allows only localhost by default. You can setup HTTPD SSL as described here (mod_ssl) and allow LAN / WAN users or DBA user to manage the database over www. Find line that read follows
Require ip 127.0.0.1
Replace with your workstation IP address:
Require ip 10.1.3.53
Again find the following line:
Allow from 127.0.0.1
Replace as follows:
Allow from 10.1.3.53
Save and close the file. Restart Apache / httpd server:
# service httpd restart
Open a web browser and type the following url:
https://your-server-ip/phpMyAdmin/
OR
http://your-server-ip/phpMyAdmin/
tar -cvzf filename.tar.gz directory_to_compress/
Most tar
commands have a z
option to create a gzip
ed version.
Centos 6.0 sarg installation from yum gives you endless issues
lets start from source
[root@ajay~]# yum install gcc make wget httpd
[root@ajay ~]# wget http://sourceforge.net/projects/sarg/files/sarg/sarg-2.3.1/sarg-2.3.1.tar.gz/download
[root@ajay2 ~]# tar zxvf sarg-2.3.1.tar.gz
[root@ajay ~]# cd sarg-2.3.1
[root@ajay~]# ./configure
[root@ajay ~]# make
Modify sarf conf file
# vim /usr/local/etc/sarg.conf
#### sarg.conf####
access_log /var/log/squid/access.log
date_format e ## since here we use date format DD-MM-YYYY
overwrite_report yes ## because I don’t want multiple sarg reports for the same day
output_dir /var/www/html/squid-reports
[root@ajay ~]# sarg -x
If all goes well, there should be a report generated at /var/www/html/squid-reports directory which can be accessed from the web browser using the address http://IP/squid-reports
# crontab -e
30 2 * * * sarg
[root@ajay ~]# service crond restart
[root@ajay2 ~]# chkconfig crond on