Category:Linux: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
#!/bin/bash |
|||
RSYNC="/usr/bin/rsync" |
|||
OPTS="--recursive --links --perms --times -D --delete --timeout=300" |
|||
#Uncomment the following line only if you have been granted access to masterportage.gentoo.org |
|||
#SRC="rsync://masterportage.gentoo.org/gentoo-portage" |
|||
#If you are waiting for access to our master mirror, select one of our mirrors to mirror from: |
|||
SRC="rsync://rsync.de.gentoo.org/gentoo-portage" |
|||
DST="/home/mirroruser/gentoo/rsync/" |
|||
echo "Started update at" `date` >> $0.log 2>&1 |
|||
logger -t rsync "re-rsyncing the gentoo-portage tree" |
|||
${RSYNC} ${OPTS} ${SRC} ${DST} >> $0.log 2>&1 |
|||
echo "End: "`date` >> $0.log 2>&1 |
Revision as of 18:47, 11 March 2011
- !/bin/bash
RSYNC="/usr/bin/rsync" OPTS="--recursive --links --perms --times -D --delete --timeout=300"
- Uncomment the following line only if you have been granted access to masterportage.gentoo.org
- SRC="rsync://masterportage.gentoo.org/gentoo-portage"
- If you are waiting for access to our master mirror, select one of our mirrors to mirror from:
SRC="rsync://rsync.de.gentoo.org/gentoo-portage" DST="/home/mirroruser/gentoo/rsync/"
echo "Started update at" `date` >> $0.log 2>&1 logger -t rsync "re-rsyncing the gentoo-portage tree" ${RSYNC} ${OPTS} ${SRC} ${DST} >> $0.log 2>&1
echo "End: "`date` >> $0.log 2>&1
Pages in category "Linux"
The following 135 pages are in this category, out of 135 total.
A
C
D
- Danish keyboard with xorg-server 1.5
- Dd status during transfer
- Debian downgrade package
- Debian enable ldap users systemwide
- Debian Etch - Nagios 3.1
- Debian goodies
- Device is busy
- Docker - galera
- Docker - haproxy-confd-etcd
- Docker - howto
- Docker - ruby on rails
- Docker - systemd-232-fix-docker
- Downgrade fwbuilder
- DRBD, heartbeat on Debian Etch
- Drive errors
G
I
K
L
M
N
P
- Page allocation failure. order:0, mode:0x20
- Parted - GPT
- Perf - get disk usage
- Perf counters
- Performance testing
- Perl - log with finer timestaps (milliseconds)
- Port - who is using what portnumber
- Postfix sasl smtp auth users
- Postgres show all databases
- Postserver - med certifikat mm
- Prestashop - ecommerce online shop
- Primer on I/O cache
- Ps - sort after memory usage
- PXE - preseed ubuntu
R
S
- Salt - howto simple custom module and jinja
- Samba - check up against MS AD server
- Samba - test read performance
- Samba 4 - domain controller
- Screen - extra options
- Shell - Prevent screen fadeout/screensaver
- Shell scripting - goodies
- Software raid - mdadm
- Source policy routing - multihoming
- Squid proxy remote server
- SSL - tips
- Streestesting/benchmarking
- Switch - HP 2910al