fabiochiu/medium-articles huggingface dataset:
Thank You
By: Caylie Hausman
Tags: Nostalgia, Thanks For The Memories, Poetry On Medium, Poems On Medium, Gratitude

film photos by caylie hausman

You saw the writer

in me before I did

said “here you go,

I think you’d be good at this”

and handed me a notebook

full of blank prompts,

a guiding light for later

when you left.

I didn’t even register then

what you were saying,

recently I saw

the proposed

message

in the blankness.

I wish I

could say

Thank You…

If you’re reading

this–

Thank You.

I learned from you

things you can only learn

from being in an abundance

of love, I learned

to be a guiding light for

later,

when you

left.

Left me to write,

left me to create,

left me alone

because we both knew

that’s what was

right..

regardless of

how wrong it felt

in the moment,

we both knew I could write

and the life you wanted for

us wasn’t what I saw as right.

I wrote you away

in my head

and on paper but

I still haven’t

had the heart to

fill out the prompts

you left me.

I’ve put a lot of my

heart out there

anway.

Promptless.

My heart has rolled out of my sleeve.

I’ve learned to extend

the love you left

into scrolls,

and I hope you’ve had a chance

to build wonderful

things in life

with the love

I left.

Not the

in love,

because we

have let that go–

but the consensus

that we were once something

more friendly than

a casual hello.

We watched sunsets,

and sunrises,

and looked at each

other like we were the

only two, even when we knew

it wasn’t so.

Remember that night in the pool,

dancing like no one else existed;

a hot summer heat,

everywhere, sweaty as New Orleans.

The great debacle

of letting

go.

I wish I had received your note

in a bottle earlier, and written worlds

for you to keep

when you left

but I’m glad I kept those worlds for myself,

not sorry; they kept me

when you couldn’t.

I hope she carves

your love in stone and

you never let each other go

because you

deserve

that kind of permanence

and dedication in love.

Anyway, I just wanted to say

Thank You for being one who

left me to write,

to create,

solitary

sans confinement.

Thank you for

seeing me before I did.
50 percent
By: Erin Silveira
Tags: Poem, Poetry, Poetry On Medium, Miscarriage, Poems On Medium

Loss —

Not the abnormality

But maybe the norm.

Some of us will never know…

A Kernel sparked briefly

But extinguished.

Others lumber, labor, deliver

Name her,

Kiss a cold brow;

This one’s son’s tiny footprints in ink

his name engraved on a stone

His soul a rocket;

This one’s daughter a small

Brown nut, cracked.

What then my loss?

Barely acknowledged before it

Slipped away: clotted hopes.

This Melancholy fruit of the womb

Dripping sadness,

Draped vines over a stone wall,

Heady smell of rotting grapes,

Ruined harvest.

This pomegranate

Round and full

of tiny jeweled seeds-

Split open and sparkling with pain,

Dripping blood stains.

Blessed is the fruit.
art of a different kind (rupi kaur wannabe)
Tags: Poetry Writing, Poetry, Poem A Day, Poetry On Medium, Poems On Medium

i’m a rupi kaur wannabe

guess i’m her but with different traumas

i think she’s really cool

and sorry if my poetry sounds like her

i don’t expect anyone to see these

but i’m finding my style

like i did with my drawings so long ago

this is art of a different kind

and i’m still learning
Stay Away From People Who
By: Gal Mux
Tags: Poem, Creative Writing, Personal Boundaries, Poetry On Medium, Poems On Medium

Stay Away From People Who

Stay away from people who

Want to love you for what they want you to be

Want to love you only when you can change for them

Want to be with you because it’s beneficial for them

Want to be with you only when it’s beneficial for them

Stay away

Stay away from people who

Make you anxious and weary

Make you angry and sad

Make you frightened and fearful

Make you disgusted and bad

Stay away

Stay away from people who

Take your time and attention for granted

Take your concern and care for granted

Take your love and affection for granted

Take your words and touch for granted

Stay away

Stay away from people who

Manipulate and puppet you

Twist and turn you

Scold and curse you

Kick and punt you

Stay away

Stay away from people who

Want to take and take and never want to give

Want to take what they want and won’t give you want you want

Want to chat and chat and never want to build

Want to talk and talk and never want to do

Stay away
Once in a while
By: Aayushi Tiwari
Tags: Poem, Poetry, Poetry On Medium, Writing, Poems On Medium

Once in a while, I feel like writing about you.

Once in a while, I want to make you feel good about yourself.

Make you feel good about us.

Once in a while, things are not as we want them to be.

But once in a while, they become more than what we wish for.

Once in a while, we concentrate on the problems.

But once in a while, I like to treasure the good part of the story.

Our story.

Once in a while, it seems like the story will end.

Once in a while, it seems like we’re drifting apart.

To a distance unknown to either of us.

Once in a while, I feel as if I’m a part of you.

And you, a part of myself.

Once in a while, we lose strength and passion.

And once in a while, we’re stronger than anyone else.

