Archive for May, 2015

Debian Jessie notes

May 6, 2015 Leave a comment

If you have a system that is booting into X11 and you want to boot into the text mode, none of the grub options seem to work.

A simple work-around is to edit /etc/X11/default-display-manager and change it from /usr/sbin/gdm3 to /bin/true. Reboot and you should have a text console.

Most of the old systemv init scripts work. You can start/stop applications by running them from /etc/init.d.

Samba shares has changed. In order to get a no passwd shares on your local samba server you need to add the following lines:
security = user
map to guest = Bad User

Make sure you have no user in your smbpasswd database ie, pdbedit -L should show no contents.

more later.

Categories: sysadmin

Upgrading from Debian Wheezy to Jessie

May 4, 2015 1 comment

Upgrading from Wheezy to Jessie on my Linode was fairly simple. I followed the upgrade
guide on I had a few surprises..mostly due to my dotdeb updates (which I disabled
during the upgrade). I like to do all this as root. You can add sudo to commands if you
do not like to use root.

To summarize, here are the steps:
1) stop all services.
2) comment out any extra repositories in /etc/apt/sources.list.
3) Edit /etc/apt/sources.list and change all “wheezy” to “jessie”
with vi %s/wheezy/jessie/g
4)update packages list: apt-get update
5)apt-get install apt dpkg aptitude
6)update apache2 sites-available to add .conf extension to all sites.
7)apt-get dist-upgrade
8)Watch the process so you can answer any update questions that occur.

After completion, reboot the system using the Linode manager and login to test.

Debian 8 Jessie is a nice upgrade. I was worried about systemd however, Debian made it
pretty much transparent.

I will update the problems I had and fixes in a future post.

Categories: sysadmin