Search Results for: linux

Create your own video streaming server with Linux

Create your own video streaming server with Linux Set up a basic live streaming server on a Linux or BSD operating system. 08 Jan 2019 Aaron J. Prisk Feed  240 up 17 comments Image by : Opensource.com Live video streaming is incredibly popular—and it’s still growing. Platforms like Amazon’s Twitch and Google’s YouTube boast millions of users that stream and consume countless hours of live and recorded media. These services are often free to use but require you to have an account…

Read More Read More

Red Hat 7 – Integrating Linux Systems with Active Directory Environments

Windows Integration Guide – Red Hat Enterprise Linux 7 Integrating Linux Systems with Active Directory Environments Abstract Heterogeneous IT environments often contain various different domains and operating systems that need to be able to seamlessly communicate. Red Hat Enterprise Linux offers multiple ways to tightly integrate Linux domains with Active Directory (AD) on Microsoft Windows. The integration is possible on different domain objects that include users, groups, services, or systems. This guide also covers different integration scenarios, ranging from lightweight AD pass-through…

Read More Read More

Installing PowerShell on Linux

CentOS 7 This package also works on Oracle Linux 7. Installation via Package Repository (preferred) – CentOS 7 PowerShell Core for Linux is published to official Microsoft repositories for easy installation (and updates). # Register the Microsoft RedHat repository curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo # Install PowerShell sudo yum install -y powershell # Start PowerShell powershell After registering the Microsoft repository once as superuser, you just need to use sudo yum update powershell to update PowerShell. Installation via Direct…

Read More Read More

DOSify Linux – Linux Alias (How make Linux less stupid) mkdir, rmdir …

Why would Linux people make commands longer than the Windows people ? How to fix it in Linux: alias dir=”ls” alias copy=”cp” alias rename=”mv” alias md=”mkdir” alias rd=”rmdir” alias del=”rm -i”   More Information About Alias:   The alias Command   The alias command makes it possible to launch any command or group of commands (inclusive of any options, arguments and redirection) by entering a pre-set string (i.e., sequence of characters).That is, it allows a user to create simple names…

Read More Read More

Learning Linux

Website Training: https://linuxjourney.com/ https://training.linuxfoundation.org/free-linux-training http://www.tecmint.com/free-online-linux-learning-guide-for-beginners/ YouTube Introduction Training: (it is better to just do it rather than watch the video) https://www.youtube.com/watch?v=9t_gJWC32zk Free eBooks: http://www.rickyadams.com/wp/wp-content/uploads/2017/05/linuxfun.pdf http://www.rickyadams.com/wp/wp-content/uploads/2017/05/Introduction-to-Linux-Hands-On.pdf http://www.rickyadams.com/wp/wp-content/uploads/2017/05/Linux-Advanced-Administration.pdf Online Resources: http://www.rickyadams.com/wp/index.php/linux/ http://www.rickyadams.com/wp/?s=linux https://en.wikibooks.org/wiki/LPI_Linux_Certification http://linuxreviews.org/

Linux Processes

My Favorites: ps, pgrep, pkill How to Manage Processes from the Linux Terminal: 10 Commands You Need to Know The Linux terminal has a number of useful commands that can display running processes, kill them, and change their priority level. This post lists the classic, traditional commands, as well as some more useful, modern ones. Many of the commands here perform a single function and can be combined — that’s the Unix philosophy of designing programs. Other programs, like htop,…

Read More Read More

How to setup cifs mounts in autofs using kerberos authentication on RedHat Linux

How to setup cifs mounts in autofs using kerberos authentication Solution Verified – Updated March 6 2017 at 2:24 AM – English No translations currently exist. Environment Red Hat Enterprise Linux 6 Please Note: Kerberos support for CIFS mounts is considered Tech Preview in Red Hat Enterprise Linux 5. See 5.8 Technical Notes for more information. Issue How to setup cifs mounts in autofs using kerberos authentication? Configuration for authentication to cifs shares with a kerberos ticket. Resolution using sssd…

Read More Read More

Linux CIFS AutoFS (automount) using Kerberos Authentication and kinit

Setup Linux CIFS AutoFS (automount) using kerberos authentication March 5, 2015 ~ tatroc2015 Written using CentOS 6, Windows 2012 Active Directory This guide was written assuming you already have Kerberos authentication working. In this post I will describe how to mount a Windows CIFS share from a Linux system using Kerberos authentication to a Windows Active Directory domain. In addition, the users credentials will be stored securely in a keytab file. Step 1. verify you can get a Kerberos ticket kinit…

Read More Read More

Linux CHMOD File Permissions Decoded from the 1980s

Linux File Permissions In Ubuntu / Linux everything is a file, so everything will have permissions also. File permissions define which user or system accounts have permissions to read, write, and execute specific files. These read, write, and execute permissions are defined for: user the user that owns the file group users in the files group other every other user There are also three other components when it comes to file mode bits, namely the setuid bit, the setgid bit,…

Read More Read More

Linux TarBall Create and Extract

