Вернули Линуса Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels Другие наши проекты: https://tprg.ru/media
Профайлер Бедного Человека: первое знакомство и (приятные) последствия
Если вам приходилось оптимизировать работу программ, то вы могли слышать о Профайлере Бедного Человека. Этой идее даже посвящён целый сайт. ПБЧ собирает статистику времени выполнения отдельных функций программы, «подглядывая» в процесс её исполнения с помощью дебаггера. Концепт ПБЧ хорошо прижился у нас в движке баннерной крутилки — не буду в 100 500-й раз напоминать, что у Яндекса всё высоконагруженное, ресурсоёмкое и нуждающееся в профилировании. Статья будет полезна тем, кто пилит инфраструктуру, адаптирует какой-нибудь общеизвестный профайлер под себя или просто хочет больше знать про свои программы. Как мы пришли к необходимости в ПБЧ и что именно сделали? Сейчас постараюсь рассказать, местами буду закапывать глубоко в технологии (если переусердствую, пишите в комментариях). А начну со стандартного инструмента статистического профилирования в Linux — perf.
Читать: https://habr.com/ru/companies/yandex/articles/700918/?utm_campaign=700918
Разворачиваем сеть на RHEL8-based хостах
Развертывание ИТ-инфраструктуры с нуля — задача интересная и трудозатратная. Особенно, когда речь не о постепенном развитии (как это часто случается при поступательно-линейном росте бизнеса и, соответственно, его потребностей), а о куда более сжатых сроках, например, при открытии филиала или обособленного подразделения (другой вариант — необходимость в короткие сроки развернуть инфраструктуру для тестирования), где важную роль играет организация сети.
Конечно, первоначальная установка и настройка — это всегда полевая работа: монтаж СКС, сетевого оборудования и серверов; конфигурирование DHCP и организация удалённого доступа; иногда — заведение VLAN-ов.
Читать: https://habr.com/ru/articles/700460/?utm_campaign=700460
Setting up a Linux home server with containerized self-hosted apps
We're fortunate to live in a time of abundant, high-quality free and open source software—and the best part is, much of it can be self-hosted on your own server 🏠
As a follow up to my article on reproducible distro configuration, let's explore how t...
Read: https://twiddlingbits.net/setting-up-a-linux-home-server
How to create a Virtual Private Server on Vultr
Learn how to create a Virtual Private Server on Vultr step by step guide
If you're looking for a reliable and affordable virtual private server (VPS), Vultr is a great option to consider. In this guide, we'll walk you through the steps to create and ...
Read: https://mboretto.hashnode.dev/how-to-create-a-virtual-private-server-on-vultr
How to establish SSH connection to your remote machines via ssh keys.
Hey guys!
Welcome back to my blog.
Today we will learn a simple thing where in you will connect two machines via SSH.
Let's Begin!
Pre-requisite:-
Download MobaXterm
MobaXterm?
->It is a toolbox for remote computing.
After Instaling it ,
Click Sessi...
Read: https://nidhidevops.hashnode.dev/how-to-establish-ssh-connection-to-your-remote-machines-via-ssh-keys
A Brief Explanation of Unix, Linux, And Free Software
Linux is not Unix, literally. Both operating systems are similar in operation and application, but they aren't identical, even though many people use them interchangeably.
What Then is Unix?
Unix is an operating system that was first developed at AT&...
Read: https://osaruonamen.hashnode.dev/a-brief-explanation-of-unix-linux-and-free-software
Как настроить OpenVPN на Debian 11. Часть 1
Когда вы настраиваете удалённый доступ, важно не только предоставить всем сотрудникам подключение к нужным сервисам, но и позаботиться о безопасности. В этом помогает VPN — виртуальная частная сеть. VPN-сервер действует как единая точка входа: он аутентифицирует пользователей и создаёт зашифрованный туннель между их устройствами и частной сетью. А ещё он считается более гибким решением, чем, например, SSH Jump Server.
Вы можете использовать платный VPN или создать и администрировать собственный. В этой статье разбираем, как настроить OpenVPN на Debian 11.
Читать: https://habr.com/ru/post/720192/?utm_campaign=720192
Several ways to connect an EC2 instance in AWS.
Once the EC2 instance is created the next job for us is to access the instance.
The instance is a server that is running a different operating system, and there are different ways to reach Linux and Windows instances based on OS.
To create Linux based...
Read: https://pawanbhagat.hashnode.dev/several-ways-to-connect-an-ec2-instance-in-aws
Уязвимость в strongSwan IPsec, допускающая удалённое выполнение кода
Доступен выпуск strongSwan 5.9.10, свободного пакета для создания VPN-соединений на базе протокола IPSec, используемого в Linux, Android, FreeBSD и macOS. В новой версии устранена опасная уязвимость (CVE-2023-26463), которая может быть использована для обхода аутентификации, но потенциально также может привести к выполнению кода атакующего на стороне сервера или клиента.
Читать: https://www.opennet.ru/opennews/art.shtml?num=58736
Disable Root Login Linux Server
Introduction
In order to secure your Linux server, it is a good practice to disable direct root login. By doing so, you prevent malicious users from gaining access to the root account, which has the highest level of access and privileges on the serve...
Read: https://learnbydoing.hashnode.dev/disable-root-login-linux-server
#90DaysOfDevOps-Day 3: Basic Linux Commands_Hands-On!!!
To view what's written in a file.
cat FileName
To change the access permissions of files.
chmod 777 FolderName
To check which commands you have run till now.
history
To remove a directory/ Folder.
rm FileName
To create a fruits.txt...
Read: https://jayaprakash.hashnode.dev/90daysofdevops-day-3-basic-linux-commandshands-on
Linux Basic Commands
Linux is an open-source operating system that is widely used for various purposes, including servers, desktops, and embedded systems. It offers a powerful command-line interface (CLI) that provides users with a lot of flexibility and control over the...
Read: https://tanweer.hashnode.dev/linux-basic-commands
Handling files and Input, Output, and Redirection in Linux
Handling files is one of the essential tasks you perform on a Linux system. In Linux, everything is treated as a file, and there are many commands available to handle files effectively.
We have seen basic commands of Linux, and how to access files or...
Read: https://meenavuppu.hashnode.dev/handling-files-and-input-output-and-redirection-in-linux-1
How to Triple Boot (Windows & Ubuntu & Kali) !!
Triple booting Windows, Ubuntu, and Kali Linux on your computer can be a great way to take advantage of the strengths of each operating system. Windows is widely used for its ease of use and compatibility with many applications, while Ubuntu is popul...
Read: https://blog.mayankaggarwal.live/how-to-triple-boot-windows-ubuntu-kali
Linux: An Introduction to the Open-Source Operating System
Linux is an open-source operating system that has gained immense popularity in recent years due to its robustness, flexibility, and security. Developed by Linus Torvalds in the early 1990s, Linux is now used in various applications ranging from web s...
Read: https://therealdhruv.hashnode.dev/linux-an-introduction-to-the-open-source-operating-system
Автономный LTE роутер своими руками | Часть 3 – Uboot & OpenWRT
Привет Хабр! Эта статья посвящена программной части собственного роутера, сегодня будем: допиливать OpenSource, терять месяц жизни впустую, разбираться с модемом, раскрывать секреты OpenWRT’варения для нового устройства и трогать I2C устройства за их регистры.
Готовьте свои напильники и ныряем под кат
Читать: https://habr.com/ru/articles/701048/?utm_campaign=701048
В GNOME планируют изменить модель управления окнами
Тобиас Бернард (Tobias Bernard) из команды, отвечающей за дизайн пользовательского интерфейса GNOME, обобщил результаты обсуждения разработчиками планов по модернизации управления окнами в GNOME. Отмечается, что используемая ныне по умолчанию модель управления окнами построена на концепциях 50-летней давности и требует для достижения комфортного окружения выполнения лишней работы, связанной с настройкой размера и перемещением окон.
Читать: https://www.opennet.ru/opennews/art.shtml?num=59509
Mastering the awk command in Linux
Introduction
Hey there! As a Linux user, you might have heard about the powerful AWK command, but you might not be fully familiar with its capabilities. AWK is a text-processing tool that can help you manipulate data in many ways. In this blog post, ...
Read: https://k1lgor.hashnode.dev/mastering-the-awk-command-in-linux
The Forth Report Of My Challenge | Answered Two Questions
After the release of the second report, I got many answers. Now It's time for the third report in which I am going to answer 2 more questions.
I recorded a video about the same topic also t...
Read: https://ibilalkayy.hashnode.dev/the-forth-report-of-my-challenge-answered-two-questions
Доступен Thorium 110, более быстрый форк Chromium
Опубликован выпуск проекта Thorium 110, развивающего периодически синхронизированный форк браузера Chromium, расширенный дополнительными патчами для оптимизации производительности, повышения удобства работы и усиления безопасности. По тестам разработчиков Thorium на 8-40% опережает по производительности штатный Chromium, главным образом за счёт включения дополнительных оптимизаций при компиляции. Готовые сборки формируются для Linux, macOS, Raspberry Pi и Windows.
Читать: https://www.opennet.ru/opennews/art.shtml?num=58738
Automated : Ubuntu VM Setup on Virtual Box using Vagrant Cloud
Prerequisites:
Oracle VM Box Installed on the System
Git Bash terminal Installed on the System
In this article, we will see how to set up a Ubuntu VM on Virtual Box Using Vagrant Cloud.
Create a specific directory for vagrant VM in a specific lo...
Read: https://knowcloud.tech/linuxautomated-ubuntu-vm-setup-on-virtual-box-using-vagrant-cloud
Basic Linux Commands
#90DaysOfDevOps
What is Linux command to:-
To view what's written in a file-
Linux command to view what's written in a file is the cat command. The 'cat' command is the most versatile and effective tool. It is regarded as one of the most commonly use...
Read: https://prabhakar810.hashnode.dev/basic-linux-commands
Top 5 MLOps challenges
Read: https://ubuntu.com//blog/mlops-challenges
How to Download youtube Videos using youtube-dl
# How to Download youtube Videos using youtube-dl
## Table of contents
- [What us youtube-dl](#what-is-youtube-dl)
- [Installing youtube-dl](#installing-youtube-dl)
- [Windows](#windows)
- [MacOS](#macos)
- [Linux](#linux)
- [Installing yt-dl...
Read: https://talhamehar.hashnode.dev/how-to-download-youtube-videos-using-youtube-dl
GNOME : GNU Network Object Model Environment
What is gnome ?
GNOME (GNU Network Object Model Environment, pronounced gah-NOHM) is a graphical user interface (GUI and set of computer desktop applications for users of the Linux operating system. It's intended to make a Linux operating system easy...
Read: https://abhilashhari.hashnode.dev/gnome-gnu-network-object-model-environment
Linux Desktop Powers Consider Uniting For an App Store
Read: https://linux.slashdot.org/story/23/03/02/2155231/linux-desktop-powers-consider-uniting-for-an-app-store?utm_source=rss1.0mainlinkanon&utm_medium=feed
Linux Environment Variables
Environment Variables:
Environment variables are a set of dynamic named values that can affect the way running processes will behave on the system. These variables are used by the operating system and applications to store important information that ...
Read: https://dhirajubhalkar.hashnode.dev/linux-environment-variables
Handling files and Input, Output, and Redirection in Linux
Handling files is one of the essential tasks you perform on a Linux system. In Linux, everything is treated as a file, and there are many commands available to handle files effectively.
We have seen basic commands of Linux, and how to access files or...
Read: https://meenavuppu.hashnode.dev/handling-files-and-input-output-and-redirection-in-linux
#90DaysOfDevOps-Day 2: Basic Linux Commands.
Listing commands
ls option_flag arguments --> list the subdirectories and files available in the present directory
Examples:
ls -l--> list the files and directories in long list format with extra information
ls -a --> list all including hidden file...
Read: https://jayaprakash.hashnode.dev/90daysofdevops-day-2-basic-linux-commands
Linux User Account Management -USERADD,USERMOD, GROUPADD
USERADD:
useradd command in Linux is used to create a new user account.
To create a new user in Linux
#useradd <usernameHow to identify if a user is created?
#id <user_nameCreate a User in existing group with a specific home directory:
#u...
Read: https://dhirajubhalkar.hashnode.dev/linux-user-account-management-useraddusermod-groupadd