situation needs to be able to log in after the MySQL service has been started, otherwise it will be reported error 2002 (HY000): Can ' t connect to local MySQL server through socket '/tmp/mysql.sock ' ( 2) error.command line to start the MySQL service.Input:sudo/usr/local/mysql/support-files/mysql.server startThe command line stops the MySQL service.Input:mysqladmin-uroot-p (your password) shutdownOr:sudo/usr/local/mysql/bin/mysqladmin-uroot-p (your password) shutdown Copyright NOTICE: This art
By the way: the path of the Java SDK under MAC. (For example, when using jertbrains to develop Android programs, you must configure the jsdk path)
PMThe Apple system already contains the complete j2se, including JDK and JVM (Apple's Vm ).
If you want to develop code in a MAC system. You can install an IDE (netbeans, eclipse, and so on) without installing JDK and JVM. You can download the SDK and install i
Apache server configuration under MacI. Apache server
1. The most widely used Web Server
2. The Mac comes with only a few modifications. It is simple and quick.
3. Some special server functions can be well supported by Apache
Objective: To have an exclusive test environment2. Preparations
1. Set the User Password
2. MAC 10.10 and above3. Configure the server (the
The apache configuration file that comes with mac is red after it is opened. do you want to ask if this is normal? It is normal to enter localhost in the browser.
The apache configuration file that comes with mac is red after it is opened. do you want to ask if this is normal?It is normal to enter http: // localhost i
This is a creation in
Article, where the information may have evolved or changed.
The advantages of the go language in development efficiency and operational efficiency have favored many people, so there is a tendency to turn to the development of go language.
The following describes the development environment configuration in Mac OS x Golang.
1. Install Brew
Brew is a package management system developed b
I. Configuring environment variables under the ~/.bash_profile of the systemVim ~/.bash_profileWrite environment variables as follows (enter "I" into edit mode in English input environment):Export path= $PATH:/library/java/javavirtualmachines/jdk1.7.0_75.jdk/contents/home/binexport PATH= $PATH:/Users/ Radasm/downloads/adt-bundle-mac-x86_64-20131030/sdk/platform-toolsThe above is the configuration of the Jav
1. Download tomcat8.0 or other versions. : http://tomcat.apache.org/download-80.cgi2. Double-click to unzip.3. After the installation is successful, right-click My Computer and select Last item: Properties--Select Advanced system settings--Select environment variable4. New tomcat_home variable, variable name tomcat_home, the variable value is the Tomcat decompression path we downloaded. such as: E:\films\apache-tomcat-8.0.44.5. New catalina_home variable, variable name catalina_home, variable va
1.0 check whether bash_profile exists
cd ~/.bash_profile
2.0 create a bash_profile Mac environment configuration file if it does not exist
touch ~/.bash_profile
3.0 open bash_profile
open -t ~/.bash_profile
4.0 Add the go environment variable: (Save the directory for your project after the equal sign)
GOPATH=website/apple/apps
5.0 warning: If the command line LS command is invalid because bash_profile is cr
Start Apache: Enter the command in terminal, sudo apachectl start
When you access lcoalhost, "It Works" is displayed ".
Change the default path: Enter "sudo Vim/etc/apache2/httpd" in the command line. conf, open the Apache configuration file. The default path of Apache on Mac is "/library/webserver/documents ", replace it with your own path in the configuration
Statement: For hadoop-related information, please refer to the official documentation and select different versions as needed:
Current version, http://hadoop.apache.org/docs/current/
Version list, http://hadoop.apache.org/docs/
This article uses hadoop version 0.20.2 and Mac OS X 10.7.5.0. Download hadoop
Https://archive.apache.org/dist/hadoop/core/hadoop-0.20.2/1. Java environment setup:
Omitted2. Decompress hadoop:
$ Tar xvzf hadoop-0.20.2.tar.gz3.
Because we use MAVEN to manage projects, and for Dubbo API jar packages to be distributed conveniently, the Dubbo API that you plan to developManaged by the Maven private library.About the private library installation configuration, the following Netizen has already spoken very clearly:Http://www.7java.com/blog/articles/112.htmlThe only thing to note is that in CentOS, you need to install Sun's official JDK, not with OPENJDK, or you will encounter str
Apache File ConfigurationFile address/usr/local/etc/httpd/httpd/conf1 Site Directorydocumentroot "/users/james/sites/" "/users/james/sites/"> 2 associating so files
LoadModulePhp7_module/Usr/Local/Cellar/Php70/7.0.0-Rc.4/Libexec/Apache2/libphp7.so
3 If you find that the PHP file is directly exported to the browser, then you need to modify the following configuration
php7_module>
addtype application/x-httpd-php. php
addtype appl
1.AndroidSDK Path View(1) Androidstudio:Menu bar Androidstudio > Preferences > Appearencesbehavior > System settins > SDK location in Android SDK tab.(2) Eclipse:menu bar, SDK location in Eclipse > Preferences > Android tab2. Environment variable configuration:Android_home: The SDK root path is configured.Path:path environment variables Add tools, Platform-tools, build-tools paths.Landlord use is zsh, so directly in the. zshrc file configuration:Note the con
My Mac system version is OS X 10.10.2 Yosemite, which installs JDK 1.7 for Android development with Eclipse, but if you want to use the IntelliJ IDE for Android, you need to install jdk1.6, So in accordance with the official guidelines installed jdk1.6, but run the java-version command, the actual system JDK version is still 1.7, so on the internet for half a day, finally found a way to modify the default JDK version of the system,Original link: http:
into the previous Python folder and unzip it.5. Write the demo in Pycharm and click Run. The demo sample is as follows:"" "simpleapp.py" ""From Pyspark import SparkcontextLogFile = "/spark/spark-1.6.0-bin-hadoop2.6/readme.md" # should is some file on your systemsc = sparkcontext ("local", "Simple App")Logdata = Sc.textfile (logFile). Cache ()Numas = Logdata.filter (lambda s: ' A ' in s). Count ()Numbs = Logdata.filter (lambda s: ' B ' in s). Count ()Print ("Lines with a:%i, Lines with B:%i"% (
development time (Packager can quickly capture file changes for real-time refresh).
Brew Install Watchman
5>flowflow is a static JS type checking tool. What you see in many examples is the weird colon question mark, and the same syntax as the type in the method parameter, which is the grammar of the flow tool. This syntax does not belong to the ES Standard, just Facebook's own code specification. So the Novice can skip directly (i.e. no need to install the tool, and it is not reco
Steps:1. Download the Maven tar packagehttp://maven.apache.org/download.cgi2. Unzip to a folder after downloading
/users/tracy/dev/soft/apache-maven-3.3.9
3. Create Environment variablesCD to root path, CD ~New file
VI. bash_profile
Modify
Maven_home=/users/tracy/dev/soft/apache-maven-3.3.9
Path= $PATH: $MAVEN _home/bin
Export Maven_home
Export PATH
4. Make the configuration file effective
source. bas
Download Gradle: Https://gradle.org/installDownload latest Version: gradle-3.3 (current latest update February 8, 2017)Configuring the Gradle EnvironmentMy native Gradle storage path:/users/zhoujian/gradle/gradle-3.3First step: Turn on Mac endStep two: Enter in Terminal: OPEN-E. Bash_profile, open a. bash_profile fileStep three: Edit the. bash_profile fileEnter the following in the. bash_profile fileGRADLE_HOME=/Users/zhoujian/gradle/gradle-3.3;(Gradl
First, run the following command in turn:CD/etclsgrep pf.confsudocp pf.conf Pf.conf.normal.bak sudocp pf.conf pf.conf.transmit.baklsgrep pf.confIi. Modification of pf.conf Pf.conf.transmit.bakSudoOR:SudoThe modified contents refer to the previous post on the configuration port forwarding, I am here (note ignored, for reference only):Scrub-anchor"com.apple/*"Nat-anchor"com.apple/*"RDR-anchor"com.apple/*"rdr on Lo0 inet Proto TCP from all to127.0.0.
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.