243
edits
Tonyhanson (talk | contribs) No edit summary |
Tonyhanson (talk | contribs) No edit summary |
||
Line 35: | Line 35: | ||
==== cron ==== | ==== cron ==== | ||
cron is a Unix utility that allow you to schedule and run programs (such as backups) on an established schedule. If your Unix system allows you to do so, you could submit an entry that would look like this: | cron is a Unix utility that allow you to schedule and run programs (such as backups) on an established schedule. If your Unix system allows you to do so, you could submit an entry that would look like this: | ||
<pre>00 01 * * 0 /some/dir/my_backups </pre> | <pre>00 01 * * 0 /some/dir/my_backups </pre> | ||
This would tell the system to run the 'my_backups' program located in the /some/dir directory at 1:00 am every Sunday. The meanings of the five fields are provided below. | This would tell the system to run the 'my_backups' program located in the /some/dir directory at 1:00 am every Sunday. The meanings of the five fields are provided below. | ||
Line 46: | Line 46: | ||
| +----------- hour (0 - 23) | | +----------- hour (0 - 23) | ||
+------------- min (0 - 59)</pre> | +------------- min (0 - 59)</pre> | ||
Note that an asterick will be interpreted as every day of week/month/day/hour/minute. You can also have several entries seperated by commas. In the following example my_logs would be run at 1:05 pm every Monday, Wednesday and Friday. | Note that an asterick will be interpreted as every day of week/month/day/hour/minute. You can also have several entries seperated by commas. In the following example my_logs would be run at 1:05 pm every Monday, Wednesday and Friday. | ||
<pre>05 13 * * 1,3,5 /some/dir/my_logs</pre> | <pre>05 13 * * 1,3,5 /some/dir/my_logs</pre> | ||
If you are lucky your hosting service will provide a GUI interface that makes entering and managing entries a little easier. | If you are lucky your hosting service will provide a GUI interface that makes entering and managing entries a little easier. | ||
==== tar ==== | ==== tar ==== | ||
Line 60: | Line 60: | ||
It is common to group a series of backup commands into a batch file and to schedule that batch file to be run in cron. | It is common to group a series of backup commands into a batch file and to schedule that batch file to be run in cron. | ||
See your systems man pages for tar to see details on the options as these vary from implementation to implementation. | See your systems man pages for tar to see details on the options as these vary from implementation to implementation. | ||
== Basic Shell Programming == | == Basic Shell Programming == | ||
Line 68: | Line 68: | ||
This is not an area for the faint of heart... if your only experience with computers has been with Windows or a Mac you are going to find that blinking dollar sign to be very unhelpful. You can do very powerful things here, but it does require a basic understanding of the file structure, some of the basic shell commands and familiarity with an editor like vi. | This is not an area for the faint of heart... if your only experience with computers has been with Windows or a Mac you are going to find that blinking dollar sign to be very unhelpful. You can do very powerful things here, but it does require a basic understanding of the file structure, some of the basic shell commands and familiarity with an editor like vi. | ||
Note that many hosting services do not allow access to the shell by default. You may need to contact them and request permission. | Note that many hosting services do not allow access to the shell by default. You may need to contact them and request permission. | ||
Once you have access to the shell you can create files with valid commands in them. One common use is to create backup files.Here is a typical sample presented only to illustrate the basic concepts. | Once you have access to the shell you can create files with valid commands in them. One common use is to create backup files.Here is a typical sample presented only to illustrate the basic concepts. | ||
<pre>MON=`date | cut -c5-7` | <pre>MON=`date | cut -c5-7` | ||
DAY=`date | cut -c9-10` | DAY=`date | cut -c9-10` | ||
Line 81: | Line 81: | ||
FILENAME=$BUD"/"$DAT_TIM"_public_html_Production.tar.gz" | FILENAME=$BUD"/"$DAT_TIM"_public_html_Production.tar.gz" | ||
tar --create --gzip --file=$FILENAME Production</pre> | tar --create --gzip --file=$FILENAME Production</pre> | ||
After creating and saving this file (say, for example, in a file named DailyBackups) you would tell the shell that it was an executable program my changing the file attributes using the chmod command: | After creating and saving this file (say, for example, in a file named DailyBackups) you would tell the shell that it was an executable program my changing the file attributes using the chmod command: | ||
<pre>chmod +x DailyBackups</pre> | <pre>chmod +x DailyBackups</pre> | ||
You could then run the file by typing this at the shell prompt (from the same directory): | You could then run the file by typing this at the shell prompt (from the same directory): | ||
<pre>DailyBackups</pre> | <pre>DailyBackups</pre> | ||
This would tell the system to run your shell and create a backup file named 29_Jan_2011_01_30_02_public_html_Production.tar.gz | This would tell the system to run your shell and create a backup file named 29_Jan_2011_01_30_02_public_html_Production.tar.gz | ||
== Text Editors == | == Text Editors == | ||
Creating and modifying files when logged into the shell requires the use of a text editor. vi is one that is provided with virtually every Unix installation (there are others). See the writeup on the [https://wiki.familysearch.org/en/Vi_-_The_Unix_Visual_Editor vi editor] for more information on how to use vi. | Creating and modifying files when logged into the shell requires the use of a text editor. vi is one that is provided with virtually every Unix installation (there are others). See the writeup on the [https://wiki.familysearch.org/en/Vi_-_The_Unix_Visual_Editor vi editor] for more information on how to use vi. | ||
== .htaccess == | == .htaccess == | ||
Line 95: | Line 95: | ||
.htaccess is a file that can be created on your web site to provide your web server with special instructions to handle a variety of tasks such as page redirection and security. The following links provide more information: | .htaccess is a file that can be created on your web site to provide your web server with special instructions to handle a variety of tasks such as page redirection and security. The following links provide more information: | ||
*[http://frontdeskapp.com/blog/a-quick-introduction-to-htaccess/ A Quick Introduction to htaccess] | *[http://frontdeskapp.com/blog/a-quick-introduction-to-htaccess/ A Quick Introduction to htaccess] | ||
*[http://frontdeskapp.com/blog/5-htaccess-tricks-every-webmaster-should-know/ 5 htaccess Tricks Every Webmaster Should Know] | *[http://frontdeskapp.com/blog/5-htaccess-tricks-every-webmaster-should-know/ 5 htaccess Tricks Every Webmaster Should Know] | ||
*[http://www.askapache.com/htaccess/htaccess.html The Ultimate htaccess] | *[http://www.askapache.com/htaccess/htaccess.html The Ultimate htaccess] | ||
Line 101: | Line 101: | ||
== Google Analytics == | == Google Analytics == | ||
[http://www.google.com/analytics/#utm_campaign=en_us&utm_source=en-ha-na Google Analytics] is a powerful and free resource that allows you to track and analyze the utilization of your web site. You need to log in and register your site: when you do you will be provided with some HTML code to copy and paste into the appropriate place on your web site. Once you do, Google Analytics will start tracking usage of your web site and will provide you with a wide variety of reports on their site. | [http://www.google.com/analytics/#utm_campaign=en_us&utm_source=en-ha-na Google Analytics] is a powerful and free resource that allows you to track and analyze the utilization of your web site. You need to log in and register your site: when you do you will be provided with some HTML code to copy and paste into the appropriate place on your web site. Once you do, Google Analytics will start tracking usage of your web site and will provide you with a wide variety of reports on their site. | ||
== CSS, XML or HTML information == | == CSS, XML or HTML information == | ||
If you dabble in these protocols the [http://www.w3schools.com/ www.w3schools.com] is a must see site. It has tutorials, syntax references and loads of interactive examples. | If you dabble in these protocols the [http://www.w3schools.com/ www.w3schools.com] is a must see site. It has tutorials, syntax references and loads of interactive examples. | ||
== Terminal Emulation == | == Terminal Emulation == | ||
Line 117: | Line 117: | ||
RSS stands for Really Simple Syndication. This is a technology that allows you to 'subscribe' to selected web site, Blogs and/or Wiki's and receive content from them whenever it changes. | RSS stands for Really Simple Syndication. This is a technology that allows you to 'subscribe' to selected web site, Blogs and/or Wiki's and receive content from them whenever it changes. | ||
See [http://www.problogger.net/what-is-rss/ What is RSS] on PROBLOGGER for more information. | See [http://www.problogger.net/what-is-rss/ What is RSS] on PROBLOGGER for more information. | ||
== MySQL - Popular Relational Database == | == MySQL - Popular Relational Database == | ||
MySQL is a popular relational database provided by many web hosting services. If you subscribe to one of these services and have loaded one of their Blog, Wiki or Content Management System packages chances are you are using MySQL and don't even know it! | MySQL is a popular relational database provided by many web hosting services. If you subscribe to one of these services and have loaded one of their Blog, Wiki or Content Management System packages chances are you are using MySQL and don't even know it! | ||
You should be able access MySQL directly: see the information provided by your Web Hosting provider. | You should be able access MySQL directly: see the information provided by your Web Hosting provider. | ||
MySQL Forge has an impressive colletion of [http://forge.mysql.com/wiki/MySQL_Tutorials MySQL tutorials]. | MySQL Forge has an impressive colletion of [http://forge.mysql.com/wiki/MySQL_Tutorials MySQL tutorials]. | ||
= PHP = | = PHP = | ||
Line 161: | Line 161: | ||
== Popular Wiki's == | == Popular Wiki's == | ||
*[http://www.mediawiki.org/wiki/MediaWiki MediaWiki] - What Wikipedia uses... | *[http://www.mediawiki.org/wiki/MediaWiki MediaWiki] - What Wikipedia uses... | ||
*[http://docs.wikkawiki.org/HomePage WikkaWiki] - One attraction is the ability to create private/closed wiki's | *[http://docs.wikkawiki.org/HomePage WikkaWiki] - One attraction is the ability to create private/closed wiki's | ||
*[http://www.pmwiki.org/ PmWiki] | *[http://www.pmwiki.org/ PmWiki] | ||
*[http://www.dokuwiki.org/dokuwiki DokuWiki] | *[http://www.dokuwiki.org/dokuwiki DokuWiki] | ||
Line 193: | Line 193: | ||
= Facebook = | = Facebook = | ||
Utilizing [http://www.facebook.com/ FaceBook] to reach out to younger genealogists is something that all societies should consider. | Utilizing [http://www.facebook.com/ FaceBook] to reach out to younger genealogists is something that all societies should consider. | ||
= Twitter = | |||
[http://twitter.com/ Twitter ]is another tool that is probably under utilized by most societies. | |||
The use of HashTags to post comments from events like conferences and seminars has become popular recently. | |||
= Creating Effective Web-Based Presentations = | = Creating Effective Web-Based Presentations = |
edits