Some configuration operations for mysql, apache, and php on Mac: php. ini
If the file address/private/etc/php. ini php does not display the error message, remove the comments (;) before display_errors = Off and error_reporting and restart apache.
Apache
Enable restart and disable sudo apachectl start/restart/stop to put the .php.html file under/Library/WebServer/Documents and directly run the file in t
1. Download and install node. js. After the installation is complete, you can view the NODE,NPM version directly at the terminal.
2. Installing CordovaIn the terminal input$ npm install -g cordova 3 Installing IonicInstallation Successful4.ionic Creating a Project默认三种模式5. Run the Ionic project we just created$ cd myApp$ ionic platform add ios$ ionic build ios$ ionic emulate iosWeb App cross-platform development MAC environment
One, download the installation fileAddress: http://www.oracle.com/technetwork/java/javase/downloads/index.htmlJdk-8u144-macosx-x64.dmgSecond, the installation of files, the installation process is the same as installing other software, here do not repeatIII. Configuring environment variables, editing VI~/.bash_profileExport Java_home=/library/java/javavirtualmachines/jdk1.8.0_144.jdk/contents/homeExport path= $JAVA _home/bin: $PATHNote that the middle is a semicolon ":", which differs from windo
First of all, Mac and Linux are set up the same wayGeneral practice can be referred to Http://www.tuicool.com/articles/i6nyeiFirst step: Generate the key. Execute the command under Terminal:SSH-kegen-t RSAAll the way to enter, the various prompts by default do not change, wait for the completion of execution. Then execute:ls ~/. SSH#可以看到两个密钥文件: Id_rsa (private key) id_rsa.pub (public key)Step Two: Place the public key to the Linux server. To use the S
First of all, first download the latest version of Gradle, the URL is as follows:http://www.gradle.org/get-startedThen put the downloaded zip package on the path you want to install and I'll install it on the/usr/local/bin;Then open the. bash_profile file on your computer and enter the following command:gradle_home=/usr/local/bin/gradle-1.8;Export Gradle_homeExport path= $PATH: $GRADLE _home/binThen enter the following command on the console:SOURCE ~/.bash_profileThis installs successfully, and
The error message that appears is as follows:PM 9:11:27 all files is up-to-datePM 9:11:27 all files is up-to-datePM 9:11:27 Error Running Tomcat 8.0.18:cannot Run program "/users/horse_leo/documents/ Apache-tomcat-8.0.18/bin/catalina.sh "(In Directory"/users/horse_leo/documents/apache-tomcat-8.0.18/bin "): error= Permission deniedThe main problem with the prompt is insufficient permissionsSolutionsOpen the terminal, enter the Tomcat\bin directory, and then execute chmod 777 *.shThe world is qu
Reference Link: http://facebook.github.io/react-native/docs/getting-started.html#contentIos development is simple and Xcode7.0 is supported later.Android development, need to install SDK and other reference http://facebook.github.io/react-native/docs/android-setup.htmlMAC: First step andorid development environment1)brew install android-sdk2) Configuring the Android_home environment3) Configure SDK, install SDK tools, SDK, and AVD and other package support4) Install Android emulator, and create
In multi-person collaborative development, GIT is generally used for code management. Git has some commands such as Git pull, git push, and so on, and these commands can set alias, which is abbreviated. such as: git pull is git pl, git push is git PS. Can be modified according to personal habits.To modify aliases, alias steps are as follows:1, go to the root directory$ cd2. View the files under the root directory$ ls -laCheck to see if there is a. gitconfig file.3, edit. Gitconfig$ vi .gitconfig
Prerequisites:1. Git installed2. Use rbenv or RVM to install Ruby 1.9.3 or later3. A supported JavaScript runtime environment with EXECJS installedFirst, install the octopress1 git clone git://github.com/imathis/octopress.git octopress2 cd octopressSecond, installation dependence1 Install bundler 2 InstallEncounter problems
Gem::remotefetcher::fetcherror:errno::econnreset:connection Reset by Peer-ssl_connect (https://rubygems.org/gems/ Tilt-2.0.1.gem)An error occurred while installing T
1. Enable the Apache service that comes with your systemOpen Terminal (terminal)#sudo Apachectl Start#sudo vi/etc/apache2/httpd.confModifyLoadModule Php5_module libexec/apache2/libphp5.soOpen PHP/***** If you visit 403****/allowoverride NoneOrder Allow,denyAllow from all# Require all deniedRequire all granted/**** Modify require all granted*****/Include/volumes/app/webserver/vhosts/*.confA file that introduces a virtual host.#wq//Save exit#vi/volumes/app/webserver/vhosts/sv1.confServerAdmin www.
consistency, not ACID properties-Unstructured and unpredictable data-Cap theorem-High performance, high availability and scalability Install (MacOS) 1. Homebrew Installationbrew update
brew install mongodb
brew install mongodb --with-openssl //带TLS/SSL支持
brew install mongodb --devel //获取最新版本的
2. Create a new/data/db directorysudo mkdir -p /data/db
3. Start the servicesudo mongod //如果给/data/db加了权限的话,可以省掉sudo
4. Background Management ShellIf you need to get into MongoDB background management, yo
Java-version
Show Java version
sudo su-root
Switch identities
Cd/usr/local/openfire
Enter the OpenFire directory
CD bin/
Enter bin
Vim openfire.sh ——— Modifying the Java path
Open openfire.sh-Configure Java Path
PWD ——— "/system/library/frameworks/javavm.framework/home"
Show Table of Contents
Cd/library/java/javavirtua
1. First we need to know where the JDK directory is installed, follow the path below and we can find the JDK's home directory as shown in. There are two directories here because earlier versions of JDK1.8 were installed earlier in this machine./library/java/javavirtualmachines;2. Because of the Mac file system structure, unlike Windows, the true home directory of the JDK is as follows:/library/java/javavirtualmachines/jdk1.8.0_171.jdk/contents/home;3.
directories and file places, it is generally because the file permissions are causing problems that you can resolve:sudo chmod 755/library/tomcat/bin/*.shsudo chmod 755/library/tomcat/bin/*.batMeet "Java_home not defined" JAVA path undefined error, execute the following command in Terminal:sudo setenv java_home/library/java/homeTo configure the Tomcat startup script:Use the text editor to add the following code:#!/bin/bashCase $ inStartsh/library/tomcat/bin/startup.sh;;Stopsh/library/tomcat/bin
This article mainly introduces the Mac PHP multi-site configuration, has a certain reference value, now share to everyone, the need for friends can refer to
Write in front:
1. The files need to be modified by default are placed in the hidden folder, you need to search to open, shortcut keys: command+ space, enter "/etc", do not include quotation marks, you can open the ETC folder. The 3 files we need to mo
Configuration and running in PHP-mac are idle (can this be done ?), Recently, I am looking at the small gap between the company's code, changing my mind and learning php.
Unexpectedly, I encountered a lot of problems when configuring php. I simply pasted my configuration process.
First of all, it is clear that I use mac
After thinking, or configure Maven in your Mac.1. Download the installation package, because the company used the version is relatively low, considering compatibility, it is recommended to use the lower version. I use 3.0.5.: http://archive.apache.org/dist/maven/maven-3/3.0.5/binaries/Be careful not to release the source code. In the habit of win, I choose the zip version2. Unzip to the specified folder. Pay attention to choose that do not need any pe
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.