DISABLE SWAP: This is how to disable the swap file in Ubuntu 17.04
To turn off the swapfile. Run the following command:
sudo swapoff /swapfile
Now disable the swap file in /etc/fstab. I'm using Vim.
#!/usr/bin/env sh | |
# This script captures keyboard events on popular POSIX Shells. | |
# | |
# Run it by executing ./answer.sh and press the arrow keys | |
# to see the capture exemple. Press Return to exit. | |
# | |
# It has been tested on: | |
# - Windows (Git Bash and MSYS+Mintty) | |
# - OS X (native terminal, Yosemite) |
############################################################################### | |
# The MIT License | |
# | |
# Copyright 2012-2014 Jakub Jirutka <jakub@jirutka.cz>. | |
# | |
# 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 |
#!/bin/bash | |
ifconfig | |
read -p "Enter your external interface: " EXT_INTER | |
# do not edit after this line | |
set -x # enable echo | |
sudo yum install -y epel-release | |
sudo yum install -y vim git tmux bash-completion net-tools htop psmisc |
apiVersion: certmanager.k8s.io/v1alpha1 | |
kind: ClusterIssuer | |
metadata: | |
name: letsencrypt-prod | |
namespace: default | |
spec: | |
acme: | |
email: youremail@example.com | |
server: https://acme-v02.api.letsencrypt.org/directory | |
privateKeySecretRef: |
Based on this post: https://n40lab.wordpress.com/2016/03/02/openvswitch-lts-in-centos-7 The most recent release from the LTS series: http://openvswitch.org/releases/openvswitch-2.5.4.tar.gz
Instructions:
As the root user let’s install some packages:
yum -y install wget openssl-devel gcc make python-devel openssl-devel kernel-devel graphviz kernel-debug-devel autoconf automake rpm-build redhat-rpm-config libtool python-twisted-core python-zope-interface PyQt4 desktop-file-utils libcap-ng-devel groff checkpolicy selinux-policy-devel
# | |
# Enable CEPH repos as described at http://ceph.com/docs/master/install/get-packages/#rpm | |
# Install ceph-deploy package | |
# | |
export DATA_DEV=sdb | |
export JRNL_DEV=sdc | |
export FS_TYPE=xfs | |
export CEPH_S_NODE=ceph-s | |
export CEPH_RELEASE=giant |
kubectl get services # List all services | |
kubectl get pods # List all pods | |
kubectl get nodes -w # Watch nodes continuously | |
kubectl version # Get version information | |
kubectl cluster-info # Get cluster information | |
kubectl config view # Get the configuration | |
kubectl describe node <node> # Output information about a node | |
kubectl get pods # List the current pods | |
kubectl describe pod <name> # Describe pod <name> | |
kubectl get rc # List the replication controllers |
Requirements | |
------------------ | |
- The GNU C compiler. We generally test with version 4.1, 4.2, or | |
4.3. | |
- pkg-config. We test with version 0.22. | |
- libssl, from OpenSSL, is optional but recommended if you plan to | |
connect the Open vSwitch to an OpenFlow controller. libssl is |