Python writing habits, writing PHP or some not used to it!! Contact us! Enjoy!!This article is from the "Bobo Road" blog, please be sure to keep this source http://shiyiguo.blog.51cto.com/4949751/1900351PHP generates different random keys for the OPS host.
My name is Wang Yongxieng, after 5 months in the old boys education Linux operations class, I must achieve the salary target is 10k, in order to achieve the goal I will take the following major action plan:1, actively listen in class, actively answer questions,2, study time must reach more than 12 hours per day3 to do pre-class preview, after-class summary review,4, every day in strict accordance with the requirements of the teacher must do5, no matter what, can not be late to leave early or abs
My name is Wang Yongxieng, after 5 months in the old boys education Linux operations class, I must achieve the salary target is 10k, in order to achieve the goal I will take the following major action plan:1, actively listen in class, actively answer questions,2, study time must reach more than 12 hours per day3 to do pre-class preview, after-class summary review,4, every day in strict accordance with the requirements of the teacher must do5, no matter what, can not be late to leave early or abs
) process management: (16) BG: Background run FG: Suspend program jobs: Show daemon Kill,killall,pkill: Kill process crontab: Set timing PS: View process Pstree: Show process status Tree top: Show process nice: Change priority nohup: Continue working after the user exits the system pgrep: Find the process that matches the condition Strace: trace the system call of a process ltrace: trace the process call library function Vmstat: Reporting virtual Memory statistics dangerous system commands: MV R
5 self-starting services we need) Crond 0:off 1:off 2:on 3:on 4:on 5:on 6:offNetwork 0:off 1:off 2:on 3:on 4:on 5:on 6:offRsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:offsshd 0:off 1:off 2:off 3:on 4:off 5:off 6:offSysstat 0:off 1:on 2:on 3:on 4:on 5:on 6:offThe 2nd approach is a bit simpler. You can use it flexibly as needed.Set up self-starting services can also be handled through setup and NTSYSV.This article comes from " David 's Linux Operations Learning Blog, be sure to keep this source.This
This section also speaks of user and user group managementOr retry the previous user-limited issueCan be used chage can also use USERADD-EChage-l View the user's time limit and some other informationYou can also use USERMOD-E to set time limits.The old boy here said there are many commands to set up some of the same functionsBut all we have to do is use one of our habits and preferences.You don't have to remember anything.And then speaking of Userdel command,Userdel-r User name to delete home di
This section is mainly about using scripts to build accounts in bulk#/bin/sh #这是脚本使用的命令, we're using the scripting language SH#authur: Arthur #作者#qq: 10000 #这是联系方式For num in ' seq 3 'DoUseradd $suerchars $numPasswd= ' date|md5sum|cut-c3-20 'echo "$passwd" |passwd--stdin $userchars $numEcho-e "User: $userchars $num\tpasswd: $passwd" >>/tmp/user.logSleep 1DoneEcho----------------------------------------Cat/tmp/user.log20161108l04-05 old boy Linux OPS tr
Front User GroupAdd User Group commandGroupaddWe just need to remember some common parameters.Groupadd-g 8888 Syz #添加 GID 888 user GroupView grep syz/etc/group after adding completeThe point is, passwd, this command.Used to change the passwordPasswd-d This is the delete passwordWith passwd This command, root can change any user's password, and is not required to lose the original passwordPassword for other user passwords, and can only change their own passwordPasswd-l lock account, cannot log in
transformation, to the architect or DevOps development, decided to participate in Linux training, eventually chose the old boy education. After the old boy education operation 5 months after learning, hope that their later work involved in some of the technology, such as Web cluster, database, middleware, caching technology have a deeper understanding, and later can find higher salary work, to 20K, I will take the following ten actions:1, Monday-Friday study 2-3 hours, weekend study 4-6 Hours:2
distribution, so that you can more accurately match the problem, you can rest assured that you have encountered the problem, the countless people in front of you have met (willing to share feedback Yimeimei).High-level here is not much to say, the introduction of the introduction, do not disorderly point of the road. Here also want to combine work experience more wordy a few words, said before the DevOps, is also a trend in the future, Linux operations Engineer will no longer be guarding the en
kind of server, there will be an official instruction manual. such as MySQL server building, git server build and so on. Google to the official website in accordance with the tutorial manual step by step (Fq himself to find a ladder, Baidu to the official website also line), basically sorta, of course, there are a lot of users off-the-shelf posts can be directly turned over to see. It is important to note that the Linux version is different, the service installation will be some differences, wh
another scripting language after work, this will be better.The above is to step into the Linux operations engineers need to master the tools, in fact, there are a lot of tools to master, but you in the learning environment is difficult to learn, and finally I would like to remind that the tools here are equivalent to skills, rather than Windows or Ubuntu those graphical tools, those tools useless, and, Learn Linux do not install the graphical interface, so that the virtual machine does not have
First, homework (exercise) content:1. Summarize the detailed usage method of the task plan (at, crontab) on Linux system;2, every Monday to Saturday 3:20 A.M., run the CP command to archive the/etc/directory, storage location is/BACKUPS/ETC-YYYY-MM-DD;3, every Sunday 2:30 A.M., run the CP command to backup the/etc/fstab file, the storage location is/BACKUP/FSTAB-YYYY-MM-DD-HH-MM-SS;4, every night 12 o'clock, get all the lines in the/proc/meminfo file starting with S or M, appended to the/statist
:/sbin/shutdownHalt:x:7:0:halt:/sbin:/sbin/haltBash:x:505:505::/home/bash:/bin/bashNologin:x:508:508::/home/nologin:/sbin/nologin
5. Display the default shell and UID of root, CentOS, or User1 user on the current system (please create these users beforehand, if not present)
[[email protected] ~]$ grep-e ' ^ (root|centos|user1) '/etc/passwd | Cut-d:-f1,3,7Root:0:/bin/bashCentos:509:/bin/bashUser1:510:/bin/bash
6, find a word in the/etc/rc.d/init.d/functions f
First, homework (exercise) content:1, review the contents of this course;2, summarize the Disk Management and file system Management design of the use of various commands, and note certain examples;3, create a 10G file system, type EXT4, require the boot can be automatically mounted to the/mydata directorySecond, completion time:Before September 15, 2015.Third, the way of submission:Please submit your job's post link address in the form of a comment blog. Formats such as:Student number + name ht
commonly used companies.5or0+1, do your own experiments to get out, backup tools have a lot, such astar, dump, rsyncand so on, it's better to know more. speaking of whichTenpoint is enough for you, you should be able to get started, because some techniques can be difficult to learn, such asApacheand theNginxThere are some very important technologies, such as system tuning and service optimization, and program optimization, which are difficult to learn before touching the work, so first put this
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.