apt update && apt install jpegoptim optipng -y
cd /path/to/your/image/folder
# This hosts file is brought to you by Dan Pollock and can be found at | |
# http://someonewhocares.org/hosts/ | |
# You are free to copy and distribute this file for non-commercial uses, | |
# as long the original URL and attribution is included. | |
#<localhost> | |
127.0.0.1 localhost | |
127.0.0.1 localhost.localdomain | |
255.255.255.255 broadcasthost | |
::1 localhost |
using System; | |
using System.IO; | |
using System.IO.Compression; | |
using System.Text; | |
namespace TarExample | |
{ | |
public class Tar | |
{ |
#!/bin/bash | |
virsh net-destroy kimgtnet0 | |
virsh net-start kimgtnet0 | |
virsh net-destroy kimgtnet1 | |
virsh net-start kimgtnet1 | |
VMS=$( virsh list | grep '-' | awk '{ print $2; }' ) | |
for guest in $VMS ; do |
NO FEATURE | |
NODES=3ctlr_2comp_3ceph | |
# modify the ceph nodes memory to 5GB at config/nodes/3ctlr_2comp_3ceph.yml | |
control_memory: 8192 | |
control_disk: 45 | |
compute_memory: 5120 | |
compute_disk: 50 | |
ceph_memory: 5120 | |
ceph_disk: 55 | |
undercloud_memory: 12288 |
#!/usr/bin/env bash | |
set -e | |
set -u | |
## Variables | |
set_vars(){ | |
APT_MIRROR_HOST="mirror" | |
LXDKVM_SSTREAM_HOST="mirror" | |
JUJU_SSTREAM_HOST="mirror" |
license: mit |
$ sudo subscription-manager register --username <RHN_USERNAME> --password <RHN_PASSWORD>
$ sudo subscription-manager list --available
---------------------------------------------------
...
Subscription Name: Red Hat Enterprise Linux Developer Suite
Pool ID: 1234567890
...