'분류 전체보기'에 해당되는 글 2491건
- 2021.02.17 AIX 패스워드 변경 반복 이슈
- 2021.02.09 and host property for your Bluemix Cloud Foundry apps
- 2021.02.09 Deploying with App Manifests host
- 2021.02.04 [부록 파일 공개] 클라우드 파운드리 환경의 준비와 활용
- 2021.02.04 Cloud Foundry manifest.yml sample
- 2021.02.04 oracle db
- 2021.02.03 [1111] Apache HTTP Server Version 2.4 LOG 설정
- 2021.02.03 This is the home of the HTTPD space.
- 2021.02.03 [1111] free nas mount
- 2021.02.03 s3fs를 사용하여 버킷 마운트
- 2021.02.03 [1111] AWS Korea(Seoul) Region에 S3FS 설치하기
- 2021.02.03 [1111] s3fs-fuse
- 2021.02.03 Object Storage 지원 Tool 중 하나인 s3fs의 설치방법과 기본 사용법에 대해 설명합니다.
- 2021.02.03 A Guide on How to Mount Amazon S3 as a Drive for Cloud File Sharing
- 2021.02.02 cloud foundry Deploying apps
- 2021.02.02 [1111] Cloud Foundry Manifest 파일에서 지원되는 옵션
- 2021.02.02 CentOS 7에서 Java JDK 설치방법 및 환경변수 설정
- 2021.02.02 BLAST(Basic Local Alignment Search Tool)설치
- 2021.02.02 좌충우돌 BLAST+ 설치 방법
- 2021.02.02 Question: BLAST Command Line - restarting
- 2021.02.01 Use the Salesforce CLI from Behind a Company Firewall or Web Proxy
- 2021.02.01 Using PCF Dev Behind a Proxy
- 2021.01.29 [1111] Apache Module mod_proxy_ajp
- 2021.01.29 apache expires 설정으로 브라우저 캐시
- 2021.01.28 스프링 부트 강좌
- 2021.01.28 Cloud Foundry Introduction PDF
- 2021.01.28 클라우드 파운드리 환경의 준비와 활용
- 2021.01.28 Cloud Foundry CLI Reference Guide
- 2021.01.28 톰캣 DataSource user 정보 암호화 시키기
- 2021.01.26 centos mysql offline install
www.ibm.com/cloud/blog/manifest-files-understand-domain-host-property-bluemix-cloud-foundry-apps
The file “manifest.yml”: applications: - name: python-app memory: 256M command: python myapp.py host: yourname-demo-app-python domains: - example.com - eu-gb.mybluemix.net path: ./top/ - name: node-app hosts: - yourname-demo-app-node1 - yourname-demo-app-node2 memory: 256M path: ./lower/ |
--- applications:
- name: dylan
routes:
- route: route.example.com
- route: another-route.example.com
--- .
.. routes:
- route: example.com
- route: www.example.com/foo
- route: tcp-example.com:1234
applications: |
- name: console |
memory: 1512M |
disk_quota: 1024M |
host: console |
timeout: 180 |
buildpack: https://github.com/cloudfoundry-incubator/stratos-buildpack#v2 |
health-check-type: port |
--- |
applications: |
- name: panchicore-web |
host: panchicore-web |
domain: cfapps.io |
buildpack: https://github.com/cloudfoundry/python-buildpack |
command: python manage.py runserver --insecure 0.0.0.0:$PORT |
instances: 1 |
memory: 512M |
disk_quota: 1G |
timeout: 10 |
services: |
- hypermap-db-hippo |
- panchicore-papertrail |
- panchicore-redis |
- name: panchicore-celery |
host: panchicore-celery |
domain: cfapps.io |
no-route: true |
buildpack: https://github.com/cloudfoundry/python-buildpack |
command: python manage.py runserver --insecure 0.0.0.0:$PORT & celery -A tasks worker --loglevel=info --concurrency=1 |
instances: 1 |
memory: 512M |
disk_quota: 1G |
timeout: 10 |
services: |
- hypermap-db-hippo |
- panchicore-redis |
- panchicore-papertrail |
Apache HTTP Server Version 2.4httpd.apache.org/docs/2.4/logs.html
AWS Korea(Seoul) Region에 S3FS 설치하기www.studyforcloud.com/aws-korea-seoul-regione-s3fs-seolcihagi-2/
AWS S3를 이용하여 서버에서 파일시스템처럼 마운트 하는 방법입니다.
faq.hostway.co.kr/AWS_FAQ/7243
s3fs-fusegithub.com/s3fs-fuse/s3fs-fuse
s3fs
s3fs allows Linux and macOS to mount an S3 bucket via FUSE. s3fs preserves the native object format for files, allowing use of other tools like AWS CLI.
Features
- large subset of POSIX including reading/writing files, directories, symlinks, mode, uid/gid, and extended attributes
- compatible with Amazon S3, and other S3-based object stores
- allows random writes and appends
- large files via multi-part upload
- renames via server-side copy
- optional server-side encryption
- data integrity via MD5 hashes
- in-memory metadata caching
- local disk data caching
- user-specified regions, including Amazon GovCloud
- authenticate via v2 or v4 signatures
Installation
Many systems provide pre-built packages:
-
Amazon Linux via EPEL:
sudo amazon-linux-extras install epel sudo yum install s3fs-fuse -
Arch Linux:
sudo pacman -S s3fs-fuse -
Debian 9 and Ubuntu 16.04 or newer:
sudo apt install s3fs -
Fedora 27 or newer:
sudo dnf install s3fs-fuse -
Gentoo:
sudo emerge net-fs/s3fs -
RHEL and CentOS 7 or newer through via EPEL:
sudo yum install epel-release sudo yum install s3fs-fuse -
SUSE 12 and openSUSE 42.1 or newer:
sudo zypper install s3fs -
macOS via Homebrew:
brew install --cask osxfuse brew install s3fs
Otherwise consult the compilation instructions.
Examples
s3fs supports the standard AWS credentials file stored in ${HOME}/.aws/credentials. Alternatively, s3fs supports a custom passwd file.
The default location for the s3fs password file can be created:
- using a .passwd-s3fs file in the users home directory (i.e. ${HOME}/.passwd-s3fs)
- using the system-wide /etc/passwd-s3fs file
Enter your credentials in a file ${HOME}/.passwd-s3fs and set owner-only permissions:
echo ACCESS_KEY_ID:SECRET_ACCESS_KEY > ${HOME}/.passwd-s3fs chmod 600 ${HOME}/.passwd-s3fs
Run s3fs with an existing bucket mybucket and directory /path/to/mountpoint:
s3fs mybucket /path/to/mountpoint -o passwd_file=${HOME}/.passwd-s3fs
If you encounter any errors, enable debug output:
s3fs mybucket /path/to/mountpoint -o passwd_file=${HOME}/.passwd-s3fs -o dbglevel=info -f -o curldbg
You can also mount on boot by entering the following line to /etc/fstab:
mybucket /path/to/mountpoint fuse.s3fs _netdev,allow_other 0 0
or
mybucket /path/to/mountpoint fuse.s3fs _netdev,allow_other 0 0
If you use s3fs with a non-Amazon S3 implementation, specify the URL and path-style requests:
s3fs mybucket /path/to/mountpoint -o passwd_file=${HOME}/.passwd-s3fs -o url=https://url.to.s3/ -o use_path_request_style
or(fstab)
mybucket /path/to/mountpoint fuse.s3fs _netdev,allow_other,use_path_request_style,url=https://url.to.s3/ 0 0
Note: You may also want to create the global credential file first
echo ACCESS_KEY_ID:SECRET_ACCESS_KEY > /etc/passwd-s3fs chmod 600 /etc/passwd-s3fs
Note2: You may also need to make sure netfs service is start on boot
Limitations
Generally S3 cannot offer the same performance or semantics as a local file system. More specifically:
- random writes or appends to files require rewriting the entire object, optimized with multi-part upload copy
- metadata operations such as listing directories have poor performance due to network latency
- non-AWS providers may have eventual consistency so reads can temporarily yield stale data (AWS offers read-after-write consistency since Dec 2020)
- no atomic renames of files or directories
- no coordination between multiple clients mounting the same bucket
- no hard links
- inotify detects only local modifications, not external ones by other clients or tools
References
- goofys - similar to s3fs but has better performance and less POSIX compatibility
- s3backer - mount an S3 bucket as a single file
- S3Proxy - combine with s3fs to mount Backblaze B2, EMC Atmos, Microsoft Azure, and OpenStack Swift buckets
- s3ql - similar to s3fs but uses its own object format
- YAS3FS - similar to s3fs but uses SNS to allow multiple clients to mount a bucket
Frequently Asked Questions
License
Copyright (C) 2010 Randy Rizun rrizun@gmail.com
Licensed under the GNU GPL version 2
A Guide on How to Mount Amazon S3 as a Drive for Cloud File Sharing
www.nakivo.com/blog/mount-amazon-s3-as-a-drive-how-to-guide/
egloos.zum.com/mcchae/v/11314101
Question: BLAST Command Line - restartingwww.biostars.org/p/287129/
1. 설치된 패키지 확인
yum list installed | grep mysql
[root@localhost tmp]# yum search mysql-community
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
-
base: mirror.kakao.com
-
epel: ftp.iij.ad.jp
-
extras: mirror.kakao.com
-
updates: mirror.kakao.com
=================================================== N/S matched: mysql-community ===================================================
mysql-community-client.i686 : MySQL database client applications and tools
mysql-community-client.x86_64 : MySQL database client applications and tools
mysql-community-client-plugins.i686 : Shared plugins for MySQL client applications
mysql-community-client-plugins.x86_64 : Shared plugins for MySQL client applications
mysql-community-common.i686 : MySQL database common files for server and client libs
mysql-community-common.x86_64 : MySQL database common files for server and client libs
mysql-community-devel.i686 : Development header files and libraries for MySQL database client applications
mysql-community-devel.x86_64 : Development header files and libraries for MySQL database client applications
mysql-community-embedded-compat.i686 : MySQL embedded compat library
mysql-community-embedded-compat.x86_64 : MySQL embedded compat library
mysql-community-libs.i686 : Shared libraries for MySQL database client applications
mysql-community-libs.x86_64 : Shared libraries for MySQL database client applications
mysql-community-libs-compat.i686 : Shared compat libraries for MySQL 5.6.37 database client applications
mysql-community-libs-compat.x86_64 : Shared compat libraries for MySQL 5.6.45 database client applications
mysql-community-release.noarch : MySQL repository configuration for yum
mysql-community-server.x86_64 : A very fast and reliable SQL database server
mysql-community-test.x86_64 : Test suite for the MySQL database serverName and summary matches only, use "search all" for everything.
2. 특정장소에 다운로드
yum install --downloadonly --downloaddir=/work/tmp mysql-community-client.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-client-plugins.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-common.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-devel.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-embedded-compat.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-libs.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-libs-compat.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-release.noarch
yum install --downloadonly --downloaddir=/work/tmp mysql-community-server.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-test.x86_64
3. rpm 설치 rpm -Uvh *.rpm
rpm -Uvh mysql-community-common-8.0.23-1.el7.x86_64.rpm
rpm -Uvh mysql-community-libs-8.0.23-1.el7.x86_64.rpm
rpm -Uvh mysql-community-client-8.0.23-1.el7.x86_64.rpm
rpm -Uvh mysql-community-client-plugins-8.0.23-1.el7.x86_64.rpm
rpm -Uvh mysql-community-libs-compat-8.0.23-1.el7.x86_64.rpm
rpm -Uvh mysql-community-server-8.0.23-1.el7.x86_64.rpm
4. 의존성설치
5. 참고
www.lesstif.com/dbms/rhel-centos-ubuntu-mysql-5-6-5-7-24445108.html