Difference between pages "Package:Chrony" and "Package:Wgetpaste"

(Difference between pages)
m (Threesixes moved page Set Up Chrony For Accurate System Time to Package:Chrony: 4 the chaos)
 
(initial commit)
 
Line 1: Line 1:
=== Accurate System Time (NTP) ===
+
{{Ebuild
 +
|Summary=Command-line interface to various pastebins
 +
|CatPkg=app-text/wgetpaste
 +
|Homepage=http://wgetpaste.zlin.dk/
 +
}}
 +
{{PageNeedsUpdates}}
  
It's important that your Funtoo Linux system has an accurate clock. NTP (network time protocol) can ensure your clock is accurate at all time.
+
=== Installation ===
 +
{{console|body=###i## emerge app-text/wgetpaste}}
  
The recommended NTP client/server is '''{{Package|net-misc/chrony}}'''.
+
=== Configuration ===
  
<console>
+
=== Usage ===
###i## emerge chrony
+
Wgetpaste allows output to be streamed to the pastebin service of your choice.
###i## rc-update add chronyd default
+
{{console|body=###i## cat /tmp/emergeinfo.txt | wgetpaste}}
</console>
+
{{EbuildFooter}}
 
+
Use something like the following for your <code>/etc/chrony/chrony.conf</code>:
+
 
+
<pre>
+
server time.apple.com
+
maxupdateskew 100
+
driftfile /etc/chrony/chrony.drift
+
keyfile /etc/chrony/chrony.keys
+
commandkey 1
+
dumponexit
+
dumpdir /var/log/chrony
+
initstepslew 10 time.apple.com
+
logdir /var/log/chrony
+
log measurements statistics tracking
+
logchange 0.5
+
mailonchange me@emailprovider.com 0.5
+
rtcfile /etc/chrony/chrony.rtc
+
rtconutc
+
sched_priority 1
+
lock_all
+
</pre>
+
 
+
Chronyd can then be started immediately by running <code>rc</code> to start all new services:
+
 
+
<console>
+
###i## rc
+
</console>
+
 
+
Because Funtoo Linux starts network daemons without waiting for an Internet connection to become available, and because chrony will attempt to synchronize the clock over the Internet when it first starts, you must manually configure chronyd to be dependent on whatever method you use to enable your outbound network connectivity. For example, if using <code>dhcpcd</code>, add the following to <code>/etc/conf.d/chronyd</code>:
+
 
+
<pre>
+
rc_need=dhcpcd
+
</pre>
+
 
+
You should notice a marked improvement in your system clock's accuracy. If your system time was off by a significant amount, <code>chronyd</code> will gradually correct your clock while the system runs.
+
 
+
[[Category:System]]
+
[[Category:Official Documentation]]
+

Revision as of 06:25, January 27, 2015

app-text/wgetpaste


Source Repository:Gentoo Portage Tree
Homepage

Summary: Command-line interface to various pastebins

Use Flags

lodgeit-default
Set one of lodgeit-like (ex http://paste.pocoo.org) services as default

News

Mgorny

New OpenGL management in Funtoo

Funtoo is switching to an improved system for managing multiple OpenGL providers (Mesa/Xorg, AMD and nVidia). The update may involve blockers and file collisions.
30 March 2015 by Mgorny
Drobbins

Subarch Profiles are coming...

Subarch profiles are on their way! Learn more here.
29 March 2015 by Drobbins
Drobbins

RSS/Atom Support

You can now follow this news feed at http://www.funtoo.org/news/atom.xml .
10 February 2015 by Drobbins
View More News...

Wgetpaste

Tip

This is a wiki page. To edit it, 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.


Installation

# emerge app-text/wgetpaste


Configuration

Usage

Wgetpaste allows output to be streamed to the pastebin service of your choice.

# cat /tmp/emergeinfo.txt