Create a TarBall File tar -zcvf archive-name.tar.gz directory-name Where, -z : Compress archive using gzip program -c: Create archive -v: Verbose i.e display progress while creating archive -f: Archive File name For example, say you have a directory called /home/jerry/prog and you would like to compress this directory then you can type tar command as follows: $ tar -zcvf prog-1-jan-2005.tar.gz /home/jerry/prog Above command will create an archive file called prog-1-jan-2005.tar.gz in current directory. If you wish to restore your archive…

Read More Read More

KVM Installation on Linux

KVM/Installation  Reference: https://help.ubuntu.com/community/KVM KVM Introduction   Ubuntu uses KVM as the back-end virtualization technology primarily for non-graphic servers and libvirt as its toolkit/API. Libvirt front ends for managing VMs include virt-manager (GUI) or virsh (CLI). Alternative management options include convirt (GUI) or convirt2 (WWW). Documentation   Installation – Installation and removal of KVM Networking – Network configuration; includes bridging Guest Creation – Creation of different kinds of guests Guest Management – Management of guests; command line or graphically Guest Console…

Read More Read More

Installing VMtools Linux Server with only a command line interface

Installing VMtools Linux (Ubuntu) Server with only a command line interface Go to Virtual Machine > Install VMware Tools (or VM > Install VMware Tools).Note: If you are running the light version of Fusion, or a version of Workstation without VMware Tools, or VMware Player, you are prompted to download the Tools before they can be installed. Click Download Now to begin the download. In the Ubuntu guest, run these commands: Run this command to create a directory to mount…

Read More Read More

How To Setup SSH Keys on a Linux System

How To Setup SSH Keys on a Linux / Unix System by Vivek Gite on March 9, 2014 last updated October 20, 2016 in CentOS, Cryptography, Debian / Ubuntu, Linux, Openbsd, RedHat and Friends, UNIX I recently read that SSH keys provide a secure way of logging into a Linux and Unix-based server. How do I set up SSH keys on a Linux or Unix based systems? In SSH for Linux/Unix, how do I set up public key authentication? I…

Read More Read More

Using the vi Text Editor in Linux

How do I use the vi text editor? The vi text editor has three modes: command mode, input mode, and ex mode. Command mode When starting, vi begins in command mode. If you are ever unsure which mode you’re in, press Esc to return to command mode. In command mode, you can move around with the arrow keys, or by using the vi movement keys, as follows: h left j down k up l right Several vi commands are listed…

Read More Read More

Mounting NFS Volumes in Linux using mount or /etc/fstab

What a Linux hodge-podge… Command Line approach 19.2. NFS Client Configuration NFS shares are mounted on the client side using the mount command. The format of the command is as follows: mount -t <nfs-type> -o <options><host>:</remote/export></local/directory> Replace <nfs-type> with either nfs for NFSv2 or NFSv3 servers, or nfs4 for NFSv4 servers. Replace <options> with a comma separated list of options for the NFS file system (refer to Section 19.4, “Common NFS Mount Options” for details). Replace <host> with the remote host, </remote/export>…

Read More Read More

Configuring Linux Samba (SMB) – How to Setup Samba (Linux Windows File Sharing)

Configuring Linux Samba (SMB) – How to Setup Samba (Linux Windows File Sharing) Resource sharing, like file systems and printers, in Microsoft Windows systems, is accomplished using a protocol called the Server Message Block or SMB. For working with such shared resources over a network consisting of Windows systems, an RHEL system must support SMB. The technology used for this is called SAMBA. This provides integration between the Windows and Linux systems. In addition, this is used to provide folder…

Read More Read More

Linux VI Command Editor

Starting and Ending VI Starting VI vi filename Edits filename vi -r filename Edits last save version of filename after a crash vi + n filename Edits filename and places curser at line n vi + filename Edits filename and places curser on last line vi +/string filename Edits filename and places curser on first occurance of string vi filename file2 … Edits filename, then edits file2 … After the save, use :n Ending VI ZZ or :wq or 😡…

Read More Read More

Docker on Red Hat Enterprise Linux

Red Hat Enterprise Linux Docker is supported on Red Hat Enterprise Linux 7. This page instructs you to install using Docker-managed release packages and installation mechanisms. Using these packages ensures you get the latest release of Docker. If you wish to install using Red Hat-managed packages, consult your Red Hat release documentation for information on Red Hat’s Docker support. Prerequisites Docker requires a 64-bit installation regardless of your Red Hat version. Docker requires that your kernel must be 3.10 at…

Read More Read More

Linux CHMOD File Permission Secret Coding from the 1970s

CHEATER CALCULATOR — > http://chmod-calculator.com/ chmod owner|group|world filename Numeric equivalents (octal) based on the table below: 4 read (r) 2 write (w) 1 execute (x) Practical Examples: chmod 400 mydoc.txt read by owner chmod 040 mydoc.txt read by group chmod 004 mydoc.txt read by everyone chmod 200 mydoc.txt write by owner chmod 020 mydoc.txt write by group chmod 002 mydoc.txt write by everyone chmod 100 mydoc.txt execute by owner chmod 010 mydoc.txt execute by group chmod 001 mydoc.txt execute by…

Read More Read More