de:playground:test
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende Überarbeitung | |||
de:playground:test [2016-03-21 18:59] – 62.153.28.74 | de:playground:test [2017-11-08 22:04] (aktuell) – 108.26.161.235 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== Formatting Syntax, hallo welt ====== | + | |
- | [[doku> | + | |
- | ===== Basic Text Formatting ===== | + | === === |
- | DokuWiki supports **bold**, //italic//, __underlined__ and '' | ||
- | DokuWiki supports **bold**, //italic//, __underlined__ and '' | + | ====== Overview ====== |
- | Of course you can **__//'' | + | |
- | You can use < | + | FreeNAS is a very simple yet reliable file server. It's main feature is the ZFS filesystem (a next generation filesystem) gives it the ability to maintain data integrity at any scale. In order to fully utilize this filesystem the storage must be shared out. This is accomplished with the SMB (single message block) protocol using Samba. When sharing data on a network the data must be protected. To maintain access control Samba can also be used to manage permissions |
- | You can use < | ||
- | You can mark something as < | + | ====== Build ====== |
- | You can mark something | + | FreeNAS is built with Samba as a default. It is not activated by default but is already installed making using the Samba features very simple. |
- | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line.This is some text with some linebreaks\\ Note that thetwo backslashes are only recognized at the end of a line\\or followed by\\ a whitespace \\this happens without it. | ||
- | This is some text with some linebreaks\\ Note that the | + | ====== Deploy ====== |
- | two backslashes are only recognized at the end of a line\\ | + | |
- | or followed by\\ a whitespace \\this happens without it. | + | |
- | You should use forced newlines only if really needed. | + | === Hardware === |
- | ===== Links ===== | + | FreeNAS can be installed on almost any hardware but to best suit the requirements of B-C-D it must meet the following: |
- | DokuWiki supports multiple ways of creating links. | + | * An Intel atom or higher with ECC compatability. |
+ | * 8+ GB of ECC RAM (speed is not important as long as it is compatible with the motherboard. ECC is important). | ||
+ | * Flash based storage for the OS. SSD is recomended for reliability but a USB flash drive is completely acceptable. | ||
- | ==== External ==== | + | === Steps to connect to Active Directory |
- | External links are recognized automagically: | + | - Select **Directory Service > Active Directory**. |
+ | - Enter the DNS name of the domain (exaple.com instead of just example) in the **Domain Name** section. Enter the user name and password in the proceeding sections to authenticate to the domain (use an account that has permission to bind to the network). | ||
+ | | ||
+ | - Add the main Domain Controller under the **Domain Controller** section (winserver1). | ||
+ | - Last check to ensure **Lsmap backend** is **rid** then select **Save**. | ||
+ | - The FreeNAS server now binds to the domain (which may take 5 to 15 minutes). | ||
+ | - To confirm the bind was successful open a command prompt and run wbinfo -u and you should get a list of all users on the domain. | ||
+ | - If there are issues read the official FreeNAS documentation on binding to a domain. | ||
- | DokuWiki supports multiple ways of creating links. External links are recognized | + | === Steps to Deploy a Samba share === |
- | automagically: | + | |
- | link text as well: [[http:// | + | |
- | addresses like this one: < | + | |
+ | - Connect to FreeNAS. | ||
+ | - If needed create a new volume. | ||
+ | - Set the permissions on the new volume by selecting the volume then **Change Permissions**. | ||
+ | - Using the two **Owner** drop downs, select the appropriate user and group owners. | ||
+ | - Next select **Windows** in the **Permission Type:** section. | ||
+ | - Finally select **Set permission recursively: | ||
+ | - Next select **Sharing > Windows (SMB) Shares > Add Windows (SMB) Share**. | ||
+ | - Select the volume you created under **Path:** then add the name it will be accessed by under **Name:**. | ||
+ | - Leave the rest at the default and click **OK**. | ||
+ | - By creating the share Samba will be activated as well. | ||
- | ==== Internal | + | ====== Common Tasks ====== |
- | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. | + | Samba, once set up is very low maintenance. One big thing, however, is if a new user has been created in the domain FreeNAS will not automatically update right away so this must be done manually. |
- | Internal links are created by using square brackets. You can either just give | + | === Updating AD Cache === |
- | a [[pagename]] or use an additional [[pagename|link text]]. | + | |
- | [[doku> | + | * First connect the FreeNAS. |
+ | * Go to **Directory Service > Active Directory**. | ||
+ | * Click **Rebuild Directory Service Cache**. | ||
+ | * Open a shell to FreeNAS and run ' | ||
- | You can use [[some: | ||
- | For details about namespaces see [[doku> | + | ====== Alerts ====== |
- | This links to [[syntax# | + | What should be monitored and all the alerts that could be generated. Who should get the alerts and what to do to resolve each. |
- | Notes: | + | === Alert 1 === |
- | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | + | * Steps to resolve |
- | * DokuWiki does not use [[wp> | + | |
- | * When a section' | + | |
+ | === Alert 2 === | ||
+ | * Steps to resolve | ||
- | ==== Interwiki ==== | ||
- | DokuWiki supports [[doku> | + | ====== Disaster Recovery ====== |
- | DokuWiki supports [[doku> | + | If one machine delivering service of multiple what is the plan. |
- | For example this is a link to Wikipedia' | + | |
+ | === Disaster 1 === | ||
+ | * Recovery steps | ||
- | ==== Windows Shares ==== | + | === Disaster 2 === |
- | Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp> | + | * Recovery Steps |
- | Windows Shares like [[\\server\share|this]] are recognized, too. | ||
- | Notes: | + | ====== Service Level Agreement ====== |
- | * For security reasons direct browsing | + | The SMB shared provided by FreeNAS are critical to the success |
- | * For Mozilla | + | |
- | <?php/** * Customization of the english language file * Copy only the strings that needs to be modified */ | + | === Uptime Goal === |
- | ==== Image Links ==== | + | Due to the importance of up time with this service the uptime goal is 2 days a year or 99.9955% of the time. FreeNAS is very stable but Active Directory can move forwards faster at times than Samba can keep up leading to issues authenticating. This leaves computers unable to connect to the server which is a large issue. Knowing this downtime is possible we can not commit to a higher up time. |
- | You can also use an image to link to another internal or external page by combining the syntax for links and [[# | + | === RPO === |
- | [[http:// | + | Samba failure does not result in any direct data loss due to it denying access during a failure. The only predicted data loss is from changes that are not being updated on the file server. Most of these changes however are fixed by Windows automatically on re-connection. Despite this though the company can not afford to lose more than one hour of data due to this issue. It should be detected within the hour to prevent further data loss. |
- | [[http:// | + | === RTO === |
- | ===== Footnotes ===== | + | FreeNAS uses ZFS which allows for easy import of disks and import of a configuration file. With both of those features a full recovery can take no more than 5 hours. This along with at least 2 hours of trouble shooting bring the RPO to a total of 5 hours for full Samba recovery. |
- | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
- | |||
- | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
- | |||
- | |||
- | |||
- | ===== Sectioning ===== | ||
- | |||
- | You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''< | ||
- | |||
- | ==== Headline Level 3 ==== | ||
- | |||
- | === Headline Level 4 === | ||
- | |||
- | == Headline Level 5 == | ||
- | |||
- | |||
- | |||
- | ==== Headline Level 3 ==== | ||
- | === Headline Level 4 === | ||
- | == Headline Level 5 == | ||
- | |||
- | By using four or more dashes, you can make a horizontal line:---- | ||
- | |||
- | ===== Media Files ===== | ||
- | |||
- | You can include external and internal [[doku> | ||
- | |||
- | Real size: {{wiki: | ||
- | Resize to given width: | ||
- | Resize to given width and height: {{wiki: | ||
- | Resized external image: | ||
- | |||
- | By using left or right whitespaces you can choose the alignment.{{ wiki: | ||
- | |||
- | {{ wiki: | ||
- | {{wiki: | ||
- | {{ wiki: | ||
- | |||
- | Of course, you can add a title (displayed as a tooltip by most browsers), too.{{ wiki: | ||
- | |||
- | {{ wiki: | ||
- | |||
- | For linking an image to another page see [[#Image Links]] above. | ||
- | |||
- | ==== Supported Media Formats ==== | ||
- | |||
- | DokuWiki can embed the following media formats directly. | ||
- | |||
- | | Image | '' | ||
- | | Video | '' | ||
- | | Audio | '' | ||
- | | Flash | '' | ||
- | If you specify a filename that is not a supported media format, then it will be displayed as a link instead.By adding ''? | ||
- | |||
- | {{wiki: | ||
- | |||
- | {{wiki: | ||
- | |||
- | ==== Fallback Formats ==== | ||
- | |||
- | Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility.For example consider this embedded mp4 video: | ||
- | |||
- | {{video.mp4|A funny video}} | ||
- | |||
- | When you upload a '' | ||
- | |||
- | ===== Lists ===== | ||
- | |||
- | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | ||
- | |||
- | * You may have different levels | ||
- | * Another item | ||
- | |||
- | |||
- | |||
- | - The same list but ordered | ||
- | - Another item | ||
- | - Just use indention for deeper levels | ||
- | - That's it | ||
- | |||
- | < | ||
- | |||
- | * This is a list | ||
- | * The second item | ||
- | * You may have different levels | ||
- | * Another item | ||
- | |||
- | |||
- | |||
- | - The same list but ordered | ||
- | - Another item | ||
- | - Just use indention for deeper levels | ||
- | - That's it | ||
- | |||
- | </ | ||
- | |||
- | ===== Text Conversions ===== | ||
- | |||
- | DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML.The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | ||
- | |||
- | ==== Text to Image Conversions ==== | ||
- | |||
- | DokuWiki converts commonly used [[wp> | ||
- | |||
- | * 8-) %% 8-) %% | ||
- | * 8-O %% 8-O %% | ||
- | * :-( %% :-( %% | ||
- | * :-) %% :-) %% | ||
- | * =) %% =) %% | ||
- | * :-/ %% :-/ %% | ||
- | * :-\ %% :-\ %% | ||
- | * :-? %% :-? %% | ||
- | * :-D %% :-D %% | ||
- | * :-P %% :-P %% | ||
- | * :-O %% :-O %% | ||
- | * :-X %% :-X %% | ||
- | * :-| %% :-| %% | ||
- | * ;-) %% ;-) %% | ||
- | * ^_^ %% ^_^ %% | ||
- | * :?: %% :?: %% | ||
- | * :!: %% :!: %% | ||
- | * LOL %% LOL %% | ||
- | * FIXME %% FIXME %% | ||
- | * DELETEME %% DELETEME %% | ||
- | |||
- | |||
- | |||
- | ==== Text to HTML Conversions ==== | ||
- | |||
- | Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters.-> | ||
- | |||
- | ===== Quoting ===== | ||
- | |||
- | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax:< | ||
- | |||
- | ===== Tables ===== | ||
- | |||
- | DokuWiki supports a simple syntax to create tables. | ||
- | |||
- | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
- | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | ||
- | | Row 2 Col 1 | some colspan (note the double pipe) || | ||
- | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | ||
- | Table rows have to start and end with a '' | ||
- | |||
- | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
- | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | ||
- | | Row 2 Col 1 | some colspan (note the double pipe) || | ||
- | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | ||
- | |||
- | To connect cells horizontally, | ||
- | |||
- | || | ||
- | ^^ | ||
- | ^^ | ||
- | ^^ | ||
- | As you can see, it's the cell separator before a cell which decides about the formatting: | ||
- | |||
- | | ^ Heading 1 ^ Heading 2 ^ | ||
- | ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | | ||
- | ^ Heading 4 | no colspan this time | | | ||
- | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 | | ||
- | |||
- | You can have rowspans (vertically connected cells) by adding '' | ||
- | |||
- | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
- | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | | ||
- | | Row 2 Col 1 | ::: | Row 2 Col 3 | | ||
- | | Row 3 Col 1 | ::: | Row 2 Col 3 | | ||
- | Apart from the rowspan syntax those cells should not contain anything else. | ||
- | |||
- | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
- | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | | ||
- | | Row 2 Col 1 | ::: | Row 2 Col 3 | | ||
- | | Row 3 Col 1 | ::: | Row 2 Col 3 | | ||
- | |||
- | You can align the table contents, too. Just add at least two whitespaces at the opposite end of your text: Add two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text. | ||
- | |||
- | ^ Table with alignment ^^^ | ||
- | | right | center | left | | ||
- | | left | right | center | | ||
- | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
- | This is how it looks in the source: | ||
- | |||
- | ^ Table with alignment | ||
- | | | ||
- | |left | | ||
- | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
- | |||
- | Note: Vertical alignment is not supported. | ||
- | |||
- | ===== No Formatting ===== | ||
- | |||
- | If you need to display text exactly like it is typed (without any formatting), | ||
- | |||
- | < | ||
- | This is some text which contains addresses like this: http:// | ||
- | </ | ||
- | The same is true for %%// | ||
- | |||
- | |||
- | |||
- | ===== Code Blocks ===== | ||
- | |||
- | You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags '' | ||
- | |||
- | This is text is indented by two spaces. | ||
- | |||
- | < | ||
- | |||
- | This is text is indented by two spaces. | ||
- | |||
- | |||
- | |||
- | < | ||
- | This is preformatted code all spaces are preserved: like <-this | ||
- | </ | ||
- | |||
- | |||
- | |||
- | < | ||
- | This is pretty much the same, but you could use it to show that you quoted a file. | ||
- | </ | ||
- | |||
- | |||
- | |||
- | ==== Syntax Highlighting ==== | ||
- | |||
- | [[wiki: | ||
- | |||
- | public static void main(String[] args) { | ||
- | System.out.println(" | ||
- | } | ||
- | |||
- | }</ | ||
- | |||
- | ==== Downloadable Code Blocks ==== | ||
- | |||
- | When you use the '' | ||
- | |||
- | ===== Embedding HTML and PHP ===== | ||
- | |||
- | You can embed raw HTML or PHP code into your documents by using the '' | ||
- | |||
- | ===== RSS/ATOM Feed Aggregation ===== | ||
- | |||
- | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
- | |||
- | ^ Parameter ^ Description ^ | ||
- | | any number | will be used as maximum number items to show, defaults to 8 | | ||
- | | reverse | display the last items in the feed first | | ||
- | | author | show item authors names | | ||
- | | date | show item dates | | ||
- | | description | show the item description. If [[doku> | ||
- | | nosort | do not sort the items in the feed | | ||
- | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | ||
- | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki: | ||
- | |||
- | {{rss> | ||
- | |||
- | {{rss> | ||
- | |||
- | ===== Control Macros ===== | ||
- | |||
- | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: | ||
- | |||
- | ^ Macro ^ | ||
- | | %%~~NOTOC~~%% | If this macro is found on the page, no table of contents will be created | | ||
- | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
- | |||
- | |||
- | ===== Syntax Plugins ===== | ||
- | |||
- | DokuWiki' | ||
+ | ====== Revision Table ====== | ||
+ | ^Date | ||
+ | |9/ | ||
de/playground/test.txt · Zuletzt geändert: 2017-11-08 22:04 von 108.26.161.235