. Specific practices are as follows(1) First shut down the virtual machine's iptables command chkconfig iptables off/on shut down and turn on service iptables stop/service iptables start stop and open I was using the back This (2) Setting up the virtual machine's network because we are the NAT mode need to do the following first shut down the Windows Firewall, and then click on the virtual machine edit-"Virtual network editor-" Check VMnet-8 Click Set NAT Settings--"Add port mappingI set up 2 po
1. Download Spark, unzip2. Copy conf/spark-env.sh and Conf/log4j.propertiesCP spark-env. sh. Template spark-env. SH CP Log4j.properties.template log4j.properties3, edit spark-env.sh, set spark_local_ip,docker-1 as hostname, corresponding IP is 10.10.20.204Export spark_local_ip=docker-14, run example, execute the following commandBin/run-example Org.apache.spark.examples.SparkPi5. Start the shellBin/spark-shell6. Visit ui,http://10.10.20.204:4040Spark stand
Installing the JDK in a 1.ubantu environmentMy JDK is installed in the/HOME/FUQIANG/JAVA/JVM directory, Scala,spark is in this directory, mainly the settings of the JDK environment variable$ sudo gedit/etc/profileAt the very end of the document, addExport java_home=/home/fuqiang/java/jvm/jdk1.7.0_79Export classpath=.: $JAVA _home/lib: $JAVA _home/jre/lib: $CLASSPATHExport path= $JAVA _home/bin: $JAVA _home/jre/bin: $PATHJDK environment variable configuration completedConsole input$ source/etc/pr
sbin/start-yarn.sh
3. VerificationAfter you start yarn, enter
http://localhost:8088/
You can see the following interfaceNext article hadoop2.7 run WordCountEncounter problemsQuestion 1:
error:could not find or Load main class
Org.apache.hadoop.hdfs.server.namenode.NameNode
Workaround:Add in ~/hadoop-2.7.0/etc/hadoop/hadoop-env.sh
Export hadoop_common_home=~/hadoop-2.7.0
Restart takes effectQuestion 2:Formatted Java_home not found
B
, Add at the end: Export Java_home= ....e xport hadoop_home= ...7. Enter the conf directory under the Hive installation directory , according to hive-default.xml.template Copy out two files : C P hive-default.xml.template hive-default.xmlC P hive-default.xml.template hive-site.xml8. Configure hive-site.xml: Hive.metastore.warehouse.dir Hive.exec.scratchdir Javax.jdo.option.ConnectionURL Javax.jdo.option.ConnectionDriverName Javax.jdo.option.ConnectionUserName Javax.jdo.option.Connectio
ROCKETMQ is the Alibaba open source message queue.This article is using the open source version v3.18System: centos6.x Minimized installationRequired Packages:Jdk-7u67-linux-x64.tar.gzAlibaba-rocketmq-3.1.8.tar.gzStart installation#tarxvfjdk-7u67-linux-x64.tar.gz-C/opt/#tarxvfalibaba-rocketmq-3.1.8.tar.gz-C/opt/#ln-s/opt/jdk1.7.0_67/opt/jdkConfiguring Environment variablesLast added in/etc/profileexportJAVA_HOME=/opt/jdkexportROCKETMQ_HOME=/opt/alibaba-rocketmqexportPATH=$JAVA_HOME/bin:$ROCKETMQ
Management (InMain.txt)Field name and order4, Purchase details management (InDetail.txt)Field name and order5. Sales Management (OutMain.txt)Field name and order6. Sales Detail Management (OutDetail.txt)Field name and order7. Inventory Management (Stock.txt)Field name and orderSubcontracting of projectsFirst layer: According to the module sub-User module, book, Purchase (in), Sales (out), Inventory (store)Second layer: According to the three-layer modePresentation layer (UI), logical layer (bus
Ext.: http://dockone.io/article/950OverviewThis article is mainly about how to install Kubernetes on the Ubuntu system, there are many related articles on the network, the feeling is not very clear, here I will own installation practice to provide you with a guide, easy to build kubernetes environment, rapid development.Installation Preparation1 Installing DockerCurl-s https://get.docker.io/ubuntu/| sudo sh2 Installing ETCDPlease download Etcd 2.2.2 from Baidu Cloud Http://pan.baidu.com/s/1eQKaT
://msmirrors.blob.core.chinacloudapi.cn/single-lamp/install_single_lamp_SLES.shThen execute the following command. Note: Mysqlpassword refers to your MySQL root password, set according to your specific situation, insertvalue refers to the value you want to write to the MySQL test table, this value is accessed http://yourwebsite/ Mysql.php will show up.For example, if you run sudo bash install_single_lamp_sles.sh s3cret Jack then S3cret is your MySQL root password, and Jack is writing to the valu
implement is as follows:New 2 ); Layoutmanager.setspansizelookup (new gridlayoutmanager.spansizelookup () { @Override publicint getspansize (int position) { return0 21; } }); Ecyclerview.setlayoutmanager (LayoutManager); The key code is on the top,Layoutmanager.setspansizelookup This code is a cross-column number that sets the item corresponding to the position location, such as
Process 4 of are on server150
Process 5 of are on server150
Process 7 of are on server150
Process 2 of are on server150
Process 3 of are on server150
Process 6 of are on server150
Process 8 of are on server150
Pi is approximately 3.1415926544231256, Error is 0.0000000008333325Wall clock time = 0.020644
If we want to compile the file now: Execute under/home/houqingdong: Mpicc-o Hello hello.c will be reminded:-BASH:MPICC command not found this is because we ha
Test.cpp: Defines the entry point of the console application. #include "stdafx.h" #include Effective C + + reading notes clause 17 The Newed object is placed in a stand-alone statement with a smart pointer
Oracle stand-alone 10201 upgrate to 10205
1.Shut down the database:
For Oracle RAC:
$ srvctl Stop database-d db_name
For single Instance:
Sql> CONNECT SYS as Sysoper
Enter Password:sys_password
Sql> SHUTDOWN
2.
Emctl Stop Dbconsole
Lsnrctl stop
Isqlplusctl stop
3.$ Export display=localhost:0.0
./runinstaller
4.
Start the database in the UPGRADE mode:
Sql> STARTUP UPGRADE
Set the system to s
I. Installation of RedisThis does not say that there are various systems on the Internet to install Redis operations,Redis InstallationIi. Creation of Sprigboot projectThis is not much to say, will not be in front of the relevant tutorial.Third, add MAVEN coordinatesIv. Writing springboot configuration filesFive, you can operate the RedisI put the cache in RedisThe relevant code is as follows:5.1 Directory Structure5.2 Analog Data5.3 Cache5.4 Turn on caching5.5 Test InterfaceSix, when the first
Public startchessjframe () {Settitle ("stand-alone version Gobang");/Set title Chessboard=new chessboard ();
Container Contentpane=getcontentpane ();
Contentpane.add (chessboard);
Chessboard.setopaque (TRUE); Create and Add menus MenuBar =new jmenubar ()//Initialize menu bar sysmenu=new jmenu ("system");//Initialize menu//Initialize menu item Startmenuitem=new jmenuite
M ("Re-start");
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.