Linux

TwitterFacebook
Get flash to fully experience Pearltrees
http://www.sitepoint.com/ubuntu-12-04-lts-precise-pangolin-networking-tips-and-tricks/

Ubuntu 12.04 LTS Precise Pangolin: Networking tips and tricks

Networking is often regarded to be complicated and very difficult to manage but as it forms an essential role in the day-to-day use of your computer the purpose of this article is to expose a few ‘tips and tricks’ that will serve to improve your computers connectivity and overall performance by showing you how easy it is to take control of Ubuntu 12.04, LTS Precise Pangolin. So let’s get started … What is my local IP address It may be a easy question to begin with, but in a world of complexity it is often the simple questions that get overlooked. Using the graphical tools:
Anyone who’s been using 12.04 over the past month or so may have noticed some pretty significant changes in the way we do DNS resolving in Ubuntu. This is the result of the implementation of: foundations-p-dns-resolving Here is a description of the two big changes that happened: Switch to resolvconf for /etc/resolv.conf management http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/

DNS in Ubuntu 12.04 | Stéphane Graber's website

https://help.ubuntu.com/10.04/serverguide/network-configuration.html

Network Configuration

Ubuntu ships with a number of graphical utilities to configure your network devices. This document is geared toward server administrators and will focus on managing your network on the command line. Ethernet interfaces are identified by the system using the naming convention of ethX , where X represents a numeric value. The first Ethernet interface is typically identified as eth0 , the second as eth1 , and all others should move up in numerical order.
Q . How do I create create a new Linux user account ? How do update or modify default Linux new user information? Using the command prompt (shell) tools, how do I add a user to the system?

Linux Create User Account

http://www.cyberciti.biz/faq/howto-add-new-linux-user-account/

Howto: Linux Add User To Group

H ow can I add a user to a group under Linux operating system? You can use the useradd or usermod commands to add a user to a group. The useradd command creates a new user or update default new user information. The usermod command modifies a user account i.e. it is useful to add user to existing group. There are two types of group. http://www.cyberciti.biz/faq/howto-linux-add-user-to-group/

Grub2

GRUB 2 is the default boot loader and manager for Ubuntu since version 9.10 (Karmic Koala). As the computer starts, GRUB 2 either presents a menu and awaits user input or automatically transfers control to an operating system kernel. GRUB 2 is a descendant of GRUB (GRand Unified Bootloader). It has been completely rewritten to provide the user significantly increased flexibility and performance. https://help.ubuntu.com/community/Grub2
https://help.ubuntu.com/community/KVM/Installation

KVM/Installation

Pre-installation checklist Check that your CPU supports hardware virtualization To run KVM, you need a processor that supports hardware virtualization.

Chapter 13. Running Virtual Machines with qemu-kvm

http://doc.opensuse.org/products/draft/SLES/SLES-kvm_sd_draft/cha.qemu.running.html Chapter 13. Running Virtual Machines with qemu-kvm ¶ Once you have a virtual disk image ready (for more information on disk images, see Section 12.2, “Managing Disk Images with qemu-img ” ), it is time to start the related virtual machine.

OpenVPN

https://help.ubuntu.com/community/OpenVPN OpenVPN is a Virtual Private Networking (VPN) solution provided in the Ubuntu Repositories. It is flexible, reliable and secure. It belongs to the family of SSL/TLS VPN stacks (different from IPSec VPNs). This page refers to the community version of the OpenVPN server. Setup examples are also provided on the OpenVPN community website .
http://www.puddingonline.com/~dave/publications/SSH-with-Keys-HOWTO/document/html/SSH-with-Keys-HOWTO-4.html

SSH with Keys HOWTO: SSH with Keys in a console window

Next Previous Contents 4. SSH with Keys in a console window
Parent page: Internet and Networking >> SSH Once you have installed an OpenSSH server, you will need to configure it by editing the sshd_config file in the /etc/ssh directory. First, make a backup of your sshd_config file by copying it to your home directory, or by making a read-only copy in /etc/ssh by doing:

SSH/OpenSSH/Configuring

scp [-p] [-v] [-r] [[username@]host:] file ... [[username@]host:] file_or_dir Copies files over the network securely; uses ssh for data transfer, using the same authentication and providing the same security as ssh. EXAMPLES of USAGE (The ``.colorado.edu'' isn't necessary if both computers are on the Boulder campus.

scp

What is Secure Copy? scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh . Examples Copy the file "foobar.txt" from a remote host to the local host Copy the file "foobar.txt" from the local host to a remote host

Example syntax for Secure Copy (scp)

Q. I am new to Linux and I would like to know where are the log files located under Debian or Cento OS Linux server? How do I open or view log files?

Linux log files location and how do I view logs files?

Most of the time GUI is not available on remote Linux system, you login over ssh and start to work, if you need to run two or three task at a time, you login over ssh two or three times. However, with screen windows manager utility you can run multiple terminals at the same time from single console login over ssh session (UNIX guru uses the term called multiplexing for this concept). Any seasoned Linux admin should be aware of this nifty tool :) Install screen if it is not installed under Debian Linux Type the following command: # apt-get install screen

How do I Use Multiple Screens on One Terminal over ssh session?