background preloader

Linux

Facebook Twitter

LSIMegaRAID – HWraid. MegaRAID is the legacy high-end RAID controllers series by LSI.

LSIMegaRAID – HWraid

It is fully hardware RAIDs controllers supporting RAID5, at least, with various SCSI interfaces. If you're a looking for information about MegaRAID with SAS or SATA connectors, please look at LSIMegaRAIDSAS instead. DebianPackages – HWraid. We provide a Debian repository containing all packages to install proprietary and opensource tools for you RAID card.

DebianPackages – HWraid

Please add deb branch main to /etc/apt/sources.list to access all packages. distrib can be either debian or ubuntu. branch can be squeeze, wheezy, jessie and sid for debian, or precise, trusty, vivid and wily for ubuntu. In example, for current Debian stable release (Jessie): deb jessie main Theses packages are available for amd64 and i386 architectures. Sources packages are available as well (replace deb with deb-src). Packages are now signed, please run the following command after adding the repository to sources.list: How To Use Systemctl to Manage Systemd Services and Units. Introduction Systemd is an init system and system manager that is widely becoming the new standard for Linux machines.

How To Use Systemctl to Manage Systemd Services and Units

While there are considerable opinions about whether systemd is an improvement over the traditional SysV init systems it is replacing, the majority of distributions plan to adopt it or have already done so. Systemd. From the project web page: systemd is a system and service manager for Linux, compatible with SysV and LSB init scripts. systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux control groups, supports snapshotting and restoring of the system state, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic.

systemd

Note: For a detailed explanation as to why Arch has moved to systemd, see this forum post. Basic systemctl usage. Systemd.unit. Description= A free-form string describing the unit.

systemd.unit

This is intended for use in UIs to show descriptive information along with the unit name. The description should contain a name that means something to the end user. Systemd. Systemd is an init system used by some Linux distributions to bootstrap the user space and manage all processes subsequently, in lieu of the UNIX System V and Berkeley Software Distribution (BSD) init systems.

systemd

The name systemd adheres to the Unix convention of naming daemons by appending the letter d.[6] It is published as free and open-source software under the terms of the GNU Lesser General Public License (LGPL) version 2.1 or later.[5] One of systemd's main goals is to unify basic Linux configurations and service behaviors across all distributions.[7] Design[edit] The architecture of systemd as it is used by Tizen. Several components, including telephony, bootmode, dlog and tizen service, are from Tizen and are not components of systemd.[9] Unified-hierarchy cgroups will be accessible exclusively by systemd through systemd-nspawn[10] Poettering describes systemd development as "never finished, never complete, but tracking progress of technology".

Unit files[edit] consoled journald. Can I send some text to the STDIN of an active process running in a screen session? Console - Construct a command by putting a string into a tty. Command line tricks for smart geeks. Everyone knows the answer to the question of life, the universe and everything is "42", but for the first time we can reveal the question.

Command line tricks for smart geeks

It is this: how many command-line tricks must a man memorise? You see, graphical user interfaces are all well and good, but when you want to get real work done it's time to switch to the terminal. And so, we squeezed our brain cells, dug through dusty piles of old issues of Linux Format, and sat reflecting quietly over many a pint of ale, all with the goal of bringing you this: 42 awesome new command line tricks we think you ought to commit to memory. We've tried to include a few that are easier for our, er, less-experienced readers to enjoy, but we think even the most hardened Linux veteran will learn something new over the next 12,000 words.

Phrack Magazine. Display Linux boot messages on tty1 instead of ttyS1. Bug #535316 “random garbage on TTY1” : Bugs : gdm package. Linux keyboard event capturing /dev/inputX. Linux System IO monitoring. "Every thing is a file", is a very famous Linux philosophy.

Linux System IO monitoring

There is a reason for this philosophy to get famous. The main reason behind this is the fact that, Linux operating system in itself works on the same philosophy. You might think that how can an operating system work on a philosophy like "Everything is a file". Its because, Linux operating system consider's and work's with the below devices, by the same way we open and close a file.

Block devices(Hard-disks,Compact Disk's,Floppy,Flash Memory)Character devices or serial devices (Mouse, keyboard)Network Devices A user can do operations on these devices, by exactly the same way, he does operations on a file. The main advantages with block devices is the fact that they can be read randomly. The main advantage of using block devices is that, if allows access to random location's on the device.

Input and output to the block devices works on an algorithm called the "elevator algorithm" There are three "rows" in the output. 20 Command Line Tools to Monitor Linux Performance. It’s really very tough job for every System or Network administrator to monitor and debug Linux System Performance problems every day.

20 Command Line Tools to Monitor Linux Performance

After being a Linux Administrator for 5 years in IT industry, I came to know that how hard is to monitor and keep systems up and running. For this reason, we’ve compiled the list of Top 20 frequently used command line monitoring tools that might be useful for every Linux/Unix System Administrator. From Power Up To Bash Prompt. Next Previous Contents From Power Up To Bash Prompt Greg O'Keefe, gcokeefe@postoffice.utas.edu.au v0.9a, November 2000.

From Power Up To Bash Prompt

Advanced Bash-Scripting Guide. An in-depth exploration of the art of shell scripting Mendel Cooper 10 Mar 2014 This tutorial assumes no previous knowledge of scripting or programming, yet progresses rapidly toward an intermediate/advanced level of instruction . . . all the while sneaking in little nuggets of UNIX® wisdom and lore. It serves as a textbook, a manual for self-study, and as a reference and source of knowledge on shell scripting techniques. The exercises and heavily-commented examples invite active reader participation, under the premise that the only way to really learn scripting is to write scripts. The TTY demystified. Real teletypes in the 1940s. The TTY subsystem is central to the design of Linux, and UNIX in general. Unfortunately, its importance is often overlooked, and it is difficult to find good introductory articles about it.

I believe that a basic understanding of TTYs in Linux is essential for the developer and the advanced user. Beware, though: What you are about to see is not particularly elegant. HowTo: Setup SSH Keys on a Linux / Unix System. Techniques - Simple Linux networking - Rudolf Cardinal. Based on Ubuntu 10.04 (a variety of Debian Linux). Using SSH ProxyCommand to Tunnel Connections › Backdrift Backdrift. Tags: linux, ssh, unix My systems are usually configured to allow ssh connections from a small set of trusted hosts or a bastion host. This is decent security practice but can be a pain when you want to scp a file or grab the stdout of a command from a host outside the trusted area.

It also can be problematic if you have hosts on a private subnet and only one host (bastion host or jump box) to get in through. This method will enable transparent access to a host while behind the scenes tunneling through another host. No modification of the server is required. How To View and Configure Linux Logs on Ubuntu and Centos. How do I run specific sudo commands without a password?