powershell lessons

Want to know powershell lessons? we have a huge selection of powershell lessons information on alibabacloud.com

Related Tags:

2018-4-2 15 weeks 1 lessons MySQL master-slave configuration

different for replication to work.Check whether the/data/mysql/auto.cnf uuid of the master and slave server is the same, if you delete one and restart the server again, the change master operation from server MySQL will succeed. 17.5 testing master-Slave synchronizationDefined in MY.CNF: can be in the Lord, or in theOn the primary serverbinlog-do-db=//Synchronize only the specified libraries, multiple can be used, to splitbinlog-ignore-db=//Ignore specified libraryFrom the serverre

Two small lessons about MongoDB API

written by C + + programs, the Java program can be fetching read, and vice versa.Toss half a day after finding the reason: the Java API reads with the DOC.GETXXXX (String) method, regardless of the order.mongocursor collection.find (docfilter). iterator (); while (Cursor.hasnext ()) { = cursor.next (); // reading order does not matter int col2 = Doc.getinteger ("COL2"). Intvalue (); long col3 = Doc.getlong ("COL3"). Longvalue ();

Lessons learned from the Qlikview loads the data from DB to QVD files

"End_date_active", "Sales_office_ CODE ", " Sales_office_name ", " Sales_region_code ", "Sales_region_name", "salesrep_id", "Salesrep_name", "Salesrep_number"; SQL Select "End_date_active", "Sales_office_code", "Sales_office_ NAME ", " Sales_region_code ", " Sales_region_name ", "salesrep_id", "Salesrep_name", "Salesrep_number" from Dw.dbo. " Bi_salesreps "; STORE bi_salesreps into D:\QLIKVIEW_QVD_NEWDW\DW\BI_SALESREPS.QVD (QVD); drop table bi_salesreps; Bi_

Linux study notes 12 weeks Five lessons (April 27)

-------------------------------------------------------------------------./configure--prefix-/usr/local/nginx--with-http_ssl_moduleMakeMake install/USR/LOCAL/NGINX/SBIN/NGINX-V//View configuration information/usr/local/nginx/sbin/nginx-t/etc/init.d/nginx Restart//Restart service-------------------------------------------------------------------------NETSTAT-LNTP//view listening port 443Mkdir/data/wwwroot/aming.comecho "SSL test page." >/data/wwwroot/aming.com/index.htmlEdit hosts, add 127.0.0.1

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 two lessons (March 20)

10.6 Monitoring IO PerformanceIostat and SAR belong to the same installation package; view disk usage;Iotop command, install #yum install-y iotop10.7 Free CommandFree to view memory usage10.8 PS CommandPS static view process status, top is the dynamic display process status;PS aux and ps-elf view process effect is similar;10.9 Viewing network status-l,listen monitoring;LNUTP, view only TCP and UDP;Established the number of concurrent connections, generally less than 1000, more than two thousand

Linux Seven week two lessons (March 20) Notes

Tags: Linux notesSeven weeks two sessions (March 20)10.6 Monitoring IO Performance10.7 Free Command10.8 PS Command10.9 Viewing network status10.10 Linux under Grab BagExtended TCP three-time handshake four times wave http://www.doc88.com/p-9913773324388.htmlTshark several usages: http://www.aminglinux.com/bbs/thread-995-1-1.htmlInstalling the package Sysstat will install the Iostat. And SAR are the same package.%util is the percentage of waiting IO. The hard disk can affect the performance of th

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 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

Total Pages: 15 1 .... 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.