Once in a while, it feels like we’re two halves.

But of unequal size.

Never expected to be together.

But once in a while, we still come up together.

Abstract art, is what they call it.

Hard to understand, but appreciated the most when understood.

Once in a while, I’ll still write for you.

And once in a while, you’ll start feeling good about us.
Cell
By: Mark H Fitzpatrick
Tags: Poem, Poems And Stories, Poetry, Poetry On Medium, Poems On Medium

Photo by SHTTEFAN on Unsplash

every day they left a trail,

stopping just short of

the river,

and every day

I followed

losing track of time, the

waving reeds and evenings

but that day was different,

it was all so sudden

there she was

she turned around and

I wanted to run but

a whisper slipped from

her lips

fell to the earth and

slithered along my

spine

like fingers on keys

yes, I said, I can hear you

her clothes were torn and

a breeze passed between us

she bent low, spoke to the others,

we must keep the memory alive, yes,

I know it hurts

she approached as through

a tunnel, there, can you see it?

it was the size of a door and

fading fast

through its frame a purple sun,

a gentle pull

music and light

only later did I know what

I had done

how the quickness

fractured into shards

and slivers

a figure, a whimper

a voice

not hers

you’re more cautious than

I remember, it said, she’s quite

fine here, I assure you, though

I must confess, it is

getting dark

I remember reaching out,

her arms trembling, more than

I could handle

yes, I said, I’ll take her place

I felt it then, wrapping around

my wrist, slow and cold,

purposeful

I’ll be back for you, I heard her say

no, he won’t let

you go twice

who my love? it has always

been just you and I

sometimes I can still see the door,

pulsing behind the bars, can almost

touch it

I wonder if the river is still there,

if maybe one day she will return

in the meantime

I close my eyes

and coax these

wings to grow
Untamed
By: Lori Lamothe
Tags: Poetry, Love, Nature, Life, Poems On Medium

Untamed

Photo by Tobias Markmeyer on Unsplash

At a place where the road curves beyond vision

a bear lumbers out of dusk,

his dark body illuminated in our headlights.

He swipes a paw at routine and turns expectation on its side

before leaving us

alone with an emotion that’s not quite fear,

not quite euphoria.

Back home, we crave beer drunk straight from the bottle,

sit too close to the fire,

but intensity’s already blurring around the edges.

The TV flickers HD destinies as the clock on the shelf

ticks down toward sleep.

Even so, it’s hard not to wonder what life would be,

if that brush with wildness was indelible.

If you liked this poem, you might enjoy “The Witchery of Peonies.”

Lori Lamothe is the author of Happily, Kirlian Effect and Trace Elements.
Linux for Everyone..
By: Anubhav Singh
Tags: Open Source, Linux Tutorial, Linux

Kernel

Kernel is the Core of a computer operating system with complete control over everything in the system. It virtualizes the common hardware resources of the computer to provide each process with its virtual resources.

The Kernel is also responsible for preventing and mitigating conflicts between different processes. File management, Process management, I/O management, Memory management, Device management.

Shell

A special user program which provides an interface to the user to use Operating system services. “Shell accepts human readable command from the user and convert into something which Kernel can understand.”

The Shell gets started when the user starts the terminal.

Shell communicate with Kernel and Kernel have direct communication with Hardware

Shell is broadly classified into two categories —

CLI (Command line Interface)

Graphical Shell = GUI (Graphical User interface)

There are several shells available for Linux systems like BASH (Bourne Again SHell) — It is most widely used shell in Linux systems.
Introduction to firewalld
Tags: System Administration, Linux, Security, Firewall, DevOps

Firewalld is a firewall management tool for Linux operating systems. It has same purpose(packet filtering) with iptables but it is an easier to use tool. Firewalld relies on a concept which is called “zones”.

A network zone defines the level of trust for network connections. This is a one to many relation, which means that a connection can only be part of one zone, but a zone can be used for many network connections. A zone has definition about those;

Services, firewalld has some predefined service definitions like SSH, HTTP…etc. A service can be added to a zone so an extra port or protocol definition is not necessary.

Ports and protocols, protocol of connection and port or port-range definition of a connection.

ICMP messages, blocks selected Internet Control Message Protocol (ICMP) messages. These messages are either information requests or created as a reply to information requests or in error conditions.

Masquerading, private IP definition that is behind of a public IP. This is a form of address translation.

Forward ports, forwarding a local port to another machine’s same port or different port in the same machine.

Rich rules, adding complex rules those includes multiple elements.

Now let’s discover command line of firewalld. Be sure about if firewalld working before beginning.

List all zones, display default zone, get detailed info about default zone.

As you see public zone is a default zone, this zone includes all sources(interfaces) as default. This server has single interface. Multiple interfaces can be assigned to multiple zones but single interface can be assigned to only single zone. Also this zone allows all SSH and IPv6 DHCP connections.

