Nginx TLS tuning won't fix a slow application, but it does cut handshake overhead and improve connection reuse, which shaves milliseconds off every HTTPS request. Continue reading...
#linux
63 posts
Yesterday
8 Jun
tmpfs lets you mount a filesystem entirely in RAM. Here is how Linux already uses it, how to create your own mounts, and where it actually makes sense to use one. Continue reading...
6 Jun
A practical guide to Linux user and group management using useradd, usermod, userdel, groupadd, gpasswd, and chage. Covers real-world examples, common mistakes, service accounts, and safe account removal. Continue reading...
Let's take a quick look at how best to set up PHP-FPM for high throughput, low latency, and more stable CPU and memory use. By default, most setups have PHP-FPM's PM (process manager) string set to dynamic and there's also the common advice to use ondemand if you suffer from available memory issues. Continue reading...
5 Jun
Embarking on the quest to find the ideal home office, home lab or small business firewall device is akin to navigating a jungle, but let's narrow it down by setting the budget to under $300 USD. Continue reading...
3 Jun
Looking for the best Linux distro (distribution) to enhance your desktop or laptop experience? This article will guide you to what, I believe, are the best Linux distros for beginner, experienced, and expert users. Continue reading...
1 Jun
Two network interfaces are better than one. With Linux network bonding (also known as NIC bonding or link aggregation), you can combine multiple NICs into a single logical interface, gaining either increased throughput, failover redundancy, or both. Continue reading...
28 May
Fail2ban watches your log files and automatically bans IPs that repeatedly fail authentication, protecting your Linux server from brute-force attacks on SSH, web servers, and more. This guide covers installation, jail configuration, testing, and practical tuning to get real protection instead of just running defaults. Continue reading...
24 May
A practical guide to nmap on Linux covering host discovery, port and service scanning, OS detection, NSE scripts, output formats, and real-world command combinations sysadmins actually use. Continue reading...
21 May
A practical guide to Linux log files: where they live, how to read and search them with tail, grep, and journalctl, how to manage log rotation, and a real-world troubleshooting workflow. Continue reading...
17 May
After twenty years on the Linux desktop, more than a dozen distros, multiple desktop environments, a seven-year tiling window manager phase, and one detour through whatever I thought of as the stable answer at the time, I'm finally in a noticeably more comfortable place than ever before. Continue reading...
7 May
When a critical Linux kernel privilege escalation was publicly disclosed, Cloudflare's security and engineering teams detected, investigated, and mitigated the threat across our global fleet, confirming zero customer impact and no malicious exploitation.
Learn how to write, manage, and troubleshoot systemd service unit files on Linux. From basic service definitions to hardening options, restart policies, timers, and real-world debugging techniques. Continue reading...
4 May
Over the last couple of months I've had performance issues with Cloudflare (CF) about 2 times, including today. That's a sentence I never thought I'd write, because Cloudflare genuinely doesn't have performance issues most of the time, and when they do, it's usually on the status page as part of a larger issue. Continue reading...
3 May
A practical guide to Linux environment variables: how to set, export, persist, and debug them correctly across shell sessions, user accounts, system-wide configs, and systemd services. Continue reading...
2 May
If you spend any time in Linux forums, you've seen DistroWatch's Page Hit Ranking cited as proof one distro is "more popular" than another. It isn't. Continue reading...
24 Apr
If the Linux desktop and applications on your thin and light laptop or low-end PC feel sluggish under a busy session, the usual suspects are slow storage R/W, not enough RAM, or occasionally a CPU bottleneck. But on machines with integrated graphics, there is a fourth bottleneck most people never check: VRAM. Continue reading...
23 Apr
Ubuntu 26.04 (Resolute Raccoon) ships today with .NET 10. Here's how to install .NET 10 from the archive, use the new -resolute container tags, build Native AOT apps, and install .NET 8 and 9 from the dotnet-backports PPA. The post What’s new for .NET in Ubuntu 26.04 appeared first on .NET Blog.
22 Apr
A practical guide to Linux signals: how to use kill, pkill, and trap correctly to manage processes, reload configs, and write scripts that clean up gracefully instead of dying mid-operation. Continue reading...
21 Apr
A practical guide to Linux disk partitioning with fdisk, parted, and lsblk. Covers creating partition tables, formatting filesystems, mounting, and setting up persistent mounts via /etc/fstab. Continue reading...
20 Apr
Bash aliases turn long, repetitive commands into short custom shortcuts that load every time you open a terminal. Here's how to set them up, where to store them, and a practical set of aliases built for real sysadmin work. Continue reading...
16 Apr
Running and deploying with Kubernetes may sound excessive and intimidating, but it’s not nearly as hard as it once was. The immense popularity of Kubernetes over the past decade means tools can quickly set up and deploy a cluster in almost any environment. And what once was a technology platform requiring deep systems knowledge to […] The post K3s: A…
30 Mar
This blog post explains how to install an SSL certificate on a DirectAdmin control panel on any Linux distribution. SSL ... Read More The post How to install an SSL certificate on a Linux VPS with DirectAdmin appeared first on RoseHosting.
25 Mar
In January, we introduced our Nightly package for RPM-based Linux distributions. Today, we are thrilled to announce it is now available for Firefox Beta! Firefox Beta is great for testing your sites in a version of Firefox that will reach regular users in the coming weeks. If you find any issues, please file them on […] The post Firefox Developer…
10 Sept 2025
In this tutorial, we will cover improving database performance on a Linux VPS. Under the database, performance refers to how ... Read More The post Improving Database Performance on a Linux VPS appeared first on RoseHosting.
11 Oct 2022
Introducing native support for the popular display server protocol on Linux.
19 May 2021
Roughly a year ago at Mozilla we started an effort to improve Firefox stability on Linux. This effort quickly became an example of good synergies between FOSS projects. The post Improving Firefox stability on Linux appeared first on Mozilla Hacks - the Web developer blog.
27 Apr 2021
Setup SSH authentication with PEM RSA file without password on ubuntu/linux Raspberry Pi Server
Srinivas TamadaRecently I have been working with Raspberry PI and creating my own home server to host some of my demo projects. This post is about setting up SSH authentication with a PEM certificate file without password on ubuntu/linux server. Implement the following steps and improve the security.
17 Nov 2020
This week the Servo project took a significant next step in bringing community-led transformative innovations to the web by announcing it will be hosted by the Linux Foundation. Mozilla is pleased to see Servo, which began as a research effort in 2012, open new doors that can lead it to ever broader benefits for users and the web. Working together,…
20 Apr 2020
Over the past few years I have been participating in Stand-up meetings and it took me some time to find a convenient and effective way for keeping notes about what I was doing every day. I needed to be able to: keep notes on the issues I worked on, the meetings I participated in and stuff that blocked my work…
6 Feb 2020
Yesterday I saw a great command that finds the palindrome dates between now and x days ago. The command was posted on Twitter by @climagic (a great account to follow if you want to find awesome command line stuff). In this post we are going to break it down and explain how it works. What is a palindrome Palindrome is…
9 Jan 2020
Inside a native Linux environment the error UNPROTECTED KEY FILE always means that the permissions of private key file are way too open. The error usually occurs if you are trying to connect with SSH and a private key to a remote host. As Ansible does also use SSH, you […] The post Fixing “UNPROTECTED KEY FILE” when using SSH…
20 Dec 2019
Roses are red Violets are blue I have stuck in vim And so have you. Vim ain't for newbies But I'm a curious soul So I went down That shell rabbit hole. I tried to edit hosts Everything went wrong The file remained open For two hours long. When I found the magic Semicolon double-u q The file was readonly…
16 May 2019
Suppose you have a text file and you need to remove all of its duplicate lines. TL;DR To remove the duplicate lines preserving their order in the file use: awk '!visited[$0]++' your_file > deduplicated_file How it works The script keeps an associative array with indices equal to the unique lines of the file and values equal to their occurrences. For…
10 Apr 2019
I use the terminal a lot and in my day to day work I tend to navigate to the same bunch of directories. There are some awesome tools out there (like autojump or z) but sometimes, especially when the directories are similarly named, there is a need to be explicit to navigate to the proper one. I decided to write…
28 Aug 2018
Just a quick reminder how to run a Spring Boot JAR (or any other self JAR executable) with SELinux enabled: chcon --type=java_exec_t /opt/myapp/spring-boot-app.jar To make this persistent you have to use the bin_exec_t type as java_exec_t is just an alias: # apply the bin_exec_t semanage fcontext -a -t bin_exec_t /opt/myapp/spring-boot-app.jar […] The post Running a Spring Boot JAR service with…
26 Feb 2017
Hi. I recently gave a talk in KernelTLV Meetup. The talk was uploaded to YouTube, so if you’re interested, go a head and watch it. The Talk is in Hebrew, but the slides are in English. The slides can be found here: DMA Survival Guide from Kernel TLV
5 Nov 2016
Environment variables are declared with the ENV statement and are notated in the Dockerfile either with $VARIABLE_NAME or ${VARIABLE_NAME}. Passing variables at build-time The ENV instruction sets the environment variable to the value. The environment variables set using ENV will persist when a container is run from the resulting image. For example: The Dockerfile allows you to specify arguments […]
5 Mar 2016
In the style of Michael Chladek, I thought it would be useful to my future-self and others, if I wrote up a summary of installing Arch Linux on Apple MacBook hardware. Of course there are other guides out there, but this one is specific to the needs of someone looking for a minimalist, reproducible, secure, performance oriented installation of Arch…
30 Jan 2016
Hi. In this post I will share a git pre-commit hook I created for aiding with code beautification. In Linux, I work in two different coding styles: User space and Kernel. The Linux kernel has a very specific coding style and every commit to kernel must adhere to that style. The Linux kernel provides a […]
14 Sept 2015
“configure: error: libpthread not found!” while configuring ActiveMQ CPP 3.8 and 3.9 on CentOS 6.7
SchakkoThe ./configure script of activemq-cpp for 3.8.x and 3.9 failed with the error configure: error: libpthread not found!” when running on CentOS 6.7. Stupidly i had forgotten to install the gcc-c++ package. “yum install gcc-c++” fixed everything. The error notification is although mentioned in the ActiveMQ FAQ. Stupid me. The post “configure: error: libpthread not found!” while configuring ActiveMQ CPP…
10 Sept 2015
During the last months we periodically experienced performance problems with our storage system. Investigating the cause for the slow performance was problematic as we did not have direct shell access and could only rely on crippled information from the web GUI. Yesterday my collagues migrated the storage system from the […] The post Slow RAID performance with our new Linux…
9 May 2015
I created pre-installed Ubuntu Server 15.04 64bit Virtualbox image to be used for various server side setups. It can be freely downloaded and used by you. all packages were updated to the current date (9/5/15). openssh server was installed and set to default port File can be downloaded from here: Link: UbuntuServer1504VboxImage.tar.bz2 MD5: eff64b08b8e2fc4ceb668a4e1a62b82d The […]
1 May 2015
I created my own Serviio service script, I’m sharing it for reference and free usage here. If you don’t know Serviio and you need a Media Server in your home network, this is your best choice. check it out here. Actually, you only need to alter “/etc/default/serviio” with your username and path to Serviio installation. […]
19 Feb 2015
I came across a very interesting bug that occurred in a Linux software stack that was ported from some kind of embedded processor back in the days. The processor back in the days had a probably a single timer interrupt, so the software team decided to implement over it a series of SW timers. They […]
7 Feb 2015
A few weeks ago I bought a new notebook (Dell XPS 15, 15″, 512 GByte SSD, Core i7) for my after-work work and home usage. First of all: it is an awesome fast piece of hardware. Fedora 21 boots up in 3 seconds, Eclipse (STS) starts up in around 7 […] The post Dell XPS 15, Linux and HiDPI appeared…
11 Aug 2013
I received the message “Segmentation fault” while running an apt-get install. My syslog contained the following lines: Aug 11 11:34:19 srv kernel: [65729.407484] check-new-relea[12700]: segfault at 7f2dfd94746c ip 00007f2dfc0becd8 sp 00007fffd0671d20 error 4 in libapt-pkg.so.4.12.0[7f2dfc069000+11c000] Aug 11 11:35:52 srv kernel: [65822.603384] apt-get[12820]: segfault at 7f7d256e346c ip 00007f7d24252cd8 sp 00007fffdbb89140 error 4 in libapt-pkg.so.4.12.0[7f7d241fd000+11c000] […] The post Fixing
10 Aug 2013
Here are the instructions for letting your home server send e-mails with help of your Uberspace account. This small guide is based on Ubuntu 13.04. I assume your Uberspace username is $USUSER and your Uberspace host is $USHOST. Setup an additional mail address See http://uberspace.de/dokuwiki/start:mail ssh $USUSER@$USHOST.uberspace.de vadduser local-server # […] The post Use your Uberspace server as relay host…
22 Jul 2013
Yesterday I read the article written by Christoph and thought about updating my current installed CyanogenMod 9 with the current version. Here are the instructions (assuming, you have already CM installed): wget http://108.166.171.36/goodata/50d9ef8310a7cba36225d98a0a37ea26/51ec1e7a/devs/milaq/tenderloin/cm10.1/cm-10.1-20130721-UNOFFICIAL-tenderloin.zip wget http://108.166.171.36/goodata/5dc90f8102df2b869507ff02a7642a07/51ec1e4a/gapps/gapps-jb-20130301-signed.zip Restart the HP TouchPad and sele
18 Jan 2013
Hi all! Last update April 5 2015! I’ll try use the new Yahoo! Mail for a while but I need my old emails messages. I am a Gmail user and want to copy everything to Yahoo! Mail. After search a lot at Google I found imapsync. It is a Linux program that runs on the … Continue reading Migrating emails…
11 Dec 2011
Last year Zone-H reported a record number of 1.5 million websites defacements. 1 million of those websites where running Apache. When it comes to configuring a web server, some people tend to turn everything on by default. Developers are happy because the functionality that they wanted is available without any extra configuration, and there is […]
1 May 2011
Unsere bisherigen Pläne für ZABOS sehen vor, dass wir die Funktionalität der Alarmierung per SMS über Fünfton-Folgeruf (ZVEI) erweitern – nämlich um die digitalen Protokolle POCSAG und FMS. Unserer bisheriger Fünfton-Folgerufempfänger ist ein selbstenwickeltes Board mit Mikrocontroller, der die Fünfton-Folgen aufnimmt und dann über die serielle Schnittstelle an ZABOS weiterreicht. […] The post Funkauswerter monitord um ActiveMQ-Support erweitern appeared first…
22 Jul 2010
Da ich gegenwärtig an libopenranked von etqw-openranked arbeite und ich vermute, dass ich meine Erkenntnisse nach einiger Zeit wieder vergesse, gibt es hier die Kurzfassung. Damit bei einem Segmentation Fault eine Core-Dump erzeugt wird, muss ulimit -c unlimited aufgerufen. Damit wird festgelegt, dass der Core-Dump beliebig groß sein darf. Mit […] The post Debugging von C-Applikationen unter Linux appeared first…
28 Jun 2010
Fix black screen after installation of nvidia-current on Ubuntu 10.04 Lucid Lynx / Aspire 5935G
SchakkoToday afternoon I installed nvidia-current on my Aspire 54935G because I had the intend to dive into CUDA. After the installation via apt-get nvidia-current – I use Ubuntu 10.04 – and a reboot the display only showed the kernel messages. While starting X the screen turned to black and I […] The post Fix black screen after installation of nvidia-current…
22 Jun 2009
Yesterday an interesting HTTP DoS tool has been released. The tool performs a Denial of Service attack on Apache (and some other, see below) servers by exhausting available connections. While there are a lot of DoS tools available today, this one is particularly interesting because it holds the connection open while sending incomplete HTTP requests […]
5 Mar 2009
Here’s the thing: you’re developing a server deployed application, it could be a web application but it doesn’t have to be, and you’re probably deploying to more than one server. Even if you just have one server to deploy to, it still get tiresome in the long run to build your project, fire up your […]
3 Feb 2009
Rsync is great, however, it only synchronizes files in one direction. Unison, on the other hand, synchronizes both ways. It allows two replicas of a collection of files and directories to be stored on different hosts, modified separately, and then brought up to date by propagating the changes in each replica to the other. Why […]
22 Jan 2009
During his keynote presentation at OSCON last year, Ubuntu founder Mark Shuttleworth described application extensibility as an important enabler of innovation and user empowerment. Citing the Firefox web browser and its rich ecosystem of add-ons as an example, Shuttleworth suggested that the Linux community could deliver a lot of extra value by making scriptable automation […]
4 Jan 2009
Jetty Web server can be invoked and installed as a stand alone application server. It has a flexible component based architecture that allows it to be easily deployed and integrated in a diverse range of instances. The project is supported by a growing community and a team with a history of being responsive to innovations […]
22 Oct 2008
It’s always handy to have a complete list of packages installed, specially if you want to create a system that is similar to a different system you have already set up. In this post I’ll cover how you can export a list of installed packages on one Ubuntu system, and import them into another to […]
4 Oct 2008
Intrepid Ibex is the codename for Kubuntu 8.10, due to be released October 30 2008. The focus for 8.10 for the Kubuntu community will be transitioning to a KDE 4 desktop. The plan is to integrate the existing Kubuntu software while at the same time offering the best out-of-the-box KDE 4 experience around. Intrepid Ibex […]
21 Jul 2008
I needed to automate the task of synchronizing files from one server to another, so I wrote a Phing task. Finally today I found some time to finish writing the documentation. Overview FileSyncTask is a Phing extension for Unix systems which synchronizes files and directories from one location to another while minimizing data transfer. FileSyncTask […]
9 Jul 2008
The “find” command is one of the most powerful and useful Unix commands, you can use it to locate files, and then perform some type of action on the files after they’ve been located. With this capability, you can locate files using powerful search criteria, and then run any Unix command you want on the […]