environment variable configuration fileworks for all users/etc/profile/etc/profile.d/*.sh/etc/bashrcUser home directory, only works for current users~/.bash_profile~/.bashrcAn explanation of environment variablesstartup process
Normal login
Power off Restart command:shutdown [Options] TimeOptions:-C cancels the previous shutdown command-H shutdown-R RestartExample:Shutdown-r 05:30 & (& indicates background preparation for a specified time restart)#没法远程关机 can be restarted
Introduction to NL commandsThe NL command is used in a Linux system to calculate the line number of a file. NL can automatically add a line number to the output file content! The default result is a bit different from Cat-n, NL can make the line
Introduction to some basic Linux common commands and tipsBibliography: Brother Bird's Linux private cuisineSwitch machineData synchronously written to disk: SyncRestart: Reboot (restart immediately) Shutdown-r now (restart now) Shutdown-r +x
Today, the boss reminds me the production line Kafka own log file accumulated for several months, I found the original Kafka log4j and delete old log.The first reaction is to use the Logrotate function of Linux, and build a file to write
Under the Linux system, reboot Tomcat to operate with commands!First, go to the bin directory under TomcatCd/usr/local/tomcat/binUsing the Tomcat Close command./shutdown.shTo see if Tomcat is shutting downPs-ef|grep JavaIf the following similar
grep is used primarily for text matching-I is case insensitive-N Display number of rows-V does not contain-C count rowseg[Email protected] sjdtest]# ifconfig |grep-i "INET"inet addr:172.17.42.1 bcast:0.0.0.0 mask:255.255.0.0Inet6 addr:fe80::d
Linux basics and shell script basics, linuxshell
1. Install vmware and create virtual machines2. Load the centos6.5 Image3. Introduction to linuxLinux is an operating system (free and open-source) from unix
Linux is a typical tree-like file system.
Step 4 for the Nexus private server to forget the user name and password, step 4 for the nexus Server1. Stop the nexus service.
[Root @ node001 bin] #/usr/local/nexus-2.14.5-02/bin/nexus stop****************************************WARNING-NOT
Attach a new hard disk in Ubuntu
1. display the hard disk and partition information. Enter the following command in the terminal window:
fdisk -lu
You can see the 3 T disk to be mounted.
2Partition the hard disk.Enter the following command in the
Set up a Streaming Media Server in nginx and an nginx Streaming Media Server
1. Install the PCRE LibraryDownload pcre-8.37.tar.gz at www.pcre.org.Tar-zxvf pcre-8.37.tar.gzCd pcre-8.37./ConfigureMakeMake install
2. Install the zlib libraryDownload
Configure the JDK environment in Linux and the linuxjdk Environment
1. Download JDk http://www.oracle.com/technetwork/cn/java/javase/downloads/index.html on the official website if it is a 64-bit operating system, you can download 64-bit or 32-bit
Simple supervisor tutorial,I. What is a supervisor?
Linux background processes run in several ways, such as nohup and screen. However, to run a service program reliably in the background, we need to make it daemon, it is best to monitor the process
Sonarqube Chinese plug-in-Linux [20180105], sonarqube-linuxPreface it is inconvenient to use the Sonarqube English version installed last time. This time, the Chinese language plug-in is installed for Sonarqube. Preparation: Software Download: https:
Linux Command operation instructions, linux Command instructions
1. File Operations
Mkdir: Create folder vi: Create and edit file rm: delete file and folder rm-rf: delete file and folder cd: enter a folder ll: View File ll-: view All files ls:
Install mysql and centosmysql in centOS1. mysql is not available in the centos yum source by default. You need to download the mysql repo source first.
Wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
Rpm-ivh
CentOS: yum Usage Details, centosyum detailsThe yum in CentOS is very powerful. You can use the yum installation software to know that the dependency is automatically resolved and the installation is not on duty.
The installation command is yum
Linux Command: ss Command, linux Command ss
Ss is short for Socket Statistics. As the name suggests, the ss command can be used to obtain socket statistics, which can display content similar to netstat. But the advantage of ss is that it can display
Install YUM source and centosyum source in CentOS 7
CentOS 7 YUM Source
1. Install CentOSIi. Hard Disk partitioningThe Best Partition settings depend on the purpose of the Linux system. The following prompt helps you decide how to allocate your
In CentOS 7, modify the yum source to Alibaba Cloud yum source, centosyumIn China, due to the existence of GFW (Fire Great Wall), the first thing we need to do when installing a linux system is to modify the default yum source, ubuntu automatically
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