Assume that we need a rule that will allow only specific clients to make SSH and we don’t need anything else service. I will achieve that creating a new zone, assigning single interface to it.

Without permanent, firewalld rules are applied on the fly but rules are disappeared after system reboot. You should restart or reload service when you use permanent. To make a rule permanent and enable immediately, you should run command twice(with permanent and without permanent) or you can use firewall-cmd — runtime-to-permanent command. Here I will use only permanent and restart service. Make sure that the server you are playing on must be a test server to avoid any production issue.

After assigning interface to new zone, public zone still owns interface. When I restarted firewalld, SSH connection to server dropped. After checking server’s console;

new zone owned interface, it doesn’t allow any connection because of there are no defined services, IPs or ports.

I can add SSH service to new zone so that will allow SSH connections to server.

But be aware of I allowed SSH connections from all sources. Our aim is creating a rule that will allow SSH from specific sources. This kind of rule contains multiple elements such as IP and port. So we should use a rich rule.

As you see, ssh service is removed after rich rule added. But SSH connection still works after reloading service.
How to download/install Wget for windows easily
By: Felipe A. Moreno
Tags: Wget, Windows, Tutorial, Installation, Linux

Well, this post is very useful if you want to download files from a remote URL and you have been worked with a Linux system.

In my case, I have been working with Linux since 2012, so when I come back to Windows, I have the necessity to do the same task as I did on Linux, e.g. Wget.

WGET is a free tool to download files and crawl websites via the command line. WGET offers a set of commands that allow you to download files (over even quite bad network conditions) with features that mean you can do useful things like resume broken downloads.

So, Wget is a very useful program when you want to download information/data from remote URLs in just one command line or you want to make a back up of your website or move files, etc.

What does WGET Do?

Once installed, the WGET command allows you to download files over the TCP/IP protocols: FTP, HTTP, and HTTPS.

Let get in: To run WGET you need to download, unzip and install manually.

Download the Windows binaries collection at Eternally Bored here for the later versions and the faster 64 bit builds.

Run WGET from anywhere

Firstly, we need to determine where to copy WGET.exe. To do this, we just need to copy the .exe file into some “Path” environment variable, I choose to copy the wget.exe file into the c:\Windows\System32 folder location.

Write path in the cmd to see the environment variables

After this step, You can use the wget like always from anywhere of your prompt (any location in your directory).

Examples using Wget

The Gnu.org WGET manual is a particularly useful resource for those inclined to really learn the details.

To mirror your site execute this command (-r is recursive and -np is to avoid to download paretn directory):

wget -r -np https://www.yoursite.com

To mirror the site and localize all of the URLs:

wget --convert-links -r https://www.yoursite.com

To make a full offline mirror of a site:

wget --mirror --convert-links --adjust-extension --page-requisites --no-parent https://www.yoursite.com

To mirror the site and save the files as .html:

wget --html-extension -r https://www.yoursite.com

To download all jpg images from a site:

wget -A "*.jpg" -r https://www.yoursite.com

For more filetype-specific operations, check out this useful thread on Stack.

Well, that’s all about this post. I hope you enjoyed :D
How To Install Google Authenticator PAM Module Directly From Source
By: Basil A.
Tags: Ubuntu, Linux, Security, Google Authenticator, DevOps

Photo by Jason Dent on Unsplash

This article will describe how to compile Google Authenticator directly from source by cloning the source code from the official GitHub repository.

If you need to know why you should compile and avoid the apt Ubuntu package, please read the previous article first.

How to Compile google-authenticator-libpam From GitHub?

Here we go, these steps will be sufficient to git clone it and compile it on your Ubuntu server:



apt install libqrencode-dev -y

apt install libtool -y

apt install libpam-dev -y

apt install autoconf -y

apt install make -y

cd /root

git clone

cd google-authenticator-libpam

./bootstrap.sh

./configure --libdir=/lib/x86_64-linux-gnu

make

make install

cd ..

rm -rf google-authenticator-libpam

apt remove libtool -y

apt remove libpam-dev -y

apt remove autoconf -y

apt remove make -y apt updateapt install libqrencode-dev -yapt install libtool -yapt install libpam-dev -yapt install autoconf -yapt install make -ycd /rootgit clone https://github.com/google/google-authenticator-libpam.git cd google-authenticator-libpam./bootstrap.sh./configure --libdir=/lib/x86_64-linux-gnumakemake installcd ..rm -rf google-authenticator-libpamapt remove libtool -yapt remove libpam-dev -yapt remove autoconf -yapt remove make -y

In the upcoming articles, I will describe a bullet-proof way to set it up.
How to Subline Text In parrot or any Linux
By: Raihan Biswas
Tags: Install, Ubuntu, Linux, Parrot, Sublimetext

Install Sublime Text on Ubuntu and other Linux [The Official Way]

If you do not like Snap packages, don’t worry. Packages and package repositories have been provided for major Linux distros.

Users of Debian, Parrot , Ubuntu and other Ubuntu-based Linux distribution such as Linux Mint, elementary OS etc, can follow the commands below to install Sublime Text 3.

