2013-06-18

‎Post install checklist:

← Older revision

Revision as of 15:53, 18 June 2013

(24 intermediate revisions by one user not shown)

Line 1:

Line 1:



[[File:Debian-logo.svg|100px|right]][http://www.debian.org/intro/about 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. Debian uses the Linux
[http://www.kernel.org kernel]
(the core of an operating system)
, but most of the basic OS tools come from the [http://www.gnu.org GNU project]; hence the name GNU/Linux.

+

[[File:Debian-logo.svg|100px|right]][http://www.debian.org/intro/about Debian] is a free operating system
using
the [http://www.kernel.org
Linux
kernel], but most of the basic OS tools come from the [http://www.gnu.org GNU project]; hence the name GNU/Linux. At Organic Design we install Debian on our [[server]]s using the [[install a new server]] [[procedure]], and have been using it for over ten years.



+



At Organic Design we install Debian on our [[server]]s using the [[install a new server]] [[procedure]], and have been using it for over ten years.

+

As of June 2013 we decided to change from [[Ubuntu]] to Debian for our workstations as well since Ubuntu is increasingly becoming the "microsoft of the free software world" with pay software and services at every corner and [http://www.fsf.org/blogs/rms/ubuntu-spyware-what-to-do compulsory spyware] riddled throughout system.

As of June 2013 we decided to change from [[Ubuntu]] to Debian for our workstations as well since Ubuntu is increasingly becoming the "microsoft of the free software world" with pay software and services at every corner and [http://www.fsf.org/blogs/rms/ubuntu-spyware-what-to-do compulsory spyware] riddled throughout system.

Line 16:

Line 14:

== Post install checklist ==

== Post install checklist ==



=== APT ===

+

*Advanced settings (then add all buttons to windows from shell menu, also fonts, see below)

*subversion

*subversion

*git

*git



*p7zip-full

*python-qt4

*python-qt4





=== Software center ===



*Advanced settings (then add all buttons to windows from shell menu)

*Geany

*Geany

*VLC

*VLC

*Pidgin (with OTR and plugin pack and copy backed up .purple after install)

*Pidgin (with OTR and plugin pack and copy backed up .purple after install)



*
Thunderbird
(install enigmail
and import keys or close, copy and chown backed up .gnupg dir and reboot - and don
'
t forget to [
[:
File:Enigmail_send_key_setting
.
jpg|set this
]
])

+

*
Icedove
(
Thunderbird - '''apt-get
install
icedove
enigmail'
'')



*Skype

+

*Skype - details on installation from the i386 .deb with MultiArch
[
http
:
//wiki
.
debian.org/skype#Debian_7.0_.22Wheezy.22 here
]



*Gimp

+

*World clock
(zones in ''~/.tzlist'', use custom format ''%H:%M (%A)'')



*World clock

+

=== Other ===

=== Other ===

*[[Bitmessage]] (needs python-qt4 and install the local email client support)

*[[Bitmessage]] (needs python-qt4 and install the local email client support)

+

*Fonts - all the fonts looked a bit ugly, in advanced settings I changed them to plain sans, reduced the 11pt size to 10pt and changed the hinting to "slight".

+

*Icons (gnome-brave-icon-theme, then set in advanced settings/theme)

== SSD optimisation ==

== SSD optimisation ==



I've had one too many mechanical disk failures and have finally decided to move over to SSD. They still have a long way to go as a technology since they still suffer from the major problem of flash technology in general which is that each memory bit can only be written to a thousand times (3 thousand on the most recent technology). So I'm just going to get a small cheap one initially and hopefully in six months or so they'll be longer lasting and more practical sizes. I'll be most likely going for a 120GB Samgsung 840 series, and [http://thewirecutter.com/reviews/the-best-laptop-ssd-for-most-is-the-samsung-840/ here's why].

+

I've had one too many mechanical disk failures and have finally decided to move over to SSD. They still have a long way to go as a technology since they still suffer from the major problem of flash technology in general which is that each memory bit can only be written to a thousand times (3 thousand on the most recent technology). So I'm just going to get a small cheap one initially and hopefully in six months or so they'll be longer lasting and more practical sizes. I'll be most likely going for a 120GB Samgsung 840 series, and [http://thewirecutter.com/reviews/the-best-laptop-ssd-for-most-is-the-samsung-840/ here's why].
Most of the following is taken from
[http://wiki.debian.org/SSDOptimization?action=show&redirect=SSDoptimization SSD optimisation]
in
the Debian wiki
, and another good artile [https://wiki.archlinux.org/index.php/Solid_State_Drives here] in the Arch Linux wiki.



*
[http://wiki.debian.org/SSDOptimization?action=show&redirect=SSDoptimization SSD optimisation]
''-
the Debian wiki
page''

+



You can move /var/run and /var/lock to a RAM filing system simply by editing /etc/default/rcS and changing the following two lines for ''RAMRUN'' and ''RAMLOCK'' from ''no'' to ''yes''.

+

=== Swap ===

+

Most systems these days have enough RAM that they rarely ever use the swap file at all unless there's a bug that chews up memory. If you have 4GB or more you may as well disable the swap partition completely from ''/etc/fstab'' or by installing your OS with no swap in the first place.

+

+

=== Mount options ===

+

There are some important mount options that should be enabled in ''/etc/fstab'' for the filesystem on SSD paritions. The filesystem should be ''ext4'' not ''ext3'' to work well with an SSD.

+

*'''discard:''' SSD's use the [[w:TRIM|ATA TRIM command]] for sustained long-term performance and wear-leveling, but it needs to be activated by adding the ''discard'' mount option.

+

*'''noatime:''' Use this option to prevent logging of read accesses to the file system via an update to the ''atime'' information associated with the file.

+

*'''commit=N:''' Set this to the number of seconds to wait before committing changes to the physical storage. By waiting longer before performing a journal commit multiple writes are often performed in one go. This option is often ised on laptops when running on battery to reduce the number of spinups for the drive saving power.

+

+

=== Using RAM disk ===

+

You can move
''
/var/run
''
and
''
/var/lock
''
to a RAM filing system simply by editing
''
/etc/default/rcS
''
and changing the following two lines for ''RAMRUN'' and ''RAMLOCK'' from ''no'' to ''yes''
. Note, check ''mount'' first some OS's such as [[Ubuntu]] already mount these into ''tmpfs'' by default.

+

+

To mount ''/tmp'' and ''/var/log'' in RAM. Add these lines to the end of ''/etc/fstab'' to mount them in ''tmpfs'' (temporary file system):

+

{{code|

}}

+

+

Save, then ''sudo mount -a'' and reboot for the changes to take effect. Running ''df'', you should see a new line with ''/tmp'', and ''/var/log'' mounted on ''tmpfs''.

+

+

My current ''/etc/fstab'' file looks like this:

+

{{code|

}}

+

+

== Iceweasel (Firefox) ==

+

Mozilla's conditions for use of their trademarked names require that distro's using their products clear any patches with them first, but in Debians view this compromised their own strict seurity measures so rather than this they opted to hange the branding of the products. Debian's fork of Firefox is [http://wiki.debian.org/Iceweasel Iceweasel].

+

+

First install ''Video Download Helper'' and ''Firebug'' addons
.

Firefox downloads webpages from links it thinks you may click. This may make the experience seem faster but really it just bogs down Firefox and your netbook. Type ''about:config'' in the address bar, then set ''network.prefetch-next'' to ''false''.

Firefox downloads webpages from links it thinks you may click. This may make the experience seem faster but really it just bogs down Firefox and your netbook. Type ''about:config'' in the address bar, then set ''network.prefetch-next'' to ''false''.

+

+

== Centrino Wireless-N 1030 ==

+

This was not included by default in the first installation DVD of Debian 7 so I had to do the following after installation:

+

{{code|

+

echo "deb http://http.debian.net/debian/ wheezy main contrib non-free" >> /etc/apt/sources.list

+

apt-get update

+

apt-get install firmware-iwlwifi

+

modprobe -r iwlwifi ; modprobe iwlwifi

+

}}

+

+

== Bluetooth ==

+

I found that I couldn't get any of my bluetooth devices to pair in the default install of Debian 7. The devices would show up in the detected list and the pairing process would initiate properly, but would then fail to complete. Using the ''bluez'' tools from the terminal worked though with the following procedure I found [http://www.ctheroux.com/2012/08/a-step-by-step-guide-to-setup-a-bluetooth-keyboard-and-mouse-on-the-raspberry-pi/ here].

+

{{code|
hcitool scan
}}

+

This process gives you the MAC address of your device which you can then begin the pairing process with as follows. This will ask you for the pin which you type in to your device etc or use ''0000'' if it's a device like a mouse or headset.

+

{{code|
bluez-simple-agent hci0 12:34:56:78:9A:BC
}}

+

+

+

You then make the device trusted so that it can automatically connect in future:

+

{{code|
bluez-test-device trusted 12:34:56:78:9A:BC yes
}}

+

+

+

And then finally, connect to the device:

+

{{code|
bluez-test-input connect 12:34:56:78:9A:BC
}}

+

+

+

It should now be shown as normal in the bluetooth menus and settings window and should connect automatically when the session starts.

== See also ==

== See also ==

Show more