rsync
Then confirm that you can use SSH to log on to localhost without a password
Enter the SSH localhost command: SSH localhost
Ssh-keygen-t dsa-P "-f ~ /. Ssh/id_dsa
Cat ~ /. Ssh/id_dsa.pub> ~ /. Ssh/authorized_keys
Note:-P is followed by two "" signs, indicating that the password is set to null.
After completing the preceding configuration, decompress the package and configure hadoop.
1. decompress the hadoop package
Input command: Tar zxf hadoop-0.20.2.tar.gz
Go to the decompressed had
Standalone PHP expansion library under Ubuntu12.1
Ubuntu is a very good system in the Linux world, where the installation of PHP is very common, so how to install a separate PHP extension library?
The reference steps are as follows:
1. Enter the PHP source package ext; (here PHP version php-5.4.37, that extension package GD library example)
[Email protected]:~/temp/php-5.4.37/ext$ CD GD2. Generate configure script files from the Phpize tool
[E
, so
The details is omitted here.
4. On every node:
$ Sudo Vim/etc/hosts
And set the IP address of the nodesin the network. For example, I set the hosts file on every node:
127.0.0.1 localhost
223.3.86.xxx master
223.3.81.xxx node01
223.3.70.xxx node02
5. OnMasterNode: Enter the rootfolder of spark, and editCon/slaves. In my example:
$ CD/usr/local/spark-1.1.0-bin-hadoop2.4
$ Sudo Vim CONF/slaves
Edit slaves file:
Master
Node01
Node02
6. OnMasterNode: Enter the rootfolder of spark and start spar
Ejs usage no longer say, net self-check. One is ejs based on the Nodejs platform, and the other is the Ejs performed in the browser. The point here is that HTML is an independent introduction to the Ejs.min.js used by a note.Such as: the introduction of index.htmlThe first thing to note: This Ejs library does not support the include feature. (But there are solutions, methods also I am too lazy to repeat, after all is someone else's thing, Link: http://www.yunweipai.com/archives/2780.html)In addi
Svnserve service does not have write permission to the SVN repository directory at this time.Svnserve-d-r/erv/svn/Ps:I. Linux commands that may be used during the installation1. First look at the portNetstat-anp2. Find the port you want to closeNETSTAT-ANP | grep 9312TCP 0 0 0.0.0.0:9312 0.0.0.0:* LISTEN 11902/searchd3. close the process that occupies the portKill-9 11902Second, pay attention to the networkUse the company's network of students must pay attention to, the company outside the netw
1. Benefits of starting multiple MySQL on a single machineFully utilize the computing power of a single machineCan effectively allocate different logic to different MySQL to improve the database parallel processing abilitySingle-machine can also be easily implemented master-slave backupUsing Mysqld_multi is a recommended practiceUse Mysqld_multi to control the open shutdown of the database. //Mysqld_multi start 1, 22 databases.RELATED links:Http://www.3lian.com/edu/2013/08-31/93790.html//goodHtt
= "- Djava.library.path= $HADOOP _install/lib "#HADOOP VARIABLES ENDExecute the following to make the added environment variable effective:SOURCE ~/.BASHRCEdit/usr/local/hadoop/etc/hadoop/hadoop-env.shExecute the following command to Open the edit window for the filesudo gedit/usr/local/hadoop/etc/hadoop/hadoop-env.shLocate the Java_home variable and modify the variable as followsExport java_home==/usr/lib/jvm/java-7-openjdk-i386 Five, Test WordCountStand-alone mode installation is complete, f
1.1 Installing the VIRTUALENV environmentHttps://www.cnblogs.com/liuyansheng/p/6141197.html1, installation VirtualenvYum Install python-virtualenv2. Create a Python virtual environmentVirtualenv env # After execution, a folder with the same name as the virtual environment will be generated locally3. Start the virtual environment SOURCE Bin/activate # Launch Virtual EnvironmentDeactivate # exiting the virtual environment1.2 Virtual Environment Replication migration1. Directly compress the genera
Single version installationStand-alone installation is simple:1) After downloading the community version of NEO4J, unzip it and run the command: TAR–ZVXF neo4j-community-2.0.1.tar.gz2) Modify the Conf/neo4j-server.properties configuration file to remove the org.neo4j.server.webserver.address=0.0.0.0 comment characters3) Finally enter the Bin directory and start the NEO4J service.4) Enter Http://ip:7474/webadmin to enter NEO4J consoleCluster environment constructionNEO4J cluster environment to bu
= "Ext4"[Email protected] home]#add a new line to the/etc/fstab file with the following format (note: The UUID tries to replicate as much as possible, in case the system mount is unsuccessful due to input errors )Uuid= "248d9c56-7795-4747-a251-0737240cb30a"/home ext4 defaults 0 0At this point, if you follow my tutorial strictly every step of the word, there is no error. The original home directory, which has no separate partitions, is now successfully migrated to the 20G new hard disk partition.
inaccessible auth-access = Write # gives authorized users Write permission password-db = passwd # indicates password file path authz-db = a Uthz # Access Control fileThe other uses the default configuration. Each statement must be shelf write, the left can not leave a blank, otherwise there will be an error.4. Configure usersvi/var/svn/web/conf/passwdEnter the following:[Users]username1 = Password1UserName2 = Password2You can add multiple, this is the user name password pair.5. Configure permis
/local/libpng --with-freetype-dir=/usr/local/freetype or./configure--with-php-config=/usr/ Local/php/bin/php-config --with-jpeg-dir=/usr/local/jpeg --with-png-dir=/usr/local/libpng -- With-freetype-dir=/usr/local/freetypemake make InstallThen modify the php.ini file to add a line under; Extension=php_zip.dll extension=gd.soRestart Nginx and see if the installation is successful. Then perform/usr/local/php/bin/php-m to see if the GD module is loaded successfully.Service Nginx Restart/usr/l
= "Org.springframework.data.redis.connection.jedis.JedisConnectionFactory"> Propertyname= "HostName"value= "${redis1.host}" /> Propertyname= "Port"value= "${redis1.port}" /> Bean> - BeanID= "Redisops"class= "Com.xjj.spring.data.XjjStringRedisOps"> Propertyname= "ConnectionFactory"ref= "Jedisconnectionfactory" /> Bean>Description: Xjjstringredisops is the session in its own packageReference:http://haoran-10.iteye.com/blog/2261703 (the above content to
We know that there are already several kinds of graphics cards, for example, independent graphics, core graphics, as well as integrated graphics, different graphics card positioning is different, a lot of friends for the core graphics, motherboard integrated graphics and independent graphics lack of knowledge, do not know what the difference between the three, the following article in the rookie friend for a brief summary, Hope to help you.
The difference between a core video card and a
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.