Tag Archives: linux

Linux: Install LAMP stack on debian

Hi ,

this post describes the steps to install a lamp stack on debian linux. This is the base for many content management systems like Joomla, WordPress or Drupal.

LAMP means linux as operating system, apache as webserver,  mysql as database and PHP as script language. To install all packages login as root.
Continue reading Linux: Install LAMP stack on debian

Linux: ssh X11 forwarding does not work

Hi,

a friend of mine had the problem that X11 forwarding does not work on his linux box. I obligate him to check:

Ensure a X11 server is running at your local client.
Continue reading Linux: ssh X11 forwarding does not work

Linux: How to rescan for new LUNs on a Emulex FC Controller

Hi,

rescan for new LUNs on a Emulex Fibre Channel Controller:

List all HBAs

 root@debdev # ls -l /sys/class/fc_host
lrwxrwxrwx 1 root root 0 Oct 24 12:22 host10 -> ../
lrwxrwxrwx 1 root root 0 Oct 24 12:22 host11 -> ../
lrwxrwxrwx 1 root root 0 Oct 24 12:22 host7 -> ../.
lrwxrwxrwx 1 root root 0 Oct 24 12:22 host9 -> ../.

Continue reading Linux: How to rescan for new LUNs on a Emulex FC Controller

Linux: List all available services at dbus

Hi,

the following commands lists all services connected to dbus system and current session bus:
For the systen bus enter

michael@debdevt:~ $ dbus-send --system --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames

and for the current session
Continue reading Linux: List all available services at dbus

Linux: “find” command line examples

Hi,

here are a few examples how powerful the UNIX find command is.

Search only for file in your home directory “~”
find ~ -type f
Possible parameters for time searches:

  • mmin = Modication time in minute
  • mtime = Modication time in days
  • cmin = Creation time in minute
  • ctime = Creation time in days
  • amin = Access time in minute
  • atime = Access time in days

Continue reading Linux: “find” command line examples