dnf install snapd
snap install <snap>
snap find <search>
snap list
| systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target | |
| systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target |
| #!/usr/bin/env bash | |
| VERSION_PATTERN="([0-9]+\.[0-9]+\.[0-9]+)" | |
| case "${1}" in | |
| "phpstorm") | |
| TOOL_NAME="PhpStorm" | |
| INSTALL_DIR="/opt/phpstorm" | |
| case "${2}" in | |
| "eap") |
| #!/bin/bash | |
| # installation jetbrains | |
| j_url="https://data.services.jetbrains.com/products/download" | |
| tmp_dir="$HOME/tmp_jb" | |
| install_dir="/opt" | |
| if [ "$(whoami)" != "root" ] | |
| then | |
| echo "Sorry, you are not root." | |
| exit 1 | |
| fi |
| # Copyright (c) 2015 Jim Rybarski | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: | |
| # The above copyright notice and this permission notice shall be included in |
| dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart | |
| dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart | |
| # Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux | |
| wsl --set-default-version 2 | |
| wsl --list --verbose |
| https://github.com/netwayfind/cp-lockdown |
| https://docs.microsoft.com/en-us/windows/wsl/wsl2-install | |
| https://docs.microsoft.com/en-us/windows/wsl/install-on-server | |
| https://docs.microsoft.com/en-us/windows/wsl/initialize-distro | |
| https://docs.microsoft.com/en-us/windows/wsl/install-manual |
yum install xclip
| HISTIGNORE= | |
| HISTCONTROL=ignorespace | |
| HISTSIZE='INFINITY' | |
| HISTFILESIZE='INFINITY' | |
| yum install -y epel-release bash-completion | |
| yum install -y podman certbot | |
| yum install -y firewalld | |
| systemctl enable firewalld --now |