start new:
tmux
start new with session name:
tmux new -s myname
| !------------------------------------------------------------------------------- | |
| ! Xft settings | |
| !------------------------------------------------------------------------------- | |
| Xft.dpi: 96 | |
| Xft.antialias: false | |
| Xft.rgba: rgb | |
| Xft.hinting: true | |
| Xft.hintstyle: hintslight |
| ############################################# | |
| # Push de la rama actual | |
| git push origin $rama_actual | |
| ############################################# | |
| # Volver a un commit anterior, descartando los cambios | |
| git reset --HARD $SHA1 | |
| ############################################# | |
| # Ver y descargar Ramas remotas |
| # This should be changed to your system's jenkins root JENKINS_ROOT="/var/lib/jenkins" | |
| JENKINS_USERS="$JENKINS_ROOT/users" | |
| JENKINS_JOBS="$JENKINS_ROOT/jobs" | |
| JENKINS_CONFIG="$JENKINS_ROOT/config.xml" | |
| # This variable is used so that we can verify that a user is not found | |
| FAIL_TEST=0 | |
| exportUserFolder() { | |
| if [ -d "$JENKINS_USERS/$1" ]; then |
| { | |
| "settings": { | |
| "number_of_shards": 1, | |
| "mapper": { | |
| "dynamic": false | |
| } | |
| }, | |
| "mappings": { | |
| "venue": { | |
| "properties": { |
| # Copied from http://ttaportal.org/wp-content/uploads/2012/10/7-Reallocation-using-LVM.pdf | |
| ## | |
| ## Showing the problem: need to reallocate 32GB from /dev/mapper/pve-data to /dev/mapper/pve-root | |
| ## | |
| df -h | |
| # Filesystem Size Used Avail Use% Mounted on | |
| # /dev/mapper/pve-root 37G 37G 0 100% / | |
| # tmpfs 2.0G 0 2.0G 0% /lib/init/rw |
Our Virtual Machines are provisioned using Vagrant from a Linux base box to run using VirutalBox. If the Hard Disk space runs out and you cannot remove files to free-up space, you can resize the Hard Disk using some VirtualBox and Linux commands.
The following steps assume you've got a set-up like mine, where:
| # | |
| # INPUT - Logstash listens on port 8514 for these logs. | |
| # | |
| input { | |
| udp { | |
| port => "8514" | |
| type => "syslog-cisco" | |
| } | |
generated via plantuml