Open a terminal and use the command below to install the GPG key.

PayLoad : wget -qO — https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - (copy & Paste On Terminal)

After that, create add the repository in your sources.list.

Payload : echo “deb https://download.sublimetext.com/ apt/stable/” | sudo tee /etc/apt/sources.list.d/sublime-text.list (copy & Paste On Terminal)

Now refresh the package list and install Sublime Text.

sudo apt update && sudo apt install sublime-text

Thanks For Read
Linux’ta Initramfs Hatası Nasıl Düzeltilir?
By: İhsan Sunman
Tags: Initramfs, Error, Linux

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
HOW TO CONNECT IN MYSQL USING UBUNTU WSL
By: Arnolfo Federis
Tags: Windows, Ubuntu, Linux, MySQL, Wsl

Hello guys,

I uploaded my new tutorial on how to Connect in mysql using ubuntu wsl

You can watch it here:

Thanks!

Please don’t forget to Subscribe my channel :)
About me
By: Amaury Souza
Tags: Open Source, DevOps, Linux

Focused on Linux administration and automation, Linux certified with over 7+ years of experience in IT infrastructure operations.

I’m member of the Viva o Linux community with several articles and scripts (Bash) published, I collaborate on pull requests and issues at Github projects. Also, I created a Medium blog to write stories about Linux, DevOps tools and Infrastructure as Code to help all professionals who are starting their IT journey.

In the moment I’m working as Linux System Administrator at IBM, with experience in Linux (patching, troubleshooting, networking, systems, packaging), VMware, Ansible, Satellite, Shell Scripting, Regex and several tools to administrate the Linux servers.

In the past experiences, I got some experience with observability, I installed and configured Zabbix and Grafana to monitoring the infrastructure, designed maps and grafics at Zabbix to automate the environment, created several scripts(Bash) to automate the routine in the PROD servers, worked with network team to ensure the network environment working fine.

Also, I have some IT certifications:

• CompTIA Linux+

• LPI-1: Linux Administration

• Scrum Foundation Professional Certificate (SFPC)

• DevOps Essentials Professional Certificate (DEPC)
INSTALL LARAVEL VALET LINUX IN WINDOWS PC (UBUNTU WSL)
By: Arnolfo Federis
Tags: Ubuntu, Linux, Laravel, Valet, Wsl

Hello guys,

I uploaded my new tutorial on how to install Laravel Valet Linux in windows pc using ubuntu wsl.

You can watch it here:

Thanks!

Please don’t forget to Subscribe my channel :)
Linux-XFCE Cihazlarda VNC Bağlantısında Görüntü Gelmemesi
By: İhsan Sunman
Tags: Tightvnc, Xfce, Vcn, Linux

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
Improving laptop battery life on Linux
By: Pranshu Jethmalani
Tags: Popos, Ubuntu, Linux, Battery Life, Laptop Battery

Improving laptop battery life on Linux

I recently dual-booted my windows laptop with Pop OS 20.04. The reason being a screen flickering issue on Windows which occurred randomly while using a few apps (like Edge, Netflix desktop app, etc.). It caused the screen to blink suddenly. It wasn’t persistent and happened rarely but it was annoying. Later, I learned that it was probably an issue with the Intel graphics driver as they later mentioned fixing the issue in their new driver update. I had two options, trying out the new generic driver and seeing if the issue was fixed or waiting for my ORM manufacturer to release the driver for my laptop after a few months (typically 4–5 months). I couldn’t wait that long.

Also, during the same time I came across a video about Pop OS and how it was better than other linux distros due to better hardware support. I had previously run Ubuntu 18.04 on the same laptop and I knew that you had to separately install the NVIDIA GPU drivers in order to use the GPU, which didn’t seem straightforward at that time. But with Pop OS there was a separate OS image with the NVIDIA drivers out of the box. Also, it gave options like switching between GPUs, choosing power modes to save battery, etc. It all seemed pretty cool. So, I decided to give it a try. I installed it and I was impressed! It looked so amazing out of the box, also there’s a ton of customization possible on linux distros. The animations and overall experience seemed very polished. It felt pretty fast and consumed less RAM in comparison to Windows. But there was an elephant in the room.

The battery life sucked! I was getting around 2 hrs in comparison to 5–6 hrs on Windows.

This led me to ask the same old question again as to why this was the case. I had earlier stopped using Ubuntu 18.04 due to the same reason. Even back then I was getting around 2 hrs of juice. This was disappointing. But, back in those days I was new to Linux. It was different this time. I have been doing development work on Ubuntu on my workplace machine for more than a year now. I have gotten used to the ways of the terminal and how you could control everything with a few lines of code. Windows had started feeling alien to me with every passing day. So, I decided to stick around and try to fix the problem this time.

