You are here

Linux System Notes

Notes on Linux

Only the front page works with Drupal

I copied over an instance of my Drupal 7 installation to a local Debian server for testing. I then exported the original database from the source server and imported it with phpMyAdmin on the new server.

I edited the /sites/default/settings.php file to reflect the new database settings.

I could load the front page but got errors on all other pages.

XFCE unable to browse Samba shares

You need following packages:

apt-get install gvfs-fuse
apt-get install samba cifs-utils
apt-get install gvfs-backends

LAMP installation Debian

  1. apt-get install apache2
  2. apt‐get install mysql‐server
  3. Set mysql password
  4. apt-get install php5-common libapache2-mod-php5 php5-cli
  5. apt-get install phpmyadmin
  6. systemctl restart apache2
  7. ln -s /var/www/html /usr/share/phpmyadmin

Change screen Color Profile [Debian Jessie]

Install xcalib
sudo apt-get install xcalib -y
Call for an ICC profile with xcalib.
xcalib -d :0 -s 0 -v /usr/share/color/icc/colord/Bluish.icc

Fix GRUB na installatie Windows 10 - Debian Jessie

- De Debian DVD of USB Installer starten van 8.10 - live cd Debian 8.10
- Kies voor "Advanced options"
- Kies voor "Graphical rescue" mode
- Standaard keuzes accepteren, check op welk device je CDROM is gemount (Ctrl-Alt-F1 voor console, blkid of df -h)k ies voor de cd-rom voor /dev/sdb* (geef jouw partitie naam)
- Hardware en netwerk wordt geinitialiseerd
- kies willekeurig domein name, click en zo..
- check je harddisk voor partities (Ctrl-Alt-F1 voor console) via blkid en disk -l

Tilde fix Debian Jessie xfce xsession

# find out what key code is mapping to the "less" and "greater" signs
$ xmodmap -pk | grep greater
60 0x002e (period) 0x003e (greater)
94 0x003c (less) 0x003e (greater) 0x007c (bar) 0x00a6 (brokenbar) 0x007c (bar) 0x00a6 (brokenbar)

# edit (or create) ~/.Xmodmap and include the following line in it
keycode 94 = grave asciitilde

# run xmodmap
$ xmodmap ~/.Xmodmap

For it to autorun on login:

Subscribe to RSS - Linux System Notes