Linux
Articles tagged "linux"
2025-12-08
A typical corporate network does not allow admins to directly connect to the machines they administer, requiring connection through an intermediary machine: the bastion.
This guide cannot be exhaustive as there are numerous techniques to bypass this …
2024-05-28
Humans have used containers for at least 100,000 years, and possibly for millions of years. The first containers were probably invented for storing food, allowing early humans to preserve more of their food for a longer time, to carry it more …
2020-02-05
This articles presents the most convenient way to deal with global node packages as non-root user.
By default, npm install -g tries to write a root-writable directory and greets you with:
$ npm install -g cypress WARN checkPermissions Missing write …
2019-03-27
https://coreos.com/rkt/docs/latest/rkt-vs-other-projects.html
2018-11-19
https://developers.redhat.com/articles/podman-next-generation-linux-container-tools/
2018-09-29
Quick version of the previous article on playlabs
$ playlabs Playlabs: the obscene ansible distribution.
Init your ssh user with your key and secure sshd and passwordless sudo:
playlabs init root@1.2.3.4 # all options are ansible options are proxied …
2018-09-28
From baremetal to deploying docker images on a PaaS in one command ?
PlayLabs is the result of a refactor of playbooks we’ve had in production for a while to acheive hackable docker-based PaaS. The refactor was designed to be Open Source, …
2018-09-21
https://github.com/containers/buildah
Build docker images without docker.
2018-08-24
2018-08-23
Building Better Containers: A Survey of Container Build Tools [I] - Michael Ducy, Chef CNCF [Cloud Native Computing Foundation] Published on Dec 15, 2017 If you stick to the “industry standard” method of building containers (Dockerfiles), it’s easy …
2018-08-12
https://github.com/niieani/bash-oo-framework
A new promising Bash framework !
2016-06-29
LXD requires an interactive tty by default. For non-interactive setup, something like this should be executed:
Then, apt-get install lxd and you’ll have a configured lxd just as if you had interactively configured it !
2015-04-21
The last article demonstrated how we could simply make any https flow going out a virtual bridge network interface through mitmproxy to cache anything.
In this article, we’ll focus on the logic to “cache anything” from within our …
2015-04-13
This article describes how to get a working transparent HTTP/HTTPS proxy which you can script in Python. I intend to use it to have custom caching and be able to abstract away all HTTP/HTTPS connections made in my LXC containers which are spawned by …
2015-03-08
Today is the grand openning of our Arch Linux package repository, with the release of postgresql-bdr. It’s a patched PostgreSQL server with BiDirectionnal Replication which seems too good to be true. I ran split brain tests and it reacted …
2015-01-06
Travis-ci just released container based infrastructure for open source repository (free users).
We tried it with our apps, and you can see we had some performance increase, even on database-intensive jobs:
django-autocomplete-light normal build takes …
2015-01-04
In the process of making YourLabs new cloud, I ordered a first dedicated server at online.net. They don’t provide an installer for Arch Linux, but they do provide a “rescue mode” which is at this time Ubuntu 13.04 Live. Boot that …
2014-05-05
A great article summarizing many of the possibilities of SSH, a must-read !
2014-04-15
This article follows up with Basics of GDB debugging, focus on symbols.
List symbols with nm Use the nm command to list symbols in a binary:
$ nm main 0000000000600920 B __bss_start 0000000000600920 b completed.6330 0000000000600910 D __data_start …
2014-04-13
Introduction GDB is a debugger for executables “objects” on Linux. It will use source code and “debug symbols” if available:
source code to display the code ie. corresponding to a specific frame at runtime, debug symbols to …
2014-04-08
This is the first of a series of articles on security and exploiting. For starters we’ll cover basic debugging tools before we get into actual exploiting because the first step to exploiting is reverse-engineering most of the time.
The series …
2014-04-07
The default pager in most linux distributions is more. But it’s not very colorful. This article presents a more fun alternative: most.
Your manual probably looks like this:
Not very awesome, wouldn’t it be nicer to have it with colors ? …
2014-02-04
A variable looks like this:
export FOO=bar To get a variable in your interactive shell, source the script that contains it as such:
source script_that_contains_FOO echo $FOO A function looks like this:
function foo() { echo foo } To run a function in …
2013-06-07
Better git log
2013-03-27
Drupal is a CMS written in PHP which supports PostgreSQL. It is made for mod_php and Apache, thought it works with uWGSI and Nginx.
When you have tried uWGSI you know why you want this.
Example nginx configuration:
server { server_name …
2013-03-12
A very nice article about troubleshooting a server
2013-03-07
Those are notes taken from the talk “PostgreSQL when it is not your job” by Christophe Pettus from PostgreSQL Experts Inc. at DjangoCon Europe 2012.
This article describes how to make a basic PostgreSQL configuration:
logging, memory, …
2013-02-19
TL;DR: Intel implements UDEREF equivalent 6 years after PaX, PaX will make use of it on amd64 for improved performance.
Read article ….
2013-02-19
Linux 3.8 was released !
2013-02-17
Vim is a great text and code editor for command line interface. OpenVim presents an interactive tutorial which seems nice for new beginners.
2013-02-12
This (quite ugly) script will play some music at a certain time. It will also wake up the computer if it is hibernating.
I intend to make a proper app from this, but for now feel free to try out the “proof of concept”.
2013-02-07
I find this news quite funny !
2013-01-21
Read more on alias.sh.
2012-12-08
Whether you are just a linux user or an indie game developer, you’ve got to try out desura which is open source.
Just click “Linux” -> “Download” -> run the small file -> it will auto update and greet you ! As …
2012-04-02
This article demystifies deployment of Python applications on any unix flavor. It’s distro agnostic approach is possible by a pragmatic use of each layer of a standard python application.
This article targets system administrators and why not python …
2012-03-19
What do you think is the problem when vim starts complaining that it can’t write swap files, postgresql starts complaining that there is no disk space left, when df output is:
>>> df Filesystem 1K-blocks Used Available Use% Mounted on …
Found 36 articles.