been looking !) E.g.: grep-R jerry/etc (search for all directories in/etc with files containing jerry (parameter-R indicates all files) If you only want to list file names: www.2cto.com grep-R-l jerry/etc (-l only lists file names) 01root @ why :~ # Grep-R-l jerry/etc02/etc/passwd03/etc/shadow-04grep:/etc/alternatives/ghostscript-current/Resource/CMap/Hojo-EUC-H: there is no file or directory 05 grep:/etc/alterna
First, install the JDK:RPM Installation:# RPM-IVH jdk-8u45-linux-x64.rpmIn the case of a Debian system, tar. Unzip tar.gz to/usr/local/java/and create the corresponding link file. Such as:$ ll/usr/local/java/Total usage 4lrwxrwxrwx 1 root root 6 June 22:31 Default-latestdrwxr-xr-x 8 UUCP 143 4096 April 11 01:26 jdk1.8.0_45lrwxrwxrwx 1 root root 28 June 22:30 latest-/usr/local/java/jdk1.8.0_45/Second, the configuration:Create the/etc/profile.d/java.sh and edit the configuration file:$ cat/etc/pro
[Laravel5.2 documentation] service-file system cloud storage
1. Introduction
Laravel's PHP package Flysystem developed based on Frank de Jonge provides powerful file system abstraction. Laravel file system integration provides simple use of drivers for processing local file systems, including Amazon S3 and Rackspace cloud storage. In addition, switching between these storage options is very simple, because the API is the same for each system.
2. con
OpenStack Construction and Application in RedHat Linux
1. Introduction to OpenStack
OpenStack is a free software and open source code project jointly developed by NASA and Rackspace with Apache license authorization.
OpenStack is a cloud platform management project. It is not a software. This project is composed of several major components to complete some specific work.
OpenStack is an open-source project designed to provide software for the construc
Linux Advanced Skills: openstack Construction and Application under redhat1. Introduction to openstackOpenStack is a free software and open source code project jointly developed by NASA and Rackspace with Apache license authorization.OpenStack is a cloud platform management project. It is not a software. This project is composed of several major components to complete some specific work. OpenStack is an open-source project designed to provide software
Laravel5.1 has its own file system. We can directly use the Laravel5.1 file system to perform file operations. Here is an example of file operations, movement, storage, and deletion. Laravel 5.1 has its own file system. We can directly use the Laravel 5.1 file system to perform file operations. Here is an example of file operations, movement, storage, and deletion.
Script ec (2); script
Laravel provides a powerful File System Based on Flysystem to store and delete files. Like the cache, Larave
server)Monolog/monolog suggests installing sentry/sentry (allow sending log messages to a sentry server)League/flysystem suggests installing LEAGUE/FLYSYSTEM-AWS-S3-V2 (allows you to use S3 storage with AWS SDK v2)League/flysystem suggests installing League/flysystem-aws-s3-v3 (allows you to use S3 storage with AWS SDK V3)League/flysystem suggests installing league/flysystem-azure (allows you to use Windows Azure Blob storage)League/flysystem suggests installing League/flysystem-cached-adapter
Laravel based on Flysystem provides a powerful file system for storing and deleting files, which, like caching, supports a variety of drivers, including local drivers, FTP, Amazon S3, and Rackspace, On top of these drives, a unified API is provided to facilitate switching to the driver at any time without modifying any business logic code.
Now that the API approach is consistent, here as an example, we use a local driver to demonstrate how to store a
Original article name: 7 better alternatives to common Windows appsTranslator:Fish that cannot reach the shore {ttzhang}Link: http://www.makeuseof.com/tag/enhance-or-replace-integrated-windows-applications-with-these-great-alternatives/
There is no doubt, Microsoft is going to dominate the operating system market through Windows 7. who knows where we will be after that. at that point we will likely be
[Odroid-pc] ubuntu12.04 jdk-6u45-linux-x64.bin, jdk6u45linuxx64
1. Download jdk-6u45-linux-x64.bin.tar .**
2) Put it in a directory and decompress it.
3) execute the following command
Chmod + x jdk-6u45-linux-x64.bin
/Jdk-6u45-linux-x64.bin
Mkdir-p/usr/lib/jvmMv jdk1.6.0 _ 45/usr/lib/jvm
Update-alternatives -- install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.6.0 _ 45/bin/java" 1Update-alternatives -- insta
-alternatives to change the Python version for the entire system. Log in as root and first list all available Python alternative version information:# update-alternatives--list python update-alternatives:error:no alternatives for PythonIf the error message shown above is present, the alternate version of Python is not yet recognized by the update-
can use Update-alternatives to change the Python version for the entire system. Log in as root and first list all available Python alternative version information:# update-alternatives--list pythonUpdate-alternatives:error:no Alternatives for PythonIf the error message shown above is present, the alternate version of Python is not yet recognized by the update-
the installation process:Errors were encountered while processing:Libc6-dev:i386E:sub-process/usr/bin/dpkg returned an error code (1)Here's how to fix it:$ sudo apt-get install linux-libc-dev:i386$ sudo apt-get install libc6-dev:i386At this point, even if the build environment is complete, at least on my computer, so we can start to download the Android code to compile.Final installation Ia32-libs$ sudo apt-get install Ia32-libsUbuntu 14.04 x64 Configuring the Android 4.4 KitKat compilation env
to take effect.
$ . ~/.bashrc
Check the current Python version.
$ python--version
Python 3.4.2
2. Modify the Python version at the system levelWe can use Update-alternatives to change the Python version for the entire system. Log in as root and first list all available Python alternative version information:
# update-alternatives--list python
Update-alternatives
GCC is the GNU exclusive C/C ++ compiler. Because GCC has compatibility issues, you must use the specified version of GCC to compile and pass the code, therefore, we should switch to the appropriate GCC compiler in a timely manner.
1. Brief description:In general, the Compilation Program uses:/usr/bin/GCC
In fact, this/usr/bin/GCC is just a symbolic link, it points to/etc/alternatives/GCC, and/etc/alternatives
mockobjects-jdk1.4.x86_64:mockobjects for 1.4 jdk
2. Install JDK
[Root@localhost ~]# yum install java-1.6.0-openjdk.x86_64 ...
Total download size:44 M are this
OK [y/n]: Y
3. After the installation is complete, verify
[Root@localhost ~]# java-version
java Version "1.6.0_37"
OpenJDK Runtime (Environment IcedTea6) ( rhel-1.13.9.4.el5_11-x86_64)
OpenJDK 64-bit Server VM (build 23.25-b01, Mixed mode)
4. The default installation path via Yum is
/usr/lib/jvm
[
Introduction to 1.openstackOpenStack was developed by NASA and Rackspace in collaboration with Apache Licensing and is a free software and open source project.OpenStack is a project managed by a cloud platform and it is not a software. The project consists of several major components that are combined to accomplish some specific work. OpenStack is an open source project designed to provide software for the building and management of public and private
If there is more than one Java version installed (sometimes some software installed itself), how to easily switch it. In addition to the common settings environment variables, today learned a new way to switch:Update-alternatives--config JavaUpdate-alternatives--config JavacAlso, how to install your own Java version:sudo update-alternatives--install/usr/bin/java
kinds of links: Hard link (hard link) and soft link (also known as symbolic link, that is, soft link or symbolic link). Links for Linux systems to solve the shared use of files, but also brings the hidden file path, increase the security of permissions and save storage, and other benefits. If an inode number corresponds to multiple file names, these files are referred to as hard links. In other words, a hard link is one file that uses multiple aliases (the following figure hard link is an alias
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.