After, going through numerous reddit posts and stack overflow answers I noticed a pattern. The popular suggestion was to install tlp and powertop packages and play around. Let’s hit the terminal.
Great article.There is brief and handy linux commands.Thank you very much.
By: Alex Duncan
Tags: Virtual, Command Line, Linux

Great article.There is brief and handy linux commands.Thank you very much.
Configuring HTTPD Server on Docker Container | Task 7.2 | ARTH
By: Gaurav Sharma
Tags: Docker, Linux

What is Docker??

Installation of OS is hard job & if our requirement is to install hundreds of OS then it’s impossible task of an individual. But with Containerization technology we can install OS very easily & in lesser time. Docker is a tool for containerization technology & we can install almost any type of OS using this technology within some seconds. In Docker we use another term for OS which is container.

How to Install Docker??

Redhat linux won’t have package for docker so we have to create a repo file for docker with the given base url:-

To install new version of docker we have to include “nobest” in the command:-
Why Linux and Linux command important for hacking?
Tags: Cybersecurity, Linux, Education, Hacking, Ethical Hacking

Photo by Sai Kiran Anagani on Unsplash

Today I want to talk to you about Learn Linux and Linux command. After learning the programming language our next step is to learn Linux and its basic command. Now I explain to you, why learning Linux is important for hacking. when you start hacking, you need so many tools for information gathering and attack a website. And all hacking tools an available in Linux distribution. Linux is also used for hiding your privacy. and you know privacy is how much important.

We can use all hacking tools in windows and mac also, but in windows and mac, we need to install all hacking tools, but in Linux maximum hacking tools will pre-installed. that’s why all hackers prefer to use Linux for hacking.

Now I tell you what is Linux, Linux is an os like windows os and mac os. but Linux is an open-source Unix.

After installing Linux, Use Linux for some time for knowing that where are files and other applications and how Linux works.

