c lessons free

Learn about c lessons free, we have the largest and most updated c lessons free information on alibabacloud.com

Linux study notes 14 weeks four lessons (May 14)

Firewalld#systemctl Disable FIREWALLD#iptables NVLClose the service process with the command #/usr/local/tomcat/bin/shutdown.shExtendedJava Container comparison http://my.oschina.net/diedai/blog/271367Http://www.360doc.com/content/11/0618/21/16915_127901371.shtmlRelationship between Java EE, J2SE, EJB, JavaBean, Serverlet, JSP http://bbs.csdn.net/topics/50015576Tomcat Server.xml Configuration Detailed http://blog.csdn.net/yuanxuegui2008/article/details/6056754Tomcat Common Database connection m

Linux study notes 14 weeks three lessons (May 11)

Tags: xftp pure-ftpd15.4 Xshell using XFTP to transfer filesDownload xftp software from www.netsarang.com websiteor, xftp:http://pan.baidu.com/s/1eSMSLN0 Password: 8os4Installing the XFTP software in the Windows7 system,Centos7 Turn off VSFTPD service #systemctl stop vsftpdcentos7 View Port #netstat-lntpIn the CENTOS7 system, press Ctrl+alt+f to eject the following File Transfer dialog box, and select the file to be dragged to the corresponding system to copy the transfer file.15.5 using PURE-FT

Linux study notes 14 weeks two lessons (May 10)

=600data_connection_timeout=120max_clients=10Create a user home directory, #mkdir/home/virftp/testuser1Create file, #touch/home/virftp/testuser1/aming,txtModify permissions, #chown-R virftp:virftp/home/virftpCustom password file path, #vim/etc/pam.d/vsftpdAuth sufficient/lib64/security/pam_userdb.so Db=/etc/vsftpd/vsftpd_loginAccount Sufficient/lib64/security/pam_userdb.so Db=/etc/vsftpd/vsftpd_loginEdit the configuration file, #vim/etc/vsftpd/vsftpd.confAnonymous_enable=noAnon_upload_enable=noA

2018-1-3 4 weeks 2 lessons VIM

spaces (n is any number) move n characters like rightctrl+f or PageUp The screen moves forward one pagectrl+b or PageDown The screen moves backward one pagenumber 0 or shift+6 (^) move to the beginning of the bankshift+4 ($) move to the end of our lineGG move to First lineG or Shift+g move to Tail lineNG (n is any number) move to Nth rowAt the bottom right, you'll be prompted where the cursor is at the first line, the charactergame familiar with vim move cursor: https://vim-adventures.com/

Linux study notes 12 weeks two lessons (April 24)

-X127.0.0.1:80 test.com/admin///prompt 401 user request12.9 Nginx Domain Redirectionvim/usr/local/nginx/conf/vhost/test.com.conf//Modify to the following content----------------------------------------------------------------Server{Listen 80;server_name test.com test1.com test2.com;Index index.html index.htm index.php;root/data/wwwroot/test.com;if ($host! = ' test.com ') {Rewrite ^/(. *) $ http://test.com/$1 permanent;}Location ~ admin.php{auth_basic "auth";AUTH_BASIC_USER_FILE/USR/LOCAL/NGINX/C

Linux Study notes eight week three lessons (March 28)

10.32/10.33 rsync via service syncShut down the firewall, #systemctl stop FIREWALLDView iptables rules, #iptables-NVLTest whether the remote host 873 port is turned on, #telnet 192.168.133.130 873If rsync is changed to a different port, such as 8730, the command is #rsync-avlp--port 8730 192.168.133.130::test//tmp/test/10.34 Linux system logsLogrotate Cutting log files,Last view normal log in log;LASTB View login failure log;Security log/var/log/secure;10.35 Screen ToolVirtual Screen Screens-S c

Linux Eight week two lessons (March 27)

