Category: Linux


Screen

By polfilm,

screen -list to list defatched
screen -r <screenID> to attach back
screen -d -r attach all

screen command Task
Ctrl+a c Create new window
Ctrl+a k Kill the current window / session
Ctrl+a w List all windows
Ctrl+a 0-9 Go to a window numbered 0 9, use Ctrl+a w to see number
Ctrl+a Ctrl+a Toggle / switch between the current and previous window
Ctrl+a S Split terminal horizontally into regions and press Ctrl+a c to create new window there
Ctrl+a :resize Resize region
Ctrl+a :fit Fit screen size to new terminal size. You can also hit Ctrl+a F for the the same task
Ctrl+a :remove Remove / delete region. You can also hit Ctrl+a X for the same taks
Ctrl+a tab Move to next region
Ctrl+a D (Shift-d) Power detach and logout
Ctrl+a d Detach but keep shell window open
Ctrl-a Ctrl-\ Quit screen
Ctrl-a ? Display help screen i.e. display a list of commands

Ubuntu New User

By polfilm,
sudo useradd -d /home/<username> -s /bin/bash -m <username>
sudo passwd <username>
sudo adduser <username> sudo

Ipa. Change Admin Password

By polfilm,
LDAPTLS_CACERT=/etc/ipa/ca.crt ldappasswd \
           -ZZ -D 'cn=directory manager' -W \
           -S uid=admin,cn=users,cn=accounts,dc=domain,dc=com

or

kadmin.local
Authenticating as principal admin/admin@EXAMPLE.COM with password.
kadmin.local:  change_password admin@EXAMPLE.COM
Enter password for principal "admin@EXAMPLE.COM": 
Re-enter password for principal "admin@EXAMPLE.COM": 

Fedora 20. Set hostname permanently.

By polfilm,

1.Set the hostname in /etc/hostname

2. Edit /etc/cloud/cloud.cfg (which is a YAML file) and set preserve_hostname: true at the toplevel (one can also pass this option in with the user data)

EC2 Demo of MCollective – Puppet Labs

By polfilm,

The Marionette Collective AKA MCollective is a framework to build server orchestration or parallel job execution systems.

We’ve attempted to think out of the box a bit designing this system by not relying on central inventories and tools like SSH, we’re not simply a fancy SSH “for loop.” MCollective use modern tools like Publish Subscribe Middleware and modern philosophies like real time discovery of network resources using meta data and not hostnames. Delivering a very scalable and very fast parallel execution environment.

MirrorBrain

By polfilm,

MirrorBrain is an open source framework to run a content delivery network using mirror servers. It solves a challenge that many popular open source projects face – a flood of download requests, often magnitudes more than any single site could practically handle. Some very popular Open Source projects rely on MirrorBrain.

http://mirrorbrain.org/

Spice

By polfilm,

The Spice project aims to provide a complete open source solution for interaction with virtualized desktop devices.The Spice project deals with both the virtualized devices and the front-end. Interaction between front-end and back-end is done using VD-Interfaces. The VD-Interfaces (VDI) enable both ends of the solution to be easily utilized by a third-party component.

http://spice-space.org/

oVirt

By polfilm,

The virtual datacenter management platform. Provision, manage, and monitor hosts, hypervisors, virtual machines, storage, and network. The oVirt Project is an open virtualization project for anyone who cares about Linux-based KVM virtualization. Providing a feature-rich server virtualization management system with advanced capabilities for hosts and guests, including high availability, live migration, storage management, system scheduler, and more.

http://www.ovirt.org/

Connect with LinkedIn oVirt professionals here:
http://www.linkedin.com/groups?gid=4707460


SolusVM

By polfilm,

Solus Virtual Manager (SolusVM) is a powerful GUI based VPS management system with full OpenVZ, Linux KVM, Xen Paravirtualization and Xen HVM support. SolusVM allows you and your clients to manage a VPS cluster with security & ease.

KVM

By polfilm,

Kernel-based Virtual Machine is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V).

Nimbula

By polfilm,

Private Cloud with Nimbula Director. It is the world’s first general purpose, multi-tenant, self-service collaborative system.