Difference between pages "SEO" and "Package:Zoneminder"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
m (more details)
 
m (more details (more php-fpm friendly link))
 
Line 1: Line 1:
[https://en.wikipedia.org/wiki/Search_engine_optimization Seo] stands for search engine optimizationThis page is dedicated to helping improve your page rank on search engines.
{{Ebuild
|Summary=ZoneMinder allows you to capture, analyse, record and monitor any cameras attached to your system
|CatPkg=www-misc/zoneminder
|Homepage=http://www.zoneminder.com/
}}
{{PageNeedsUpdates}}
ZoneMinder is a web/net cam [[web-server-stack]] web application to create streams of video for security feedsZoneMinder supports motion logging, zooming, and other DVR functions.


=== Content ===
=== Installation ===
Having content that is relevant, accurate, and worth sharing is the number 1 way to increase search result ranking.  Past this accessibility is the next major factor for SEO.  If you have great content, but can't view it from a phone, or tablet, you're going to take a major rank hit.  If your website has great accessibility but extremely poor content, you're going to take a major rank hit.  Make sure to produce a website with both good content, that is mobile phone friendly, and quickly served up. :-)
{{console|body=###i## emerge www-misc/zoneminder}}


=== Domains ===
=== Configuration ===
When selecting a domain name, try to choose a short domain name, omitting words like "the" the longer the url, the harder it is to remember, and this affects page rank.
ZoneMinder's configuration files are located @ {{f|/etc/conf.d/zoneminder}} & {{f|/etc/zm.conf}}.


http://www.yes.com is excellent
==== Apache ====
http://www.nooooooooooooooo.com is bad....
{{file|name= /etc/apache2/vhosts.d/10_zoneminder.conf|lang=|desc=Set apache configs.|body=
ScriptAlias /cgi-bin/zms "/usr/libexec/zoneminder/cgi-bin/zms"
ScriptAlias /cgi-bin/nph-zms "/usr/libexec/zoneminder/cgi-bin/nph-zms"
<Directory "/usr/libexec/zoneminder/cgi-bin">
  AllowOverride All
  Options +ExecCGI
  Require all granted
</Directory>
Alias /zm "/usr/share/zoneminder/www"
<Directory "/usr/share/zoneminder/www">
  Options -Indexes +MultiViews +FollowSymLinks
  AllowOverride All
  Require all granted
</Directory>}}


Domain registration duration impacts SEO, if you intend to have the site a long time, register several years rather than a short period of time, as this will improve SEO.
{{file|name= /etc/conf.d/apache2|lang=|desc=Set apache configs.|body=
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP5 -D SECURITY"}}


=== Canonical Urls ===
{{file|name=/etc/zm.conf|lang=|desc=Set db password in ZoneMinder configs.|body=
Your sites URLs should have 1 or the other url re-writing, and 301 permanent redirecting so search engines do not see duplicate content.  You are not penalized for url length by adding a www. subdomain.
ZM_DB_USER=zmuser
ZM_DB_PASS=changeme}}


{{console|body=###i## curl -I http://funtoo.org/Welcome}}
==== Database ====
===== MySQL =====
ZoneMinder requires a database to run.  {{package|dev-db/mysql}} and its equivalent alternatives will suffice.


{{console|body=###i## curl -I http://www.funtoo.org/Welcome}}
{{console|body=###i## mysql -u root -p
mysql> create database zm;
mysql> \q}}
Deploy ZoneMinder's database settings:
{{console|body=###i##mysql -p zm < /usr/share/zoneminder/db/zm_create.sql}}
Create a database user for ZoneMinder to use. Make sure the /etc/zm.conf zm db user & zm db pass settings match the users, and passwords here.
{{console|body=###i## mysql -u root -p
mysql> use zm;
mysql> grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'changeme';
mysql> flush privileges;
mysql> \q}}


URL rewrites offer content at the original source also.  Example:
==== Init ====
To start the ZoneMinder service:
{{console|body=###i## rc-update add zoneminder
###i## rc}}


http://www.funtoo.org/index.php?title=Welcome
==== Web Interface ====
The ZoneMinder web interface can be viewed @ http://127.0.0.1/zm/index.php


serves the same content as
==== Adding Cameras ====
{{SectionNeedsUpdates}}


http://www.funtoo.org/Welcome
=== External Resources ===
 
*http://www.zoneminder.com/wiki/index.php/Main_Documentation#Check_that_your_Camera_Works.21
we would want the cannonical url to tell search engines that http://www.funtoo.org/Welcome is the canonical url, the url to use index etc, and all duplicates are ignored instead of penalized.
*https://wiki.gentoo.org/wiki/ZoneMinder
 
*https://wiki.archlinux.org/index.php/ZoneMinder
=== php? ===
*http://www.puccinellidigital.com/musings/notes/zoneminder-nginx
Question marks are bad.  Most search engines freak out about indexing anything past a ? so use url rewrites to remove index.php? and leave just site.com/Main_Page
{{EbuildFooter}}
 
=== www ===
 
domain.org should have url rewrites, and be rewritten to www.domain.org for the purpose of wildcard ssl certificates, and cookie free domains.
 
=== 301 ===
 
Some users when referring to your web site will post links as domain.org, or www.domain.org.  using a 301 redirect on one or the other will have search engines treat both as one singular domain.  Dns 301 redirect domain.org to www.domain.org
 
==== Url spaces ====
You should prefer - over _ to represent spaces.  MediaWiki is flawed in design preferring _ over -.  This is an older SEO problem, yet it still persists in affecting your page ranking.  [[web-server-stack]] is an example of an SEO friendly url with spaces.
 
=== Server Speed ===
How fast your page loads significantly impacts seo.  Installing a caching reverse proxy, and testing that it hits close to 100% of the time is a good idea.  It prevents your server from rebuilding pages, hitting the processor, and also speeds up page delivery to move the bottle neck from the php building to the internet connection speed.  see: {{Package|www-servers/varnish}} & [[Web-server-stack#Benchmarking]]
 
=== Cookie Free Domains ===
Cookies force static content to be reloaded.  Static content can be hosted on an alternate subdomain in most cases.  example: static.google.com
 
=== CDN ===
Use of a CDN for static content will speed things up, and distribute load to client's geographically local nodes.  since a cdn is external to the website you don't have to worry about cookies forcing a cache to reload the content.
 
=== Mobile Friendly Content ===
Mobile devices have limited ram and processor speeds.  using limited image sizes, and having css omit unnecessary content is a good idea.
 
=== Mobile Friendly CSS ===
Using bootstrap, foundation, or equivalent responsive css will make your website render on mobile devices correctly.
 
=== CSS & JS Minification ===
Minified CSS & JavaScript is simply your file with all unnecessary spaces, and carriage returns removed.
 
=== CSS & JS Positioning ===
CSS insertion needs to happen at the top of your web pages source.  JavaScript needs to be loaded last, so that goes at the bottom of your web pages source.
 
=== Avoiding Inline Styles ===
CSS has several forms but inline styles should be avoided.  Prefer an external CSS file, preferably distributed by a cdn.
 
=== Meta Description/Keywords/Tags ===
Meta information is parsed directly by search engines.  with these in place they will be displayed rather than the initial text of your canonical landing page.
 
==== Dublin core ====
Dublin core is a metadata system that produces details for search engines to discover such as authors, & publication dates.  many sites generate this meta information dynamically.
 
=== Links ===
Posting links around about your site is ok so long as it is organic, and not spammy.  addthis share widgets improve SEO as they produce many backlinks that are not a bot dumping anywhere, and everywhere.  addthis produces twitter/facebook/g+/redit etc share links, and has an analytic service.
 
Linking to high quality trusted sites helps, high quality trusted sites linking back helps.
Linking to low quality untrusted sites hurts, low quality untrusted sites linking back hurts.
 
=== SiteMaps & robots.txt ===
Sitemaps generate xml pages that tell crawlers about your sites content pages, and robots.txt tell crawlers about pages they're not allowed to index.  In a few iterations ill look up how to make a robots that allows everything, as if its not even there, and an external site map generating service.
 
=== Analytics ===
Analytics tell you information about your websites users.  Some analytics services enhance seo, others are just informative.
http://www.google.com/analytics/
https://www.quantcast.com
 
piwik is server side analytics.
 
=== Webmaster Tools ===
Sign up for webmastering services provided by search engines.  Bing and Yahoo are bundled together now.
 
*https://www.google.com/webmasters/
*https://webmaster.yandex.com/
*http://www.bing.com/toolbox/webmaster
 
=== Establishing Trust ===
Encourage users to tell the internet your website is trusted.
*https://www.mywot.com
 
===testing, and evaluating===
==== free analysis ====
* http://www.webrankpage.com/
* http://www.seomastering.com/ (shows estimated page value in USD)
* http://seositecheckup.com/ (throttled to 1 check every 30 minutes)
* http://www.site-seo-analysis.com/
* http://www.seoworkers.com/tools/analyzer.html
 
==== free with required registration ====
* http://www.site-analyzer.com/
*http://www.wpromote.com/seo/seo-audit-tool (shows which pages are ranked)
 
==== pay with free trial ====
free 1 site per week testing
* http://www.woorank.com/
 
==== unsorted goodies ====
*http://www.webpagetest.org/
*http://www.seocentro.com/tools/seo/seo-analyzer.html
*http://www.seoptimer.com/
*https://www.found.co.uk/seo-tool/
*https://zadroweb.com/seo-auditor/
*https://marketing.grader.com/
*http://www.alexa.com/
 
 
=== Malware & Bad Link Scanning Services ===
*http://www.quttera.com/home
*https://app.webinspector.com/
*http://scanurl.net/
*http://safeweb.norton.com/
*http://www.avgthreatlabs.com/website-safety-reports/
*http://www.penguinscan.com/

Revision as of 23:50, April 23, 2015

Zoneminder

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

ZoneMinder is a web/net cam web-server-stack web application to create streams of video for security feeds. ZoneMinder supports motion logging, zooming, and other DVR functions.

Installation

root # emerge www-misc/zoneminder

Configuration

ZoneMinder's configuration files are located @ /etc/conf.d/zoneminder & /etc/zm.conf.

Apache

   /etc/apache2/vhosts.d/10_zoneminder.conf - Set apache configs.
ScriptAlias /cgi-bin/zms "/usr/libexec/zoneminder/cgi-bin/zms"
ScriptAlias /cgi-bin/nph-zms "/usr/libexec/zoneminder/cgi-bin/nph-zms"
 
<Directory "/usr/libexec/zoneminder/cgi-bin">
  AllowOverride All
  Options +ExecCGI
  Require all granted
</Directory>
 
Alias /zm "/usr/share/zoneminder/www"
 
<Directory "/usr/share/zoneminder/www">
  Options -Indexes +MultiViews +FollowSymLinks
  AllowOverride All
  Require all granted
</Directory>
   /etc/conf.d/apache2 - Set apache configs.
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP5 -D SECURITY"
   /etc/zm.conf - Set db password in ZoneMinder configs.
ZM_DB_USER=zmuser
ZM_DB_PASS=changeme

Database

MySQL

ZoneMinder requires a database to run. dev-db/mysql and its equivalent alternatives will suffice.

root # mysql -u root -p
mysql> create database zm;
mysql> \q

Deploy ZoneMinder's database settings:

root #mysql -p zm < /usr/share/zoneminder/db/zm_create.sql

Create a database user for ZoneMinder to use. Make sure the /etc/zm.conf zm db user & zm db pass settings match the users, and passwords here.

root # mysql -u root -p
mysql> use zm;
mysql> grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'changeme';
mysql> flush privileges;
mysql> \q

Init

To start the ZoneMinder service:

root # rc-update add zoneminder
root # rc

Web Interface

The ZoneMinder web interface can be viewed @ http://127.0.0.1/zm/index.php

Adding Cameras

   Important

This section is in need of updates.


External Resources