background preloader

LINUX

Facebook Twitter

First 5 Minutes Troubleshooting A Server. Back when our team was dealing with operations, optimization and scalability at our previous company, we had our fair share of troubleshooting poorly performing applications and infrastructures of various sizes, often large (think CNN or the World Bank).

First 5 Minutes Troubleshooting A Server

Tight deadlines, “exotic” technical stacks and lack of information usually made for memorable experiences. The cause of the issues was rarely obvious: here are a few things we usually got started with. Get some context Don’t rush on the servers just yet, you need to figure out how much is already known about the server and the specifics of the issues. You don’t want to waste your time (trouble) shooting in the dark. A few “must have”: What exactly are the symptoms of the issue? The last two ones are the most convenient sources of information, but don’t expect too much: they’re also the ones usually painfully absent.

Who’s there? $ w $ last Not critical, but you’d rather not be troubleshooting a platform others are playing with. . $ history. A Guide to Efficiently Using Irssi and Screen. Irssi is a text-only IRC client.

A Guide to Efficiently Using Irssi and Screen

It does not get in your way and its commands are intuitive and useful. Non-standard features are implemented with perl scripts, rather than in the core. Irssi can range from a functional, no-frills client to a highly-customized and automated client. Irssi is not the only focus of this guide. GNU screen, the well-known terminal multiplexer, is also discussed. Getting Connected The first step is to start irssi. Irssi You should now see Irssi in its default state–disconnected, with some blue bars at the top and bottom.

In Irssi, there are three important connection-related commands: /server, /connect, and /disconnect. Linux screen keyboard shortcuts. Screen is a much under utilised program, which provides the following functionality: Remote terminal session management (detaching or sharing terminal sessions)unlimited windows (unlike the hardcoded number of Linux virtual consoles)scrollback buffer (not limited to video memory like Linux virtual consoles)copy/paste between windowsnotification of either activity or inactivity in a windowsplit terminal (horizontally and vertically) into multiple regionslocking other users out of terminalSee also my screen settings See also the tmux alternative See also the byobu screen config manager.

linux screen keyboard shortcuts

How to avoid relying on github: mirror your repository. One of the things that recent github outages have highlighted is that although git is designed to be decentralized version control system, many people are not treating it that way.

How to avoid relying on github: mirror your repository

Rather than having multiple remotes, people push to the same place and generally rely too much on github. I’ve seen people build their whole infrastructure around github, including deploy scripts for their sites and install scripts for new developers. Furthermore, dependency managers such as Composer & Cocoapods (not intending to single anyone out) rely on github to pull in dependencies. If github goes down, you can’t fix your dependencies or pull in new ones. In an ideal world these dependency managers should have built in support for mirrors, but I’m not aware of any such feature at the time of writing. What I’m going to illustrate is how easy it is to set up your git remotes so you push to two places. Firstly, I’m going to assume you have a remote set up already for github named “origin”. And that’s it. Installing OpenSUSE 11.4 on a ThinkPad X220 Tablet. Model Lenovo Thinkpad X220 Tablet 4299-2PG (NYN2PMH) with The Windows bit Windows 7 Professional comes pre-installed.

Installing OpenSUSE 11.4 on a ThinkPad X220 Tablet

It works swift on this machine. Ubuntu Installation on Lenovo X220 Laptop Tablet. LDP/Pocket-Linux-Guide/Pocket-Linux-Guide.pdf. Www.rayanfarmad.ir/attachments/article/531/Linux_Pocket_Guide.pdf. How to Learn to Use Linux: 9 steps.

Bootable USB

Tcst1.jpg (1000×647) How to create and use Live USB. Fedora Guide The procedure documented in this guide is also detailed at .

How to create and use Live USB

The Guide may have different content, and be more or less detailed. If you edit this page or find a problem with the Guide, please also file a bug against the guide to have its content updated. This page explains how to create and use Fedora USB media. A Live USB system stored on flash memory, sometimes called a stick, lets you boot any USB-bootable computer into a Fedora operating system environment without writing to that computer's hard disk. The Live USB stick can include a feature called a persistent overlay, which allows changes made to persist across reboots. It can also have a separate area to store user account information and data such as documents and downloaded files, with optional encryption for security and peace of mind.

You may also use a non-destructive method to create the stick, meaning existing files on the stick will not be destroyed. Windows quick start (direct write) nautilus and. Www.cs.washington.edu/education/courses/cse390a/12wi/handouts/390aSyllabus_12wi.pdf.