Tags: Linux notesEight weeks two sessions (March 27)10.28 Rsync Tools Introduction10.29/10.30 rsync Common Options10.31 rsync sync via sshThe native a directory to B directory at a small time just added a file. Either find the file, or cover the B, and read and write a waste of time. You can synchronize the updated file with Rsync. A machine to B machine can also be synchronized.This machine rsyncA machine to B machine10.29 rsync Common Options--DELETE:A Machine 123 Synchronization B machine 123

Linux Seven week four lessons (March 22)

Ping does not pass 192.168.100.1 and 192.168.100.100To view the gateway, run the following command.No gatewaysSet the gateway and run the following command.Can ping throughSet up DNS. 119.29.29.29 is a public DNS.Can ping the DNS, you can ping the outside network.Only 1 IPCannot ping pass.A machine equivalent to a router, B machine equivalent to a router phone, computer, can now be networked.10.18 iptables NAT Table ApplicationWindows cannot ping through 192.168.100.100Each operation needs to b

Linux Seven week three lessons (March 21) Notes

command. Clear the rules, save no use.Restart the service and load it back.Zeroing the calculatorI wrote a monitoring script and found that IP had a field that dropped the IP. Review the rules if the number of packets does not exceed 100. can be solved by sealing off. The number through the first column. Recalculate after 30 minutes.After the data came, said not to say, directly kicked off.After the data came, say, can't come in.The usage of-I. -I is inserted, metaphorically queued, inserted to

2018-4-18 17 weeks 1 lessons Shell logic judgment, File directory attribute judgment, if, case

8sdafasdf ' ++echo8sdafasdf++sed ' s/[0-9]//g ' +n1=sdafasdf+ ' [' -n sdafasdf '] ' +echo ' Pleaseinputanumber. ' Pleaseinputanumber.+exit1[[email protected]shell]#sh-xcase.sh+read-p ' Pleaseinputa number: ' nPleaseinputanumber:123 # #输入一个大于100的数字 + ' [' -z123 ' ++echo123++sed ' s/[0-9]//g ' +n1=+ ' [' -n ' ' ' + ' [' 123-lt60 '] ' + ' [' 123-ge60 '] ' + ' [ ' 123-lt80 ' ' + ' [' 123-ge80 '] ' + ' [' 123-lt 90 ' + ' [' 123-ge90 '] ' + ' [' 123-le100 '] ' + tag=0+case $tag in+echo ' thenumberra

2018-1-11 5 weeks 4 Lessons Pipeline character, job control, shell variable, environment variable configuration

exitingVariable PS1 definition prompt, modified under/ETC/BASHRC[[email protected] ~]# echo $PS 1[\[email protected]\h \w]\$ # #如果将W换成w, then the path will become an absolute path [[email protected] ~]#PS1 = ' [\[email protected]\h \w]\$ ' [[email protected] ~] #cd/tmp/d6z/[[email protected]/tmp/d6z] #PS1 = ' [\[email Protected]\h \w]\$ ' [[email protected] d6z]#can be set with color displayps1= ' \[\033[01;32m\]\[email protected]\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '2018-1-11 5 weeks

Linux Study notes seven week three lessons (March 21)

10.11 Linux Network relatedIfconfig-a can display the disabled or down network card;Start the network card #ifup ens33; Disable the network card #ifdown Ens33;Nic configuration file/etc/sysconfig/network-script/ifcfg-ens33Copy Create virtual network adapter profile, #cd /etc/sysconfig/network-script/#cp Ifcfg-ens33 ifcfg-ens33\:0#vi!$10.12 Firewalld and NetFilterGetenforce View firewall status;10.13 NETFILTER5 Table 5 Chain IntroductionView NetFilter instructions, #man netfilter;10.14 iptables S

Experience and lessons on using MongoDB Connector for Hadoop

connect the MONGO from the library. (2) When deleting the MONGO table in hive, remove the jar package configuration in Hive-site.xml, and after disconnecting the Hive table from the MONGO, be careful! If you keep driving and drop directly, the table data in the MONGO will be drop. The most important thing is that your ops should do the right configuration of MongoDB in advance and give read-only permission to prevent misoperation. (3) in general, as long as the configuration is good, this plu

