์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- ์ค์๋ธ ์ค์น
- ํ๋ก์ค์น
- rpmbuild
- CLF-C02
- ํ๋ก
- BIGDATA
- ์ค์๋ธ
- ansible
- ์ํ์น ์คํํฌ
- Apache spark
- ๋ฆฌ๋ ์ค RPM
- ํด ์ค์น
- elastic stack
- standalone
- LeetCode
- ์ค์นผ๋ผ ๋ถ
- ์ฑ๊ธ์๋ฒ
- ์๋ผ์คํฑ์์น
- hadoop
- ํ๋ก์์ฝ์์คํ
- ๋น ๋ฐ์ดํฐ
- ์คํํฌ
- kudu
- ๋ฐ์ดํฐ๋ถ์์ค์ ๋ฌธ๊ฐ
- aws ccp
- airflow
- HBase
- ํ์ด๋ธ
- ๋ฆฟ์ฝ๋
- ๋ฆฌ๋ ์ค
- Today
- Total
๋ชฉ๋ก๋ฆฌ๋ ์ค (7)
data_lab
yum ๋ช ๋ น์ด๋ก ์ค์นํ๋ํ์ ๋ ๋ด๊ฐ ์ํ๋ ๋ฒ์ ๊ณผ ๋ค๋ฅธ ๊ฒฝ์ฐ๊ฐ ์๋ค. ์ด๋ฏธ ์ค์นํ๊ณ ๋์ ๋ค์ ์ง์ฐ๊ณ ํ ๋ ์ข ๋ฒ๊ฑฐ๋ก์ด ๋ถ๋ถ์ด ์์ด์ ์ค์นํ ๋ ์ํ๋ ๋ฒ์ ์ผ๋ก ์ค์นํ๋๊ฒ ๊น๋ํ๋ค. ์ค์น๊ณผ์ ์ centos7๋ฒ์ ๊ธฐ์ค์ด๋ฉฐ, OS์ OS๋ฒ์ ์ ๋ง๊ฒ ๊ณต์์ฌ์ดํธ์์ ๋ช ๋ น์ด๋ฅผ ์ ๊ณตํด์ฃผ๋ ์ฐธ๊ณ ํ๋ฉด๋๋ค. sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm sudo yum install -y postgresql12-server sudo /usr/pgsql-12/bin/postgresql-12-setup initdb sudo systemctl enable ..
Linux CentOS 7 v ๊ธฐ์ค์ผ๋ก ์์ฑ๋์์ 1234567891011121314151617181920212223yum install postgresql-server postgresql-server postgresql-contrib postgresql-devel postgresql-setup --initdbsystemctl enable postgresql*systemctl start postgresql* su - postgrescd /var/lib/pgsql/data/vi postgresql.conflisten_address="*" :wq! vi pg_hba.conflocal all all trusthost all all 0.0.0.0/0 trusthost all all ::/0 trust :wq! ..
rpm ํ์ผ ์์ถํด์ 1 rpm2cpio test_rpm.noarch.rpm | cpio -idv cs rpm ํ์ผ ์ค์น 1 rpm -Uvh test_rpm.noarch.rpm cs rpm ํ์ผ ์ ๊ฑฐ 1 rpm -ev test_rpm.noarch.rpm cs --noscript ๊ฐ์ ์ต์ ์ ์จ์ ๊ฐ์ ์ญ์ ํจ rpm ํ์ผ ๊ฒ์ฆ 1 rpm -q test_rpm.noarch.rpm cs ๋ช ๋ น์ด ์ต์ ์ ์ฐพ์๋ณด๋ฉด ๋ ์๋ค.
SPEC ํ์ผ์ ์์์ ๋ํด ์์๋ณด๋ คํ๋ค. Name: RPM_NAME rpmbuildํ ์์ฑ๋๋ rpmํ์ผ์ ์ด๋ฆ Version: 1 rpmbuildํ ์์ฑ๋๋ rpmํ์ผ์ ๋ฒ์ Release: 1 rpmbuildํ ์์ฑ๋๋ rpmํ์ผ์ ๋ฆด๋ฆฌ์ฆ๋ฒ์ Summary: Test License: ASL 2.0 URL: http://hadoop.apache.org/core/ Group: Development/Libraries Source0: example rpmbuild ์ ์ฌ์ฉ๋๋ Source ํ์ผ BuildArch: noarch rpmbuild์ ์ํคํ ์ณ ํ์ %description rpmํ์ผ ๋ง๋๋ ค๋ ํ์ผ์ ์ค๋ช . ํด๋น๋ถ๋ถ์์ ์ ๋น๋ ์คํจ example~ %filees /test1 Name-Version-..
Linux CentOS ๊ธฐ์ค ** rpm = redhat package manager ์ ์ค์๋ง๋ก rpm ํ์ผ์ ์ค์นํ๋ฉด, ์ํ๋ ๋๋ ํฐ๋ฆฌ์ ํ์ผ์ด ์ ์ฅ๋๊ณ ์ ์ ๊ฐ ์ถ๊ฐ๋ ์ฌ๋ณผ๋ง ๋งํฌ๊น์ง ํ๋ฒ์ ํด๊ฒฐํ ์ ์๋ค. rpmํ์ผ์ spec์ด๋ผ๋ ํ์ผ๋ก ๋ง๋๋๋ฐ ์ผ๋จ spec ํ์ผ์ rpm ํ์ผ๋ก ๋น๋ํ๊ธฐ์ํด rpmbuild ๋๋ ํฐ๋ฆฌ ๊ตฌ์กฐ๋ฅผ ์์๋ณด๋ คํ๋ค. rpmbuild๋ฅผ ๋ฆฌ๋ ์ค์์ ์ค์นํ๋ค. 1 yum install rpm-build cs /rpmbuild ๋๋ ํฐ๋ฆฌ๋ก ์ด๋ํ๋ฉด ๋๋ ํฐ๋ฆฌ ๊ตฌ์กฐ๋ ์๋์ ๊ฐ๋ค. BUILD: ์ปดํ์ผ์ ์์ฑ๊ดธ ํ์ผ๊ณผ ์์ค๋ค RPMS: ์ต์ข ๊ฒฐ๊ณผ๋ฌผSRPMS: rpmํ์ผ์ ๋ง๋ค๋ฉด์ ์ฌ์ฉ๋ SOURCESํ์ผ๊ณผ SPECํ์ผ SOURCES: rpmํ์ผ๋ก ๋ฌถ์ผ๋ ค๋ ์์คํ์ผ๋ค SPECS : rpmํ..
https://docs.ansible.com/ansible/latest/index.html Ansible Documentation โ Ansible Documentation ยฉ Copyright Ansible project contributors. Last updated on Jun 07, 2021. docs.ansible.com ์ค์น์ ์๊ตฌ ์ฌํญ you can use any machine with Python 2 (version 2.7) or Python 3 (versions 3.5 and higher) installed ์ค์นํ๊ฒฝ์ Cent OS๋ก ์งํํ์๋ค. 1 2 $ sudo yum install epel-release $ sudo yum install ansible cs /etc/ansible ์ด..
ํ๋ก ๋ฒ์ 3.1 ๊ธฐ์ค์ผ๋ก ๊ฐ์ธ์ ์ผ๋ก ์ ๋ฆฌํ ๋ช ๋ น์ด์ด๋ค. ๊ธฐ์กด์ ๋ฆฌ๋ ์ค์ ๋ํด ๊ณต๋ถํ๋ค๋ฉด ํ๋ก ๋ช ๋ น์ด๋ฅผ ๊ณต๋ถํ๋๋ฐ์ ์์ฒญ ์ด๋ ต์ง์๋ค. 1.hdfs dfs โcat /tmp/Sample2.txt #ํ์ผ ์ฝ๊ธฐ 2.hdfs dfs โchecksum /tmp/Sample2.txt ๋ฐ์ดํฐ๋ฌด๊ฒฐ์ฑ 3.hdfs dfs โchgrp kyn /tmp/Sample2.txt 4.hdfs dfs โchown kyn /tmp/Sample2.txt 5.hdfs dfs โchmod โR 777 /tmp/Sample2.txt 6.hdfs dfs โcopyFromLocal /tmp/Sample2.txt put์ ์ฌ 7.hdfs dfs โcopyToLocal /tmp/Sample2.txt 8.hdfs dfs โcount /tmp/Sampl..