Environment variable profile
When the environment variable is written to the configuration file, it still takes effect after restarting the machine
1. Location of environmental variables
Following are the default configuration files for five types of storage environment variables
The environment variables stored in / etc/profile / etc/profile.d/*.sh and / etc/bashrc ...
Posted by robbyc on Tue, 09 Jul 2019 12:50:08 -0700
ROS One-Click Deployment of Spark Distributed Cluster
Apache Spark is a fast and versatile computing engine designed for large-scale data processing. It can perform a wide range of operations, including SQL queries, text processing, machine learning, etc. Before the advent of Spark, we generally needed to learn a variety of engines to handle these requirements separately.The main purpose of this a ...
Posted by scottb1 on Mon, 08 Jul 2019 09:48:51 -0700
Teenagers, it's time to deploy your php code in a more elegant way
Let's recall how you released your code last time:
1. First, back up the online code with ftp
2. Upload modified files
3. Test whether the function is normal.
4. The website is 500. Replace it with a backup as soon as possible.
5. The replacement is wrong/the replacement is missing.
6. A successful server release
7. Log on to each station to pe ...
Posted by jordanwb on Sat, 06 Jul 2019 19:11:39 -0700
Getting started with git -- other common commands (config, cherry-pick)
1. git config (self not verified on organized web)
The git config configuration file used to configure git has three locations corresponding to different overrides.
(1), /etc/gitconfig file:
Include values that apply to all users and libraries of the system.If the parameter option'--system'is passed to git config, it will explicitly ...
Posted by HGeneAnthony on Sat, 06 Jul 2019 10:05:10 -0700
Ansible Automation Operations and Maintenance Tool
1. Ansible architecture
Ansible's help documentation:http://www.ansible.com.cn/index.html
2. Introduction to YAML Language
Basic Rules
All members of the list (list, [,,,...]) begin with the same indentation level and begin with "-". Requirements - A space must be followed.
- apple
- banana
- orange
- pear
Corresponding python outp ...
Posted by tanju on Tue, 02 Jul 2019 10:54:00 -0700
zabbix remote command configuration
1. zabbix remote command:1.1 Function: Restart service; Restart the server through IPMI interface. Functions that any custom script can accomplish: cleaning disk space, virtual machine instance migration, etc.1.2 Related attributes: Tatget list: The target ho ...
Posted by 7khat on Mon, 01 Jul 2019 13:29:35 -0700
last command of ubuntu to view system login information
Learn about last command and its data source under linux
last
Data sources: / var/log/wtmp (default record of login times and duration per user, etc.) and / var/log/btmp (details, including login failure requests)Data source format: binary (read through dump-utmp command)
Last [-adRx][-f][-n] [Account Name...] [Terminal Number...]
Fig ...
Posted by ScubaDvr2 on Sun, 30 Jun 2019 18:01:53 -0700
Doker Tutorial - Mirror Operations
More commands are available on the official website: https://docs.docker.com/engine/reference/commandline/docker/
View the current image list
docker image ls [OPTIONS] [REPOSITORY[:TAG]]
List images
Aliases:
ls, images, list
Options:
-a, --all Show all images (default hides intermediate images)
--digests ...
Posted by pcjackson06 on Thu, 27 Jun 2019 10:17:06 -0700
Learning Notes: CentOS 7 Learning Seventeenth: Linux Scheduled Tasks and Log Management
Catalog
Learning Notes: CentOS 7 Learning Seventeenth: Linux Scheduled Tasks and Log Management
17.1 Planned Task-at-cron-Planned Task Usage Method
17.1.1 Utilization of at Planned Tasks
17.1.2 View and delete planned tasks to be performed by at
17.1.3 Use of Crontab Timing Tasks
Introduction of 17.1 ...
Posted by GameYin on Mon, 24 Jun 2019 10:56:27 -0700
Linux special permission set_uid
Special permission set_uidBy default, under the newly installed Linux system, only one command has set_uid special privileges.Commands (files) with s privileges: To ensure that non-owner users have temporary ownership when using this command; set_uid special privileges for a file, provided that the file is an executable binary file (usually wit ...
Posted by dkjohnson on Sun, 23 Jun 2019 16:25:05 -0700