After that go to youtube and search learn basic Linux commands. Learn basic command of Linux because it’s very important. I tell you applications work in two ways. one is GUI (graphical user interface) and CLI (command-line interface ). GUI means applications are work in a graphic way ( all command is written in graphical and icon way.) so we can easily use that application to press any icon that we want to press for our work. But in CLI applications are work on the command line (for doing any work in application enter a command in command-prompt then that application work. means with the place of pressing icons you will enter a specific command for doing work on that application…

Now you ask me, Nilesh, why we use CLI mode. when we can use GUI mode easily. so why we learn commands for CLI mode. when we can use GUI mode easily. and my answer is. CLI is very fast and we can use many shortcuts for doing work easily and fast after we learn commands. and in GUI mode we will press many icons for small work. in GUI many are shortcuts available but not more than CLI mode. and in hacking, time is everything. And also hackers are lazy persons. They love shortcuts, that’s why they use CLI mode for hacking. And Linux all applications work on CLI mode. That’s why we need to learn commands of Linux and Linux.

Now you will ask me, hay Nilesh, I learned Linux and Linux basic commands. what next for hacking, my answer is: → read my next blog.
與潘朵拉的對話
By: Licheng Hsu
Tags: Terminal, Unix, Ubuntu, Linux, Whisper

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
Aynı Bilgisayarda Linux ve Windows İşletim Sistemleri İle Aynı Bluetooth Klavyeyi Kullanmak
By: Mehmet Hanoğlu
Tags: Logitech K380, Bluetooth Keyboard, Ubuntu, Linux

How can I tell GRUB I want to reboot into Windows-before I reboot?

I have a dual boot Linux/windows system set up, and frequently switch from one to the other. I was thinking if I could…
Best Penetration Testing Distributions
By: Crazy Indian Developer
Tags: Kali Linux, Penetration Testing, Linux Distribution, Linux, Hacking

I am Crazy Indian Developer. I'm stand alone developer who likes to develop own linux tools and android application. my mostly tool are made in shell script.
What You Should Do After Start Firewalld
By: Jiwen Young
Tags: Centos, Web Development, Website, Linux, Firewall

Firewall is a common tool to filter packets flow through network in morden Linux world. It is actually a shell to iptables or nftables. It is zone-based, that is, a bunch of rules should be grouped into one zone and they will be effective on an interface as long as this zone is applied to it.

By default, firewalld offer us 10 zones available, as follow

block dmz drop external home internal nm-shared public trusted work

You can know the detail of each one by the following command

firewall-cmd --zone=[home] --list-all

In the output, target attribute is the default behavior of this zone, and options include [ ACCEPT, REJECT, DROP, Default ], and their name explain themselves well. Another important attribute is services, and its value is the group of services that is allowed in this zone. Service is in fact one or some combination of ports and protocol that will be allowed in this zone. What matters is the two attributes I just introduced, and others you can search document to understand what are they designed for.

So, what you should do if you want to set up a server for web service?

First , start your firewall and “enable” it, that is , allow it to start at boot.

systemctl restart firewalld systemctl enable firewalld

Second , I will create my own zone, and of course, you can modify one of the default zone if you like.

firewall-cmd --permanent --new-zone=myzone

— — permanent will make this rule effective through restart of firewall service, and without which, the rule will only be effective before you restart or stop firewall service that is running. With — — permanent , the rule will not be effective until you reload or restart firewall service.

Third, write your own services, and saved it at /etc/firewalld/services. The service file is a XML file as follow

<service> <short>Web</short> <description>Web Service Description</description> <port protocol="tcp" port="443"/> <port protocol="tcp" port="80"/> </service>

What matters is port tag and it explains itself very well.

Fourth, set the default behavior of the zone to DROP and add our web service into it, and do not forget add ssh service to your zone to keep your server under your control.

firewall-cmd --zone=myzone --set-target=DROP --permanent firewall-cmd --zone=myzone --add-service=web --permanent firewall-cmd --zone=myzone --add-service=ssh --permanent

Finally, reload the firewall service and set default active zone to our zone.

firewall-cmd --zone=myzone --set-target=DROP --permanent firewall-cmd --zone=myzone --add-service=web --permanent firewall-cmd --zone=myzone --add-service=ssh --permanent

And you can check the active zone and its attributes by following command

firewall-cmd --reload firewall-cmd --set-default-zone=myzone

Okay, this is all you have to do for a simple web server, and more features like port forwarding will not be introduced here since I just want to tell you what to do when you want to setup a new web server, or what to do after start firewalld service.
PenTestBox — Ferramenta para PenTest
By: Marcos Henrique
Tags: Pentestbox, Pentest, Windows, Linux, 100security

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
How to bruteforce a server with hydra
By: Pedro Gomes
Tags: Brute Force, Hydra, Cybersecurity, Servers, Linux

In this tutorial we will follow the behind the scenes of a bruteforce attack to a ssh service located on a server

Attention: Don’t do it without the server owner permission.

Pre-requirements:

1- A server

2-xHydra Gui Version
Most Commonly USe Linux Distros 2021 with Images
By: Shodkk Com
Tags: Linux Destro, Linux Destro Image, Linux, Linux Environment, Linux Noob Shodkk

We are the Content Team want to improve the life of people by providing the Relevant Conent with 100% Value. New Blog for TelegramChannel.shodkk.com
You already have Linux. It’s inside Windows.
By: Yasser Douslimi
Tags: Operating Systems, Terminal, Windows 10, Linux, Wsl 2

You heard it a thousand times. You must get Linux to be a “real” programmer. If we ignore the gatekeeping for a second, this is also a harsh statement toward the Windows OS. After all, Microsoft Windows is not just dominating the desktop ecosystem with ~78% market share for nothing. It must have its merits too.

But guess what? That doesn’t even matter because Windows has had the Linux kernel built-in for a while now. This means that it can exploit all of Linux’s functionalities without using any external software.

You may be saying now that, “so what? I already have a virtual machine, so this is useless to me…” It’s true, virtual machines do incorporate outside operating systems and give you the luxury of using both. However, have you ever considered that virtualizing an entirely separate machine inside yours might be a little bit inefficient? Virtual machines do have their use cases, but they can be extremely bulky and slow at times especially when you just want to use a quick command for your Linux class.

Enter WSL (Windows Subsystem for Linux) that offers bare-bones Linux capabilities and lets you download a distribution like an app.
Setting up Windows 10 for web development, including Docker, Linux, and Node.js
By: Adam Coster
Tags: Docker, Windows 10, Nodejs, Web Development, Linux

I recently had a catastrophic crash of my desktop, so it was time for a fresh Windows 10 install. Which also meant getting my development environment set back up. Modern webdev environments have a lot going on, especially when you throw Docker into the mix, and there are always a bunch of little useful Windows tweaks that are easy to forget. So I documented all the details for future reference, and to share.

Programs to Install

If you’ll be running Docker (see below), then a lot of your webdev needs can be met by various Docker images. Outside of those, the core programs I use for web development are:

Setting up Linux and Docker (via WSL2)

You can get fantastic Docker + Linux support via “Windows Subsystem for Linux 2” (WSL2).

You can work through the official Docker docs and the official WSL2 installation docs, which will soon become more up to date than this post. Alternatively, I’ve tried to distill all the steps and make things easier to follow.

Here’s how to get Linux + Docker running on Windows for web development:

Get Linux running via WSL2. Download and install Docker Desktop Once Docker is running, get into its settings (via the tray icon, running from the desktop shortcut, or from the start menu), then go to Resources → WSL Integration , and turn on integration with your installed Linux distro. Log into your new Linux distro via Start → wsl , then:

Install Node.js for your distro

Add an SSH key for GitHub (or whatever you need one for). You could use other auth approaches, but I generally find SSH to be easiest on Linux. You may want to auto-run your SSH agent when you log in.

Whew, now you’re all set up!

To run your distro, you can directly go to Start → wsl , or you can run the wsl command inside PowerShell or your favorite terminal.

Important: if your Docker containers will be accessing files, make sure those files are in the Linux filesystem instead of the mounted Windows one (otherwise performance is terrible). Once you’ve logged into your Linux distro, you can run cd ~ to get to your home folder inside the Linux filesystem.

When Docker is running on Windows, you can run the docker and docker-compose commands from within your Linux distro.

VSCode with WSL2
[:Solved]Error: GPG check FAILED when running yum/dnf
Tags: Centos, Linux Tutorial, Yum, Rhel, Linux

Quick fix to get yum installing/upgrading your server packages without editing any repo files

Just add the “nogpgcheck” argument with the command. for say;

yum update --nogpgcheck

or
Conquer The Command Line: The ln Command
By: Jim Homme
Tags: Beginner, Tutorial, Command Line, Linux, Programming

How To Use The ln Command Plus Special Options

In this installment of “Conquer The Command Line” we talk about how to use the Linux ln command.

Whenever you want to create links to files, directories, disks, or external systems, type ln .

Memory Aid: Think “shortcut”

If you use Windows and you know how to edit shortcuts, you know you can open them and see the tartet, which is the file, directory, or program that will run when you execute them. Linux is like that. When you work with a link, the linux equivalent of a Windows shortcut, you opeerate on files, directories, disks, and external systems. The ln command is how you do that.

Kinds Of Links

Linux has 2 kinds of links: Hard links and soft links. Soft links are the most powerful. They can link to everything I mentioned above. Hard links [can only link to files].

Hard Links

You rarely use hard links. They have a few limitations: you can’t link to directories or external file systems (disks).

To create a hard link, type ln <original> <new> , where original is the file you want to make the link to and is the name of the link.

If you have a file called business-call-log.txt and you want to make an easier to type link to it, type ln business-call-log.txt bcl.txt . Now any time you want to edit business-call-log.txt, you can substitute bcl.txt for the file name to save yourself some typing and possibly human error.

Here is something you should know about hard links. If you delete the original file, the link will still contain the original file content. Linux keeps the file contents until you remove all links that point to them.

Soft Links

You use soft links most often. They can point to files, directories, programs, and other file systems (disks). To create a soft link, you use the -s option of the ln command like this. ln -s <original> <new> .

If you have a file called business-call-log.txt and you want to make a soft link to it, type ln -s business-call-log.txt bcl.txt .

Here is something to remember about soft links. When you remove the original file, you break the link.

Essential Options

The -s - option creates a soft link, as you just saw.

The -sf option forces Linux to overwrite an existing link and make it point to a different file. If you wanted to make bcl.txt point to the file called beautiful-conch-love.txt, type ln -s beautiful-conch-love.txt bcl.txt .

If you want to know which items are soft links, you can use the ls command like this. ls -al . When you look at the listing, you will see an l on the line that shows the item. At the end of the name of the item you will see an @ sign.

Now What?

Hopefully this post has helped you take one more step in conquering the command line. I welcome any feedback.

This post was originally written on https://www.jimhomme.com
I’m giving Linux Mint a try after abandoning Ubuntu earlier this year.
By: Adam Prescott
Tags: Work, Technology, Productivity, Linux, Programming

I’m giving Linux Mint a try after abandoning Ubuntu earlier this year. Toward the end of last year, I recycled an old laptop into an Ubuntu machine to play around with .NET Core and Docker in Linux, and I was very impressed. It had been a long time since I’d last touched Linux, and for the most part everything worked right out of the box.

Hardship began when I tried to use it for virtual school in Fall 2020. It was wildly frustrating to not have feature parity with Linux variants of apps like Zoom while teachers were instructing to do specific actions that weren’t available.

The real deal-breaker was printing, though. I spent a day trying and just couldn’t get it working, so I rolled back to Windows. Imagine my delight when the first thing I saw upon logging in with Mint was “adding printer.” How wonderful!
Recuperar dados usando foremost
By: Marcos Henrique
Tags: Foremost, Recovery, Linux, 100security

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
.NET Core Projesi Ubuntu Nginx Sunucu Üzerinde Nasıl Yayınlanır?
By: Samet Sunman
Tags: Deployment, Nginx, Linux, Net Core

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
Nikto Web Scanner
By: Marcos Henrique
Tags: Web Scanner, Nikto, Linux, 100security

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
How to Install Linux on Windows
By: James Briggs
Tags: Technology, Windows, Linux, Software Development, Programming

Install Ubuntu

Bear in mind that these steps can be completely different depending on the distro you are installing. For example, Debian is not as straightforward as Ubuntu. So if you are installing another distro, be very careful and find another article dedicated to installing that distribution.

The first screen should show you two options: Try Ubuntu and Install Ubuntu. It is recommended you try it first, testing that your hardware integrates with Ubuntu as expected.

Once you’ve finished testing, go back to your home screen and click Install Ubuntu 20.04 LTS (or whichever version you are installing).

This will take you through the installation process, including a few important steps (alongside many minor tweaks such as setting the keyboard layout, current location, etc.).

Those important settings include the following:

Updates and other software

Minimal/normal installation: Here I go with minimal to reduce software bloat from media players, etc. However, this is not necessary — go with what you prefer.

Whether to download updates while installing Ubuntu: This can help us reduce the time spent manually installing updates later, which can be useful.

Whether to install third-party software for graphics and other items: I would recommend this to help Ubuntu better integrate with our hardware without manually installing/updating drivers.

Installation type

The “Install Ubuntu alongside Windows 10” option must be shown — this is how we install Ubuntu without wiping Windows.

It is very important that you are able to see the “Install Ubuntu alongside Windows 10” option — and that you choose this.

Do not choose “Erase disk and install Ubuntu” if you already have an OS you would like to keep because everything will be wiped with this option.

If you cannot see the “Install Ubuntu alongside Windows 10” option, you most likely need to change where you are booting from. Two options should be available: booting from UEFI or from BIOS (which can be changed from the BIOS menu).

There are several suggestions on Ask Ubuntu for fixing the problem of Ubuntu installer not detecting Windows.

Install Ubuntu alongside Windows 10

The final important step is to decide how much space to allocate to Ubuntu and Windows. The left box represents Windows and should say Files, whereas the right box represents Ubuntu and should say Ubuntu accordingly.

Install

After a few more simple steps, you should be given the option to “restart now”. Do this to begin the final part of your dual boot setup.
Obter acesso como ROOT — Kernel 2.6.39 Vulnerável
By: Marcos Henrique
Tags: Root, Kernel, Linux, 100security

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
Playing With Static Partitions(Linux)
By: Bhavesh Kumawat
Tags: Static Partition, Linux

Really ? can we increase or decrease size of the static partitions created in Linux operating system .

What Partitioning in Operating System

In operating systems, Memory Management is the function responsible for allocating and managing computer’s main memory. Memory Management function keeps track of the status of each memory location, either allocated or free to ensure effective and efficient use of Primary Memory

Static(Fixed )Partitioning:

This is the oldest and simplest technique used to put more than one processes in the main memory. In this partitioning, number of partitions (non-overlapping) in RAM are fixed but size of each partition may or may not be same. As it is contiguous allocation, hence no spanning is allowed. Here partition are made before execution or during system configure.

Let’s try by increasing the size of the Static partition and find out whether we will be successful or not.

Step-1

Add new hard disk to the system . We can see all the details of the hard disk attached to our system with the help of #fdisk -l command. In my system I have added a hard disk of 5GB.

initial details of hard disk

Step-2

Now we have to create a new partition in the hard disk . For this run #fdisk [hd_name ] in my case /dev/nvme0n2.

creating a new partition

here n is used for new partition, p for primary partition type, 1 partition number, start size used as default 2048 and size is given as +2G that is 2 gb. At the last use ‘w’ to write changes.

Step-3

Format the newly created partition and mounting it to the folder /static.

We can format the partition in various format but tis time with#mkfs.ext4 [partition_name] in our case that is nvme0n2p1.

And mount the partition as #mount /dev/nvme0n2p1 /static.

formatting and mounting of partition

#lsblk is the command which shows details of all the partitions.

Step-4

Going to the partition directory and creating some files.

creating files in /static directory

Step-5

This is the main step in which we will increase the size of partition.

Before committing any changes first unmount the partition with #umount [partition_name]

changing partition size

here ‘d’ is used for deleting the older partition , ‘n’ again creating new partition, ‘p’ for primary type, +4G as we are making size as 4 gb and at last giving ‘N ’ because it is asking for removing previous signature.

If we give yes ‘Y’ for removing the signature than it will delete the previous inode table and will create a new one and whole data that is stored previously will be removed. This is the significance of signature.

Step-6

Now we will run #e2fsck -f /dev/nvme0n2p1 this will check for any errors if there in the partition and remove them.

This time we will use #resize2fs /dev/nvme0n2p1 instead of mkfs.ext4 because this command will only format the newly added block of data and not the previous.

running error check and reformatting the newly added block of data

Step-7

Again mount the partition.

remounting the partition

Hurray !! 😁😁 we have successfully increased the size of partition without any alteration of data.
Bash Scipt combines one or more chronologically ordered log files into a single sorted output file, removing all the rows that contain data older than 24 hours from the current system datetime
Tags: Monitoring, Bash, Linux, Bash Script, Shell Script

Bash Scipt combines one or more chronologically ordered log files into a single sorted output file, removing all the rows that contain data older than 24 hours from the current system datetime SamJain ·Dec 23, 2020

The required hours of data can be achieved by replacing 24 below with desired hours. Here I am sorting with first 2 columns because that's how my logs are stored say:

2018–08–25 20:24:49 webserver-1:production | Cache warmed

2018–12–30 1:15:01 webserver-2:producction | Server started
Banner o Mensaje de Bienvenida en Linux
By: Samuel Vargas
Tags: Motd, Linux, Issue, Login, Banner

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore