How to block advertisements in mozilla firefox

Click “Open Menu” button -> select “Add-ons” ->Click “Extensions” -> Just Search “abp” or “addblock” it will show list of items and clidk to install “addblocker” -> Now advertisement are blocked.

Advertisements

How to track number of users visited our sites using w3counter

How to track number of users visited our sites using w3counter

1.Go to given url

http://www.w3counter.com/

2.create a new account in w3counter.com

3.After create a accouent and after that it will generate your tracking code. Copy and paste it into the code of every page you want to track. Like

<!– Begin W3Counter Tracking Code –>
<script type=”text/javascript” src=”
https://www.w3counter.com/tracker.js”></script>;
<script type=”text/javascript”>
w3counter(8568);
</script>
<noscript>
<div><a href=”
http://www.w3counter.com”><imgsrc=”https://www.w3cou

" style="border: 0" alt="W3Counter" /></a></div>
</noscript>
<!-- End W3Counter Tracking Code -->

4.Now w3counter.com start to tracking our sites.

How to track number of users visited our sites using Google Analytics

1.Go to given url

https://www.google.com/analytics

2.create a new account in google analytics

3.Click Admin menu button -> In the “Account” drop down menu select “Create new account” -> After fill details -> After that it will generate your tracking code. Copy and paste it into the code of every page you want to track. Like

<script>

(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){

(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

})(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);

ga(‘create’, ‘UA-53’, ‘auto’);

ga(‘send’, ‘pageview’);

</script>

4.Now google analytics start to tracking our sites.

5.Now working fine

Installation steps for redmine on server

Install Apache2, MySQL and other dependencies packages:

apt-get install apache2 libapache2-mod-passenger mysql-server mysql-client

Install Redmine

apt-get install redmine redmine-mysql

Configuration

Create symlink Redmine in web documents path.

ln -s /usr/share/redmine/public /var/www/redmine

Apache2 Configuration

Edit file /etc/apache2/mods-available/passenger.conf,

vi /etc/apache2/mods-available/passenger.conf
<IfModule mod_passenger.c>
PassengerDefaultUser www-data
PassengerRoot /usr
PassengerRuby /usr/bin/ruby
</IfModule>

Virtualhost Configuration

Create a virtuahost named “redmine” in /etc/apache2/sites-available/.

vi /etc/apache2/sites-available/redmine
<VirtualHost *:80>
#ServerAdmin gana.cloudapp.net 
ServerName gana.cloudapp.net 
ErrorLog /var/log/error-redmine.log
LogLevel warn
CustomLog /var/log/access-redmine.log combined
 DocumentRoot /var/www/redmine
<Directory /var/www/redmine>
RailsBaseURI /redmine
PassengerResolveSymlinksInDocumentRoot on
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order deny,allow
#Deny from all
Allow froM all
 </Directory>
</VirtualHost>

Enable site redmine:

a2ensite redmine
service apache2 restart

Add internal DNS access to redmine via browser:

http://gana.cloudapp.net

Mail Configuration

sudo vi /etc/redmine/default/configuration.yml

production:

email_delivery:

delivery_method: :smtp

smtp_settings:

enable_starttls_auto: true

address: “smtp.gmail.com”

port: ‘587’

domain: “smtp.gmail.com”

authentication: :plain

user_name: “selvam@sample.com

password: “password”

After login redmine

Administration -> Settings ->

Inside the several sub menus are

1.General -> Change “Application title”

2.Email Notifications -> Chage “Emission email address” like selvam.sample.com

In top right corner click the “admin” menu

Admin -> edit -> change the “Email” like selvam.sample.com and also if you want change the login name and password.

Sudo nano /etc/hosts

change the line 127.0.0.1 locahost to “23.102.161.117 localhost 23.102.161.117((Public virtual IP (VIP) address)this ip address pointing to address of windows azure or amazon or some other cloud instance service running on cloud)

sudo nano /etc/apache2/httpd.conf

add the line

ServerName localhost

Here it will work ipaddress and gana.cloudapp.net also

Suppose it is not running above steps just change the given steps what i changed.

sudo nano /etc/hosts

127.0.0.1 localhost

sudo nano /etc/apache2/sites-enabled/redmine

<VirtualHost *:80>

ServerName tasktracker.fixrnix.in (whatever we give name here it shoud display particular website bottom)

ErrorLog /var/log/error-redmine.log

LogLevel warn

CustomLog /var/log/access-redmine.log combined

DocumentRoot /var/www/redmine

<Directory /var/www/redmine>

RailsBaseURI /redmine

PassengerResolveSymlinksInDocumentRoot on

Options Indexes FollowSymLinks MultiViews

AllowOverride all

Order deny,allow

Allow from all

</Directory>

</VirtualHost>

now it only works this link tasktracker.fixrnix.in not public addresss because in godaddy we pointed

subdomain name is “tasktracker.sample.com”

sudo nano /usr/share/redmine/app/views/layouts/base.html.erb

change the index page

<!– Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2013-2015 SaravananSekar –>

Powered by <a href=”http://www.google.com&#8221; name=”google” target=”_blank”><font color=”blue”>Selva</font> </a>&nbsp &copy; 2013-2015 <a href=”http://about.me/saravanan$

Installation steps for VMWare on ubuntu

First Install the Required Packages

sudo su -c “apt-get install open-vm-tools open-vm-tools-dev open-vm-dkms open-vm-toolbox gcc build-essential”

Download link for VMWare Workstation

Direct download

https://2acc1-downloads.phpnuke.org/en/download-version/-z-m-v-v-y-m-v#.U89MCf7I9ok

Register and download

https://my.vmware.com/web/vmware/info/slug/desktop_end_user_computing/vmware_workstation/10_0?rct=j&q=&esrc=s&source=web&cd=2&sqi=2&ved=0CCIQFjAB&url=http://www.vmware.com/go/downloadworkstation&ei=YEzPU5asOomWuASUvoHIAw&usg=AFQjCNEVKbKEcEsfY7NjAaBQZbrtZtXttg&bvm=bv.71667212,d.c2E&cad=rja

Then Execute the VMware-Workstation Installation Script

cd </path of downloaded VMWare>/VMware*10*.bundle

sudo su

chmod +x ./VMware*10*.bundle

./VMware*10*.bundle

VMWare serial Key

http://onhax.net/vmware-workstation-2/

a href tag problem inside navigation tag on html

Sometimes a href tag not working inside the nav tag in html,so we have to follow given steps

 

now it is working fine.

How to add Facebook Like Box and Twitter Timeline on WordPress

1.In Facebook Setting → Create page → After created a page → Copy the created page url
2.In WordPress → Dashboard → Plugin(Facebook Like Box) → click Add button → Copy that facebook page url
or
In WordPress → Dashboard → Appearance → Widget → Here we have to add(Facebook Like Box) → Copy that facebook page url

3.In Twitter → Setting → Widgets → Create New → After filling details → Create Widget →
Copy the script file from twitter or Widget id to worpress like (
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?insertBefore(js,fjs);}}(document,”script”,”twitter-wjs”);
)