/enable_browser.xmlClick Safari and select PreferencesSelect security OptionsSelect Allow plug-ins, and then click Manage Site SettingsClick the Java item to select an option (ask, allow, or always allow) when accessing another site from the drop-down listClick Finish, and then close the Safari Preferences windowThe real way to open a Mac under Safai is1 preferences2 Websites3 lower left Plug-ins check Java (this option is available if JRE is installed)4 site information appears on the right, th
createdVim ~/.bash_profile4. Write in file, save, exitExport java_6_home=$ (/usr/libexec/java_home) #这是mac自带的jdk1.6 HOME directory Java_8_home="/usr/ Libexec/java_8_home"#这是我们软连接的jdk1.8 directory export java_8_home java_home=$JAVA _6_home # The default choice is Jdk1.6alias jdk6="export java_home= $JAVA _6_home" #编辑一个命令jdk6, the input goes to jdk1.6 alias Jdk8="export java_home= $JAVA _8_home" #编辑一个命令jdk8, the input goes to jdk1.85. Restart. If you want to use jdk1.6 in the future, enter JDK6 a
1. Download tomcat (address: tomcat.apache.org), select the appropriate version (choose 6.0.35 here), click "Download", then click "tar.gz" under "core" on the new page (6.2MB)2. Unzip the Tomcat to directory:/library, and change the folder name from "apache-tomcat-6.0.16" to "Tomcat"3. Open "Application (Application)"--"terminal (Terminal)", enter the following two commands:sudo chmod 755/library/tomcat/bin/*.shAfter pressing ENTER, you will be prompted for your password, please enter your admi
There are many types of IPC methods under Mac OS, some of which are the following.1. Mach API2. Cfmessageport3. Distributed Objects (DO)Nsdistributednotificationcenter4. Apple Events5. UNIX Domain sockets6. Internet Sockets or XPC (nsconnection)7. Memory MappingThere are pipe,nstask, Message Queuing, remote procedure calls, notifications, semaphores, and lock settings .The 1th type is too low-level, and few people use Apple nor recommend it.The 2,3,4 is a higher-level communication mechanism off
filteringTomcat uses a mechanism called valves (valve) to filter IP addresses. Common valves (valves) are removteaddrvalve and can be filtered by IP address. Valves can be applied at 3 levels: Engin,host,context.If you only allow native addresses (localhost) to access the Tomcat server, you can use the following statements in Server.xml:allow= "127.0.0.1,0:0:0:0:0:0:0:1%0,::1"/>Tomcat uses Java.util.regex to match the IP address. Refer to the Tomcat documentation: http://tomcat.apache.org/tomc
He following error occurred while trying to add or remove files in theInstallation directory:[Errno 13] Permission denied: '/library/python/2.7/site-packages/test-easy-install-2452.write-test 'The installation directory you specified (via--install-dir,--prefix, orThe distutils default setting) was:/library/python/2.7/site-packages/Perhaps your account does not having write access to this directory? If theInstallation directory is a system-owned directory, which is needAs the administrator or "ro
in, wearing an NFC ring, back, NFC brush to unlock, walking, brush on the brush, this is not impossible, but very likely oh.Or your Android phone can be connected with the MAC Book network communication, through the NFC brush phone control, may also be good, unfortunately, my red rice to it (Note) without NFC, no fun, next timeI iphone5s by check, there is no NFC, it is said that the Apple to fight NFC, since a iBeacon, the world is a long time will be combined, the time will be divided, in kee
The general installation process is as follows:
1:sudo SH (Will prompt you to enter the current user's password)
2:CP apache-ant.1.8.2-bin.zip/usr/local
3:cd/usr/local
4:unzip Apache-ant.1.8.2-bin.zip
5:chown Yarin (user name): admin (user group) apache-ant.1.8.2
6:ln-s apache-ant.1.8.2 ant (Creating a soft connection)
7:vi/etc/bashrc
The I key inserts the following environment variables:
Export ant_home=/usr/local/ant
to activate Virtualenv.Perhaps Pyenv-virtualenv has no been loaded into your shell properly.Please restart the current shell and try again.Append environment variablesIf which pyenv-virtualenv-init >/dev/null; Then eval "$ (pyenv virtualenv-init-)"; FiSOURCE ~/.bash_profilePyenv Local 3.6.3 env3.6.3Since this basic feature has been installed completeThis article is from the "Fight Together" blog, please make sure to keep this source http://zwltc.blog.51cto.com/6019176/1983925Mac
Company Timing Music is played with the Mac Mini, before using itunes, you can use the crontab+ command/usr/bin/osascript-e ' tell application ' itunes ' to play ' timed playbackBut Ituns import music is quite troublesome, before also with NetEase cloud music, but need to manually start and stop very troublesome.One day thought can use Key wizard, timed in the Application launch button click, but the official download of the Button Wizard is not installed, and later found that the Apple script w
Tags: mac adb android eclipse ADB start-serverRecently, I had a problem developing Android on my Mac. With Vivo x3t as a development machine, connected to the computer after the discovery eclipse in DDMS without my real machine, after some Google and Baidu, finally found a solution, here to share to you.If you encounter a situation that the ADB command prompts you to find, you can read my other article, set the Android ADB environment variable in MAC1. First, make sure that you have installed th
So, just comment out the line (add # At the beginning of the row). Then reload the ~/.BASHRC file by executing $source ~/.BASHRCFinally, execute $which python in the new terminal to verify that the change is valid.Programme IVRm-rf?/anacondaQuite simple, refer to: Https://docs.continuum.io/anaconda/install#os-x-uninstallProgramme fiveThe package "Anaconda Clean" (available from the Anaconda platform) requires a secure uninstall.Conda Install anaconda-Clean # Install the package Anaconda Clea
Label:Recently, encountered a problem, that is, MAC using homebrew installed MySQL, today using Mysql.server Start,mysql can not start, restart can not find the PID, the service did not start!The error is as follows:Google, find a solution! Simple is: According to the error of the startup report, go to the appropriate folder, delete all the *.err files, and then create the no PID file!It is possible to solve the problem at this point, but I still error, and then check whether there are MySQL rel
Found on the StackOverflow, has been installed successfully, to retain the nextHere's how I got Auctex to work with pure Emacs:
Install the MacTeX distribution package
Download OS X emacs, place in/Applications
Download the Auctex tarball
1, the first to do sudo installationsudo pip install pandas
Result Error:OSError: [Errno 1] Operation not permitted:
2. Disable SIP mechanism in MAC Recovery mode (System Integrity Protection)Reboot the computer, hold down the command+r (until
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.