This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Compute (Nova) | |
| Identity (Keystone) | |
| Image (Glance) | |
| Networking (Neutron) | |
| Block Storage (Cinder) | |
| Object Storage (Swift) | |
| Dashboard (Horizon) | |
| Orchestration (Heat) | |
| Workflow (Mistral) | |
| Telemetry (Ceilometer) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://www.digitalocean.com/community/tutorials/getting-started-with-puppet-code-manifests-and-modules | |
| + Resources | |
| resource_type { 'resource_name' | |
| attribute => value | |
| ... | |
| } | |
| user { 'mitchell': | |
| ensure => present, | |
| uid => '1000', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PROCESOS INICIO / SysVinit: | |
| [Runlevels S,s,0..6: S=s=1: monousuario; 0: apagado; 2: multiusuario sen NFS, login texto; 3: multiusuario 2 + NFS + rede; 4: -; 5: multiusuario 3 + X; 6: reinicio] | |
| - runlevel | |
| - /sbin/telinit <runlevel> | |
| - /etc/inittab | |
| - /etc/rc.d --> /etc | |
| - /etc/rc.local | |
| - /etc/init.d | |
| - chkconfig [--list | <service> [on | off | stop | start] # runlevels e servizos | |
| - service [--status-all | <name> [status | start | stop | ...] # servizos inicio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # --------------------- PACKAGE MANAGEMENT --------------------- | |
| # DPKG | |
| $ dpkg -S /etc/file.conf # what package this file belongs to | |
| $ dpkg -L <package> # package info (inc. files it contains) | |
| $ dpkg -V <package> # verify | |
| $ dpkg -r <package> # remove | |
| # APT (apt = apt-get) | |
| $ apt [-u] upgrade # -u show upgraded | |
| $ sudo apt autoremove | |
| $ sudo apt-get clean # will save space |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ip <> # ip address | |
| ifconfig | |
| iwconfig [interface] | |
| ifup / ifdown | |
| host <domain.name> | |
| hostname | |
| ping <IP/domain.name> | |
| arp <> # arp -e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Useful shell commands (mostly compatible with recent versions of GNU/BASH for GNU/Linux, or ZSH in MacOS) that almost sure I will need to write again, but I probably will eventually forget | |
| # -AUTHOR: Breogan Costa | |
| # | |
| # --------------------- TESTED IN BASH 4 or superior --------------------- | |
| # Get all filenames without extension | |
| ls fileName* | xargs -I '{}' basename {} .extension | |
| # Rename all the files starting by Debian name (i.e: VM images), adding an extra extension |