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

(Difference between pages)
m
 
(initial commit)
 
Line 1: Line 1:
 
{{Ebuild
 
{{Ebuild
|Summary=Network Time Protocol suite/programs
+
|Summary=Command-line interface to various pastebins
|CatPkg=net-misc/ntp
+
|CatPkg=app-text/wgetpaste
|Homepage=http://www.ntp.org/
+
|Homepage=http://wgetpaste.zlin.dk/
 
}}
 
}}
 +
{{PageNeedsUpdates}}
  
 
=== Installation ===
 
=== Installation ===
{{console|body=
+
{{console|body=###i## emerge app-text/wgetpaste}}
###i## emerge net-misc/ntp
+
}}
+
  
 
=== Configuration ===
 
=== Configuration ===
==== Client ====
 
The ntp-client command immediately synchronizes your clock, and has separate ntp sync settings from the daemon:
 
 
{{file|name=/etc/conf.d/ntp-client|lang=|desc=setting ntp-client upstream servers|body=
 
NTPCLIENT_OPTS="-s -b -u \
 
0.pool.ntp.org 1.pool.ntp.org \
 
2.pool.ntp.org 3.pool.ntp.org"
 
}}
 
 
==== Server ====
 
The ntpd server is also an ntp-client of upstream servers.  Ntpd continuously, and gradually synchronizes the local clock.
 
 
{{file|name=/etc/ntp.conf|lang=|desc=setting ntpd upstream servers|body=
 
# Pools for Gentoo users
 
server 0.pool.ntp.org
 
server 1.pool.ntp.org
 
server 2.pool.ntp.org
 
server 3.pool.ntp.org
 
}}
 
 
=== Runtime ===
 
{{console|body=
 
###i## rc-update add ntpd
 
###i## rc-update add ntp-client
 
###i## rc
 
}}
 
 
==== Hardware Clock ====
 
To write your NTP sync time to the hardware at shutdown, and read hw clock at start.
 
 
{{console|body=
 
###i## echo 'clock_hctosys="YES"' >> /etc/conf.d/hwclock
 
###i## echo 'clock_hctosys="YES"' >> /etc/conf.d/hwclock
 
###i## rc-service hwclock restart
 
###i## rc-update add hwclock boot
 
}}
 
 
=== External Resources ===
 
http://keetweej.vanheusden.com/query_ntp.php
 
  
 +
=== Usage ===
 +
Wgetpaste allows output to be streamed to the pastebin service of your choice.
 +
{{console|body=###i## cat /tmp/emergeinfo.txt | wgetpaste}}
 
{{EbuildFooter}}
 
{{EbuildFooter}}

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

Drobbins

Pre-built kernels!

Funtoo stage3's are now starting to offer pre-built kernels for ease of install. read more....
12 May 2015 by Drobbins
Drobbins

Better Experiences: Ego and Vim

Info on Funtoo's new personality tool called 'ego', and user-focused updates to vim's defaults.
27 April 2015 by Drobbins
Drobbins

How We're Keeping You At the Center of the Funtoo Universe

Read about recent developments that keep you, our users, at the forefront of our focus as Funtoo moves forward.
10 April 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