MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap
Revision 4 as of 2014-04-24 14:46:00
  • Debian

Debian

Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run.

All packages list

http://packages.debian.org/stable/allpackages

Sample service blah

File in /etc/init.d/blah with chmod 755:

   1 #! /bin/sh
   2 # /etc/init.d/blah
   3 #
   4 
   5 # Some things that run always
   6 touch /var/lock/blah
   7 
   8 # Carry out specific functions when asked to by the system
   9 case "$1" in
  10   start)
  11     echo "Starting script blah "
  12     echo "Could do more here"
  13     ;;
  14   stop)
  15     echo "Stopping script blah"
  16     echo "Could do more here"
  17     ;;
  18   *)
  19     echo "Usage: /etc/init.d/blah {start|stop}"
  20     exit 1
  21     ;;
  22 esac
  23 
  24 exit 0

Add service

  • update-rc.d blah defaults
  • update-rc.d blah defaults 20 80
  • update-rc.d blah start 20 2 3 4 . start 30 5 . stop 80 0 1 6 .

Remove service

  • update-rc.d -f blah remove

Check services status

  • service --status-all
  • service blah status

Install Debian Wheezy 32 bit

In Virtualbox

  • new,
  • type linux
  • version debian
  • name DW
  • memory size 512 MB,
  • create virtual hard drive
  • vdi type
  • dynamically allocated
  • 8 GB
  • power on
  • choose debian-7.3.0-i386-DVD-1.iso
  • install
  • language english
  • country, other, europe, portugal
  • locale united states
  • keyboard portuguese
  • hostname dw
  • domain name example.org
  • root password ********
  • Real name Vitor
  • username for account vitor
  • password for vitor ********
  • timezone Lisbon
  • Partitioning method, guided, use entire disk and setup LVM
  • use SCSI3 sda
  • Separate /home /usr /var amd tmp +artitions
  • Write the changes to disk and configure LVM yes
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01