Linux and Security Knot lessons--Summary

This class, this semester we have only one of the three departments of this course, many many many students say why you have to choose this course. Parents also say, why don't you come with the crowd. Someone asked me before, whether regrets chose such a class, I said, regret. This course, which requires self-study and my student work, almost fills my own leisurely junior. Said regret that Thursday, I still for Lou big exam struggle, scratching the scalp, bite broken fingers, restless. Now, this

Linux Seven week five lessons (March 23)

Tags: LinuxSeven weeks Five sessions (March 23)10.19 iptables Regular backup and recovery10.20 Firewalld 9 Zone10.21 Firewalld About zone operation10.22 Firewalld about service operations10.19 iptables Regular backup and recoveryBackup, command as followsIptables rules can be backed up to other files, and the file name can be taken by itself.Only the rules for NAT.There are no rules in this tableBack up the rules just nowIf you want to restart, load, you need to put in the configuration file, to

Lessons learned from the practice of intrusion

Shopping cart open source. This is a mall system. 2. At the bottom of the website, there is a comersus Open Technologies LC. Open to see the ~~comersus system ~ guessed, Comersus.mdb. Database name database is placed after the database/, so Database/comersus.mdb comersus_listcategoriestree.asp replaced Database/comersus.mdb, cannot download. Then remove the former ' store/' and add Database/comersus.mdb to try34. The official site of the legendary worry-fre

Linux mistakenly deleted file lessons, a fall into your wit

the data has been mistakenly deleted, the first thing to do is to unload the partition of the deleted data, if the data of the root partition is mistakenly deleted, you need to enter the system into single user mode, and the root partition is mounted in read-only mode. Since the file is deleted, only the sector pointer in the Inode node of the file is zeroed out, the actual file is also stored on disk, and if the disk continues to mount in read-write mode, the data blocks of these deleted file

Python Full-site development (45-51 lessons)

While loopThe process is as followsWhile condition:code blockKey words1 break is used to end the sequence, the following code is not executing2 Continue is used to jump out of this sequentialExample output 1-100 or less all positive integersThe code is as followsS1 = 1While True:Print (S1)if S1 = = 100:BreakS1 + = 1Example of cumulative sum of output 1-100Analysis, 1 now implements a positive integer of output 1-100B1 = 0S1 = 1While True:Print (S1)B1 = B1 + S1if S1 = = 100:BreakS1 + = 1Print (B1

Linux Learning and lessons

=" Http://s1.51cto.com/wyfs02/M00/89/21/wKioL1gIw6Chq1kGAAD7pY2B3No086.jpg-wh_500x0-wm_3 -wmp_4-s_1235337174.jpg "Title=" mount. JPG "alt=" Wkiol1giw6chq1kgaad7py2b3no086.jpg-wh_50 "/>Then enter the rescue mode, found that the rescue mode will not enter.650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/89/21/wKioL1gIw-XgbK5wAADA8r-78zg027.jpg-wh_500x0-wm_3 -wmp_4-s_2478663793.jpg "title=" output. JPG "alt=" Wkiol1giw-xgbk5waada8r-78zg027.jpg-wh_50 "/>The whole place, feel the collapse,

Little Turtle Python course after 18 lessons

Write a function that meets the following requirements:A) Calculates the result of printing all parameters and multiplying the cardinality (base=3)b) If the last argument in the parameter is (base=5), the cardinality is set to 5, and the cardinality does not participate in the sum calculation.#-*-Coding Utf-8-*-def results (*i): sum=0 for J in I: sum + = J if I[len (i) -1]==5: c10/>sum= (sum-5) sum*=5 else: sum*=3 return Sumprint (results (1,2,3,4,5)) Little Turtle Python cou

Total Pages: 15 1 .... 10 11 12 13 14 15 Go to: Go

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.