Category Archives: Linux

Stuff about 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

Advertisment to support michlstechblog.info

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