ObjectiveIn the blog--"VirtualBox install CentOS, and build Tomcat, talking about the build tomcat under the CentOS environment, found that starting Tomcat is not so convenient, if you forget the path, then more trouble!" Of course, forget the path
LinuxBulk Management Server Gadgets--psshFirst, IntroductionPssh--Parallel SSH programPSSH is a program for executing SSH in parallel on a number of hosts. It provides features such as sending input to all of the processes, passing a password to
Linux runs 7 levels of file path/etc/inittab# 0-halt (do not set Initdefault to this)# 1-single User Mode (when you forget the root password, you can enter this mode to modify)# 2-multiuser, without NFS (the same as 3, if you don't have networking)#
Basic principles of Linux:1, the file is relatively small, single function, a large system needs to combine a number of small programs.2, all documents.3, plain text configuration.CLI Interface: command-line interface. Provided by the shell, the
FHS (Filesystem Hierarchy Standard)Boot/boot system-related files such as kernel Vmlinuz, INITRD, and Grub/dev Device file, access entry for device, device number (main device number major and secondary device number minor)IO device is divided into:
Basic effects for Linux file systems1 file names are strictly case sensitive2 All files are attributed to the root directory3 path with/as delimiter4 The name of each file can be any character except/other, with a single name up to 255 characters
Configure network connection for CentOS7minimal
After installing minimal of CentOS 7 in Virtual Box, the first thing is to set network access.
First, run the nmtui command to enter Network Manager, as shown below:
Select Edit a connection to
CentOS7 modify Nic namePort naming rules for CentOS7
Nic ports before CentOS6/RHEL6 are named eth *After CentOS7/RHEL7, the gigabit network port is emN or enp * (N = integer), and The 10-Gigabit network port is p1p2.
Steps for modifying the mode
Check the number of physical CPUs, cores, and logical CPUs in CentOS.
I. First, we need to clarify the concept of the number of physical CPUs, the number of cores, and the number of logical CPUs.
1. Number of physical CPUs: the number of CPUs
Install VMware Workstation12 in CentOS7
Compared with virtualbox, VMware is inferior to virtualbox in terms of stability and compatibility due to the feature of closed-source, but because I used VMware as my previous virtual machines, I tried to
Install VNC_seerver in CentOS 6.41. Install VNCBy default, the CentOS 6.4 is not installed.Check for installation. Enter:[Root @ localhost ~] # Rpm-q vnc-serverGet:Package vnc is not installedIf the prompt is not installed, start the installation.
Notes for first-time CentOS Learning
1. Linux is case sensitive
2. All content in Linux is saved as files, including hardware
Hard Disk File/dev/sd [a-p]
CD files/dev/sr0
3. Linux does not rely on extensions to differentiate file types, but we often
Install ZooKeeper in CentOS 6.7Environment: CentOS 6.7, jdk 1.7.0 _ 51, ZooKeeper 3.4.6 (optional) create a new user
Generally, I tend to install the daemon process, the program that provides external services, that is, the server-class Program,
Centos7 change default startup mode
Today, a graphic interface for centos7 was installed, but it was found that the default startup mode cannot be changed to the command line mode in the previous method.
Previous method: Modify id: 3: initdefault
Cacti for CentO monitoring and Installation
1, CactiMonitoring Introduction
Cacti is a set of network traffic monitoring graphical analysis tools developed based on PHP, MySQL, SNMP and RRDTool.
Cacti is a software implemented in php. Its main
Centos7.x set nginx to start automatically
Take nginx as an example:
Assume that the nginx service has been compiled and installed, and the startup script is stored under/etc/init. d. The script is named nginx and can be modified to the executable
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service