Services Blog Français

Linux

Articles tagged "linux"

Firewall Bypass Techniques with Bastions, Tunnels, and Proxies

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 …

container-fu

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 …

Use npm install -g in ~/.local non-root

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 …

coreos

2019-03-27
https://coreos.com/rkt/docs/latest/rkt-vs-other-projects.html

playlabs: 30 seconds overview

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 …

PlayLabs: the Obscene Ansible Distribution, long version

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, …

containers buildah

2018-09-21
https://github.com/containers/buildah Build docker images without docker.

Building better containers: A Survey of Container Build Tools

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 …

Unattended LXD setup

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 !

Scripted MITM AnyThing in Python with mitmproxy

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 …

YourLabs Arch Linux Package Repository

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 …

Speed up your travis-ci builds with container based infrastructure

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 …

Install Arch Linux on a dedicated server via Ubuntu Live

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 …

SSH Kung Fu

2014-05-05
A great article summarizing many of the possibilities of SSH, a must-read !

Fun with debugging symbols

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 …

GDB debugging basics

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 …

Strace basics

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 …

Better manual reader with most: the slang-pager

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 ? …

Bash interactive scripting basics

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 …

Drupal 7 with nginx and uwsgi-php example configuration

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 …

PostgreSQL for beginners: Initial configuration

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, …

Distro-agnostic craftman’s guide to python environment management

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 …

Disk space WTF

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.

They trust us

Contact

logo