User Tools

Site Tools


linux:system_config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
linux:system_config [2012/09/08 10:14]
tkilla created
linux:system_config [2018/10/08 17:05]
tkilla [Date, Time and Timezones]
Line 1: Line 1:
 ====== System Config ====== ====== System Config ======
 +
 +Debian & Ubuntu style
 +
 +
 +===== APT / dpkg =====
 +
 +get installed packages:
 +
 +  dpkg --get-selections > dpkgselections
 +  
 +set & install packages from file:
 +
 +  dpkg --set-selections < dpkgselections
 +
 +  dselect update   # fixes packages not found in db errors
 +  apt-get -u dselect-upgrade
 +
 +  # or:
 +  aptitude install
 +
 +
  
  
 ===== Date, Time and Timezones ===== ===== Date, Time and Timezones =====
 +
 +==== get date & time ====
 +
 +  date
 +  
 +==== set date & time ====
 +
 +  date --set 1998-11-02 
 +  date --set 21:08:0
 +  
 +  
 +==== set timezone ====
 +
 +  dpkg-reconfigure tzdata
 +
 +
 +
 +==== fix locales ====
 +
 +  apt-get install locales
 +  dpkg-reconfigure locales
 +  locale
 +
 +If you still get "unable to set locale, falling back to the default locale", try this:
 +
 +  export LANGUAGE=en_US.UTF-8
 +  export LANG=en_US.UTF-8
 +  export LC_ALL=en_US.UTF-8
 +  locale-gen en_US.UTF-8
  
  
linux/system_config.txt ยท Last modified: 2019/01/24 21:43 by tkilla