OnWorks favicon

dphys-config - Online in the Cloud

Run dphys-config in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dphys-config that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



dphys-config - daily auto-install/update and/or remove config files


dphys-config [-f filter] [-cqvD]

dphys-config -h


dphys-config installs/updates and/or removes config files. It also triggers commands after
an new/updated config file is available or before an existing config file will disappear.
It can be run by hand, from cron and/or from init.d.

Get an list of config files from an configuration server. For each file in the list
retrieve that file from the same server, and only install it if it is new or changed
relative to what is already here. If a file is newly installed (or changed) then run an
postinstall script, which may trigger actions which are wanted to process the new config
(such as inserting data from an config file into an database). Also remove unwanted files.
If doing so first run an preremove script to tidy up stuff.

This is part of the D-PHYS (ETH Zuerich, Departement of Physics) automatic system
operation and maintenance setup.


-c configname: Use this set of config files instead of hostname set. Useful for chroot
or vhost installs, or for tests.

-f filter
filter: Only process lines which match the filter spec.

-q quiet: Don't produce an running report of activities.

-v verbose: Give large volume output, where sensible.

-D Debug: Activate an debug option. See source for how to use this.

-h help: Output help text, and then abort operation.


The config files /etc/dphys-config (sitewide) and ~/.dphys-config (personal) allow the
admin and users to set up the working environment for dphys-config.

These config files are sh script fragments full of assignments, which are sourced, in
above row, later config files assignments overriding earlier ones. Standard sh syntax
rules apply. Assignments are:

Sets the base directory in which all temporary files are stored. It defaults to
/var/tmp (for enough size and safe operation). Some users may like to use /tmp for
higher speed (tmpfs) or automatic deletion at boot time. Standard sh syntax rules
apply. Assignments are:

Sets the base URL to which all */<hostname>/<filename> combinations are added when
wget-ing config files. This can be an http: or ftp: or whatever other type of URL
which wget understands and can fetch an file from. Additionally it can be an file:
(this may be from an NFS server) URL, in which case wget is bypassed and the files
fetched directly using cp. It defaults to the error message generating and aborting
invalid setting of
http://not-configured-server.example.net/not/configured/directory, as there is no
sensible default possible. You must set this to where ever your config files should
be taken from.

Selects the name for which set of configuration files shall be used for this host.
Defaults to `hostname`.

Sets an regexp which selects which lines from the config file list are processed.
Defaults to .* (all).

Log to syslog that dphys-config has run. Good to see if cron and/or init.d have
done their job. Defaults to yes.

The config file list dphys-config.list, which is found via above settings, and is
downloaded to /etc/dphys-config.list or ~/.dphys-config.list, then allows the admin to
list what config files are to be fetched and installed/updated or removed, and what
scripts to run for them. These can be each given for the entire site (= all hosts) and/or
group and/or each host, or even merged from site+group+host subsections.

Use dphys-config online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • 2
    Xtreme Download Manager
    Xtreme Download Manager
    The project has a new home now:
    https://xtremedownloadmanager.com/ For
    https://github.com/subhra74/xdm Xtreme
    Download Manager is a powerful tool t...
    Download Xtreme Download Manager
  • 3
    TTGO VGA32 Lite
    TTGO VGA32 Lite
    Features:4:3 and 16:9 low resolution
    VGA outputPS/2 keyboard and mouse
    inputText-based user interface (TUI)
    with dialog managerPartial Unicode
    supportSlave dis...
    Download TTGO VGA32 Lite
  • 4
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    Download Clover EFI bootloader
  • 5
    Join us in Gitter!
    Enable the URPMS repository in your
    system -
    Download unitedrpms
  • 6
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • 7
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • More »

Linux commands