Open jmgomez-IAA opened 4 years ago
Los ficheros se encuentran en las carpetas:
Mostrar el estado del sistema utilice ~]$ systemctl status
Listar unidades en ejecución:
~]$ systemctl
o bien
~]$ systemctl list-units
Listar unidades que han fallado ~]$ systemctl --failed
Listado de las unidades instaladas con ~]$ systemctl list-unit-files
Recargar todas las unidades ~]$ systemctl daemon-reload
There are three types of configuration files. They all use a format similar to systemd unit files.
Comprobar si la mac del dispositivo es persistente: ~]$ cat /usr/lib/systemd/network/99-default.link
Primero debemos crear un fichero de unidad que configure la ip que queremos:
~]$ cat << EOF | sudo tee /etc/systemd/network/enp0s2*.network
[Match]
Name=enp0s2*
[Network]
Address=161.111.16*.***/25
Gateway=161.111.16*.***
DNS=161.111.16*.***
DNS=161.111.1+*.***
EOF
~]$ cp /etc/systemd/network/enp0s25.network /srv/share/Workspace/lineas_trabajo/source/script_solutions/lib_scriptiaa/trunk/
~]# systemctl daemon-reload
~]# systemctl status netctl
~]# systemctl stop netctl
~]# systemctl disable netctl
Desactivamos dhcpd
~]# systemctl status dhcpcd@enp0s2*
~]# systemctl stop dhcpcd@enp0s2*
~]# systemctl disable dhcpcd@enp0s2
~]# systemctl status dhcpcd
~]# systemctl stop dhcpcd
~]# sudo systemctl disable dhcpcd
Habilitamos systemd-networkd
~]# systemctl enable systemd-networkd
~]# sudo systemctl start systemd-networkd
~]$ ip addr
2: enp0s2*: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 00:18::68:: brd ff:ff:ff:ff:ff:ff inet 161.111.1./25 brd 161.111.1.255 scope global enp0s2 Remove the old address
~]# ip addr del 10.9.***.*** dev enp0s2*
https://wiki.archlinux.org/index.php/Btrfs#File_system_on_a_single_device https://www.funtoo.org/BTRFS_Fun http://www.beginninglinux.com/btrfs
https://seravo.fi/2016/perfect-btrfs-setup-for-a-server
date:2018 https://www.kubuntuforums.net/showthread.php/73429-BTRFS-converting-RAID1-to-a-single-drive
Montar particion hibernada, o con errores: sudo ntfsfix /dev/sdd1
screen and others can do it, but that's not what they're for. I recommend nohup for tasks you know you are going to leave behind and bg for tasks you're already running and don't want to re-start.
nohup long-running-command &
It was made specifically for this, it even logs stdout to nohup.log.bg
to put your most recent suspended task to background, allowing it to continue running.Then a quick disown should keep the process running after you log out
Keep in mind, both are bash specific. If you're not using bash, then the commands could be different.
http://themediaserver.com/access-deluge-webui-apache-openssl/
Install choco and essential packages
Here´s my current list of packages I am using. Open the command prompt as Administrator, install Choco and run the desired commands as needed.
ChocoInstallBase.ps1 by atwork.at
Get Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
See packages at https://chocolatey.org/packages/
choco install notepadplusplus -y
choco install keepass -y
choco install googlechrome -y
choco install firefox -y
choco install adobereader -y
choco install vlc -y
choco install audacity -y
choco install Office365ProPlus -y
choco install microsoft-teams -y
choco install skype -y
choco install powerbi -y
choco install 7zip -y
choco install Peazip -y
choco install virtualclonedrive
choco install freecommander-xe.install
choco install wunderlist -y
choco install irfanview -y
choco install greenshot -y
choco install filezilla -y
choco install curl -y
choco install youtube-dl -y
choco install expressvpn -y
choco install azure-cli -y
choco install azcopy -y
choco install powershell-core -y
choco install sysinternals -y
choco install rdcman -y
choco install git -y
choco install vscode -y
choco install vscode-powershell -y
vscode-csharp
choco install vscode-csharp -y`choco install vscode-gitlens -y
choco install postman -y
choco install fiddler -y
choco install netfx-4.7.1-devpack -y
or Microsoft .NET Framework 4.7.2 choco install dotnetfx -y
or Microsoft .NET Framework 4.7.2 Developer Pack choco install netfx-4.7.2-devpack
choco install dotnetcore -y
or Microsoft .NET Core Runtime (Install) 2.2.6 - choco install dotnetcore-runtime.install -y
choco install sql-server-management-studio -y
or choco install azure-data-studio -y
choco install nodejs -y
choco install spotify --ignore-checksums -y
choco install lenovo-thinkvantage-system-update -y
Systemd Timers
https://wiki.gentoo.org/wiki/Systemd#Timer_services