As we all know, Mac OSX has built-in Apache HTTP server and PHP, with a simple configuration to use the PHP environment, local testing is very good.1. Enable Apache Http Server ( sudo apachectl start)Remember the following command:Open Terminal (Terminal) input: sudo apachectl start//start service sudo apachectl stop//Turn off service sudo apachectl restart//Restart serviceThe above command allows the system to bring Apache server to work. Then in the
Tags: resource library development hack other password Apache Port tle commandThe OSX system is very friendly to PHP, we only need simple configuration to start using, this article will step by step to explain the installation and configuration of Apache, PHP and MySQL, paving the way for the start of development Apache Launch Apache Service The Apache service is already installed on the MAC system and we just need to launch it directly using the foll
Label:Installing Php/mongodb extension is a and steps task on OSX:
Install the autoconf tool required for compiling the extension
Install the Mongo extension
You have a to install autoconf on order to avoid the following error: Cannot find autoconf. Please check your autoconf installation and the $PHP _autoconf environment variable. Then, rerun the this script.
ERROR: ' Phpize ' failed Enough talk, hands in work ... Step 1. Instal
Tags: Mac OSX settings securityOSX can only install software downloaded from the App store by default, and if the software downloaded from a third-party website cannot be installed, there are two commands to open any source, which allows us to install the software.
sudo spctl--master-disable
sudo xattr-rd Com.apple.quarantine/applications/lockedapp.app
After the command has been entered, you can open "Security and privacy" in system prefere
How JVM works, how jvm works
I. JVM Lifecycle
The life cycle of a Java VM is a clear task for executing Java programs. It runs only when the program starts to run, and stops when the program ends. When you run three programs on the same machine, there will be three running Java virtual machines. The Java Virtual Machine always starts with a main () method. This m
Overview of JVM knowledge points-required for interviews with senior and middle-level Java engineers, and jvm Overview
The same is true for developers. There are more and more popular frameworks and more comprehensive packages. Various frameworks can handle everything, and there is almost no need to focus on the underlying implementation, as long as junior programmers are familiar with basic usage methods,
JVM architecture and jvm Architecture
JVM is an abstract computer. Based on the stack architecture, it has its own instruction set and memory management. It is the basis for Java cross-platform implementation. JVM interprets and executes bytecode, or compile the bytecode for code execution. The Java virtual machine arc
About the APP
APP Name:libimobiledevice
APP description:library to communicate with IOS devices natively
APP website:http://www.libimobiledevice.org/
Install the APP
Press and Command+Space type Terminal and press Enter/return key.
Run in Terminal app:" $ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install) " and press Enter/return key. Wait for the command to finish.
Run:Brew Install Libimobiledevice
done! You can now use libi
simulator are emptied and deleted if not needed.Path: ~/library/application support/iphone simulator/6.1/applications (take iOS Simulator 6.1 as an example)5. Removal of archivesImpact: Not recoverable, adhoc or App Store version will be deleted. Recommended Backup dSYM FolderPath: ~/library/developer/xcode/archives6. Removal of DeriveddataImpact: can be regenerated; The build's project index, build output, and log are deleted. When you reopen the project, it will regenerate and the large proje
If you want to disable, we need to enter the following command in the terminal: sudo 0Then navigate to/private/var/vm/to delete the already existing Sleepimage filecd/private/var/vm/Use the following command to delete the file sudo RM SleepimageFinally we want to prevent OS X from continuing to create the file, so we need the following command to generate an empty file that cannot be replaced Touch Sleepimage chmod /private/var/vm/sleepimageOf course, if you want to re-open the Safesleep fun
(1) When the computer is upgraded to 10.10, opening eclipse always prompts "you need to install the old Java SE 6 runtime environment to open eclipse." FIX: Install JKD (2) cannot install JKD "Oracle Java requires Mac OS X 10.7.3 or later" so the snake Essence disease bug, the common sense is unable to solve, temporarily modifies the system version number modified:sudo sed-i ' s/>10.10.1Recovery: sudo sed-i ' s/>10.9[MAC OSX-1] OSX10.10 cannot install
The sublime installation plugin can be easily installed according to the name of the plugin via the package control. However, Sublime does not install the package control by default, so we must install it first.Install the package control steps as follows:1, through the control+~ to bring up the console;2. Copy the following section of code to the console and enter.ImportUrllib2,os; pf='Package Control.sublime-package'; Ipp=sublime.installed_packages_path (); Os.makedirs (IPP)if notOs.path.exis
$ sudo port upgrade outdatedUpgrade the default update behavior is to download a new version and enable it, but the old version is not deleted. If you want to update the new version while uninstalling the old version, use the-u parameter.$ sudo port-u upgrade vile3.16. Dependents -Lists all development packages that rely on this package.xaviermavericks:~ xavier$ Port dependents Python27nodejs depends on Python27py27-pip depends on Python27py27-setuptools D Epends on Python27 3.17. Livecheck -Ch
-vhost.conf is opened and the virtual host is configured.
Locate the Set up virtual host sample, and comment out the # number before adding
Add your own virtual host configuration, such as, where 80 is the port number, servername for the project to open in the browser name, documentroot as the file path, if the Laravel framework, the path to public, the following two items are error log and user log path settings.
7, set the host file, command line input ' vi/etc/hosts ', add server
1.export path= $PATH:/xxx/binThis method is a temporary change of environment variables, after closing the terminal path or the previous unmodified2.sudo vim/etc/pathsThis method changes the global environment variables. Each line represents a path, add your path to the last line, you can drag the folder directly to the terminal, note that the last space does not appear, otherwise it will be invalidated. Then restart the terminal, Echo $PATH can see the path has been addedCopyright NOTICE: This
Project home: Https://github.com/rofl0r/proxychains-ngOfficial Note:
Proxychains ng (New Generation)-a preloader which hooks calls to sockets in dynamically linked programs and redirects it Through one or more socks/http proxies. Continuation of the unmaintained Proxychains project.
Reference post: http://www.dreamxu.com/proxychains-ng/Installation configurationInstalling with Homebrew
Brew Install Proxychains-ng
Editing a configuration filevim /usr/local
for:Export hbase_opts="-xx:+useconcmarksweepgc-djava.security.krb5.realm=ox. ac.uk-djava.security.krb5.kdc=kdc0.ox.ac.uk:kdc1.ox.ac.uk"Stop HBase,./bin/stop-hbase.shStart again, it should be successful.(2) Simple testStart the HBase shell./bin/hbase ShellPerform help in the shell to see the helpful information:HBase (Main):001:0> HelpCreate a test table:HBase (Main):002:0'test'cf'To List table information:HBase (Main):003:0'test'Insert several test data:HBase (main):004:0> put'Test','Row1','cf:
ZSSH[Plain]View Plaincopy
Brew Install Zssh Lrzsz
Reference: http://brew.sh/index_zh-cn.htmlAdd: HTTPS Download failed resolutionHomebrew uses curl to download files, and some are downloaded using an HTTPS connection. However, due to the network environment or some other reason, the HTTPS certificate authentication failed and could not be downloadedIf I visit https://webp.googlecode.com, I will report a certificate error.The "-k" option for Curl resolves this issue and is download
1, download Unlock.zip tool, crack VMware no Mac option case 2. Download OS X 10.11.1 (15b42). Cdr3. Mware virtual machine prompt: "Lock file failed, cannot open disk or snapshot depends on disk" solution and then search for this folder with the following keywords: *.lck I found here three, delete, delete, will not be prompted above the first diagram of the error: 4. VMware Workstation Unrecoverable Error: (vcpu-0) to open the virtual machine, just locate and open the Xxx.vmx file under the virt
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.