You are here

Linux System Notes

Notes on Linux

Drupal only front page working

Submitted by egbert on Mon, 31/12/2018 - 07:26

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.

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

Submitted by egbert on Wed, 15/11/2017 - 06:28

# 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: