Tags: lamp1. Prepare the file system for data storageCreate a new logical volume and mount it to a specific directory. The process is no longer given here.This assumes that the mounted directory of its logical volume is/mydata, and then needs to create the/mydata/data directory as the storage directory for MySQL data.2. The new user runs the process in a secure manner:# groupadd-r MySQL
# useradd-g mysql-r-s/sbin/nologin mysql
# chown-r Mysql:mysql/mydata/data3.
Install Python 2 and Python 3 cmd.
System: win7
Bytes
In this way, enter python directly in cmd and automatically execute python27.
After searching for solutions on the internet, I changed the names of the two python.exe files to python2 and python3 respectively.
However, this will create a lot of questions. For example, when running idle, python27will automatically re-create a python.exe file... That is to say, you have also changed it.
Fin
This article describes how to install the python component pip on linux and rely on wget. Currently, it is not smart enough. for details, refer to the following code:
#! /Bin/bashFiles_url = (https://pypi.python.org/packages/source/s/setuptools/setuptools-2.1.tar.gz#md5=2044725530450d0517393882dc4b7508 https://pypi.python.org/packages/source/p/pip/pip-1.5.tar.gz)Files = (setuptools pip)
Packages_dir =/data/packages/temp/
If [! -D $ packages_dir]ThenM
This article describes how to install the python component pip on linux and rely on wget. Currently, it is not smart enough.
The code is as follows:
#! /Bin/bashFiles_url = (https://pypi.python.org/packages/source/s/setuptools/setuptools-2.1.tar.gz#md5=2044725530450d0517393882dc4b7508 https://pypi.python.org/packages/source/p/pip/pip-1.5.tar.gz)Files = (setuptools pip)
Packages_dir =/data/packages/temp/
If [! -D $ packages_dir]ThenMkdir-p $ packages
Directly go to http: tomcat.apache.org to download the Binary Package (BinaryDistributions). You do not need to install it. Unzip the package and run the bash file to run Tomcat. In advance to set JAVA_HOMEecho $ JAVA_HOMEoptjavajdk1.6.0_25 open: $ homeorisundevelopapache-tomcat-7.0.16binstar
Directly go to http: //McAt.apache.orgTrIbutions) does not need to be installed,ExtractRun the bash file to run Tom.Cat.
Set JAVA_HOME in advance
Echo $ JAVA_
Windows PHP Apache defaults to not support MSSQL, let's show you how to install the Apache PHP MySQL tutorial Web server and get your PHP to use the MSSQL database tutorial.
Download apache,php
1, the Apache installed in the C:apache directory2, the PHP installed in the c:php directory3, take ioncube loader to archive and extract to C:apacheioncube.4, open the PHP directory, the Php-recomended.ini modified into php.ini5, from c:phpextensions copy Ph
1. The problem is as shown
2. Attempt to use sudo also error:
3. The operating system is:
Ask you how to solve the technology greatly?
Reply content:
1. The problem is as shown
2. Attempt to use sudo also error:
3. The operating system is:
Ask you how to solve the technology greatly?
Turn off the Mac rootless feature.
Start and hold Command+R , enter recovery mode, open terminal , type:
csrutil disable
Enter and reboot. To re-restore, simply disable change to enable .
OSX 10.11
following line in C:\php-7.0.22\php.ini to enable memcache extension, 12Extension=php_memcache.dllFigure 1213. View Phpinfo,memcache already exists, 13Figure 1314. New Test procedure: memcached.php,14Figure 1415, after restarting the machine, run the test program, Error: Notice:memcache::connect (): Server localhost (tcp 11211, UDP 0) failed with:,15Figure 1516. Open Task Scheduler, edit memcached Trigger, change from startup to login, 16Figure 1617. At this point, the trigger for memcached is:
/gstreamer/0.10, then here the mygst shocould be/home/super/gstreamer.5. Enter directory contains the folder you created, e. g:/home/super/gstreamer, run gst-0.106. the script will help you to export lots of environment variables, including path, LD_LIBRARY_PATH, pkg_config_path... to make sure all the gstreamer related command, libraries, configs are all from your downloaded version, while not the version used in your system.7. download all gstreamer packages you need, place into the folder you
MSI project. Settings:
Generate the installation package. Note that there are two common options: singleExecutable, single MSI package. The difference is that the former generates the setup file, and the latter generates the MSI installer.To integrateFramework installation file to the installation package, you must select the first single executable.
Test 1 is not installed.Run the following command on the machine where framework2.0 is installed: After the installer detects that framework2.0 i
An error occurred while accessing the IIS metadatabase.
Note: An unhandled exception occurs during the execution of the current Web request. Check the stack trace information to learn about this error andCodeDetailed information about the cause of the error.
Exception details: system. Web. Hosting. hostingenvironmentexception: An error occurred while accessing the IIS metabase.
The process account used to run ASP. NET must have read access to the IIS metabase (for example, IIS: // servername
Armadillo is a linear algebra library developed by C ++.AlgorithmPort to C ++. You can use only header files, or use efficient LAPACK and blas for acceleration. The installation process is as follows:
1. GoDownload the source code and decompress it to any directory, such as X :\Armadillo: add the \ include directory to the include file directory of Visual Studio. vs2008 is set in "tool> Option> VC ++ directory> include file, other versions are similar.
2. Modify the X: \ Armadillo \ include
1. We find the APP Store icon on the Iphone6 desktop and click Open to enter, as shown in the following figure
2. Then we entered the app Store interface at the bottom of a search box, and then click the "Search" section
3. Then we search to find the app name, such as we enter the "micro-letter" keyword, and then click on the keyboard "search" button
4. Then it will show "micro-letter" Now we click to enter and then click the "Free" button to start downloading the installati
actually corresponds to a file in the/usr/share/applications directory.In order to create a launch bar icon for Eclipse, we can create the file Eclipse.desktop in the/usr/share/applications directory (the filename can be arbitrary, but the file name suffix must be. Desktop), and then copy the following content:[Desktop Entry]Type=applicationName=eclipseComment=eclipse Integrated Development environmenticon=/opt/eclipse/icon.xpmExec=/opt/eclipse/eclipseTerminal=falseCategories=development;ide; J
1. We clicked "Application" on Note4 Mobile desktop.
2. Then we will see that there is a "set" and click on it to enter as shown in the figure.
3. Then click "General" in the open window.
4. Then we find the "Safe" button to click on it.
5. Slide up the phone screen and click on "Unknown Source".
6. We will now give a notice to the "unknown source" prompt and click "OK".
7. At this time the unknown source is checked, the following figure:
vagrant can use the command line to quickly build Linux systems to achieve synchronization of development environments.
Step
Preparation Tool installation VirtualBox installation vagrant Download box system Mirror http://www.vagrantbox.es/(recommend a foreigner integrated development environment, website introduction HTTPS ://box.scotch.io/, I used the command line to download too much failure, so crawl to url:https://atlas.hashicorp.com/scotch/boxes/box/versions/2.5/providers/ Virtualbox.box
Linux-install Oracle (CentOS-Oracle 12c) and centos7 install oracle12c
Step 1: network connection, which is described in my previous blog.
Purpose of network connection: to use the yum command, download the file directly online.
Step 2: Go to the oracle official website to download 12c
Two files on the database server: (installed in Linux)
Linuxamd64_12102_database_1of2.zip
Linuxamd64_12102_databasesilicate
VirtualBox(encyclopedia) VirtualBox is an open-source virtual machine software. VirtualBox was developed by the German Innotek company, software produced by Sun Microsystems Company Sun Microsystems, which was written in QT and formally renamed Oracle VM after Sun was acquired by Oracle Virtualbo X. Innotek releases VirtualBox in the GNU general public License (GPL) and provides a binary version and an OSE version of the code. Users can install and ex
Exception:Traceback (most recent):File "/library/python/2.7/site-packages/pip/basecommand.py", line 215, in mainStatus = Self.run (options, args)File "/library/python/2.7/site-packages/pip/commands/install.py", line 342, in runPrefix=options.prefix_path,File "/library/python/2.7/site-packages/pip/req/req_set.py", line 778, in installRequirement.uninstall (Auto_confirm=true)File "/library/python/2.7/site-packages/pip/req/req_install.py", line 754, in UninstallPaths_to_remove.remove (auto_confirm)
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.