์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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
- HBase
- Apache spark
- ์คํํฌ
- ์๋ผ์คํฑ์์น
- ๋ฐ์ดํฐ๋ถ์์ค์ ๋ฌธ๊ฐ
- ํ๋ก์ค์น
- standalone
- ๋ฆฌ๋ ์ค
- ansible
- ๋ฆฟ์ฝ๋
- ์ฑ๊ธ์๋ฒ
- ํด ์ค์น
- elastic stack
- ์ค์นผ๋ผ ๋ถ
- ์ค์๋ธ
- ๋น ๋ฐ์ดํฐ
- LeetCode
- airflow
- ์ํ์น ์คํํฌ
- kudu
- hadoop
- ํ์ด๋ธ
- ๋ฆฌ๋ ์ค RPM
- ํ๋ก์์ฝ์์คํ
- aws ccp
- CLF-C02
- BIGDATA
- ํ๋ก
- ์ค์๋ธ ์ค์น
- Today
- Total
๋ชฉ๋กLINUX (11)
data_lab
์ ์ ๋๊ณ ๋๋ mstsc๋ก ์๋ง ์ฐ๋ GUIํ๊ฒฝ์ด ๋จนํต์ด ๋์๋ค. # systemctl status xrdp.service ๋ช ๋ น์ด๋ ํ์ฌ xrdp ์ํ๋ฅผ ํ์ธํด์ค๋ค. ์๋ ๊ฒฝ์ฐ ์ค์น๋จผ์ # yum install xrdp # systemctl start xrdp.service # systemctl enable xrdp.service # systemctl status xrdp.service xrdp.service - xrdp daemon Loaded: loaded (/usr/lib/systemd/system/xrdp.service; enabled; vendor preset: disabled) Active: active (running) since ๋ชฉ 2021-09-30 13:29:16 KST; 3s ago ..
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 ..
https://www.elastic.co/kr/downloads/kibana Download Kibana Free | Get Started Now | Elastic Download Kibana or the complete Elastic Stack (formerly ELK stack) for free and start visualizing, analyzing, and exploring your data with Elastic in minutes. www.elastic.co ํค๋ฐ๋ ๋ค์ด๋ก๋ ์น์ฌ์ดํธ์ ์ ์ํ์ฌ ์ฌ์ฉํ ์๋ฒ์ OS์ ๋ง๊ฒ ๋ค์ด๋ก๋ ๋ฐ์์ ์ค์นํ๋ฉด ๋๋ค. Linux CentOS7๊ธฐ์ค์ผ๋ก ์ค์น๋ฅผ ์งํํ๋ฉด # wget https://artifacts.elastic.co/downloads/kibana..
https://www.notion.so/Elastic-Search-Install-73057f3b39ac4b26a8952f78e38e4e0d Elastic Search Install # wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.14.1-linux-x86_64.tar.gz # tar xvzf elasticsearch-7.14.1-linux-x86_64.tar.gz #./bin/elasticsearch www.notion.so ํด๋น ํ์ด์ง์์ ๊ฐ์์ ๋ง๋ ๋ฒ์ ์ผ๋ก ๋ค์ด๋ก๋๋ฅผ ๋ฐ๋๋ค. ๋ฆฌ๋ ์ค Cent OS 7๋ฒ์ ๊ธฐ์ค์ผ๋ก ์งํํ๋ฉด, # wget https://artifacts.elastic.co/downloads/elas..
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ํ..
ansible-playbook -i hosts ex.yml -i ์ต์ ์ผ๋ก ํธ์คํธ ํ์ผ ์์ ์๋ ์๊ฒฉ์ง๋ก ์ผ๋ฏํ์ผ ์คํ๋จ ansible-playbook hosts ex.yml --skip-tags tags ์ผ๋ฏํ์ผ์ ์์ฑ ๋ ํ๊ทธ๋ฅผ ์ฝ์ด์ ํด๋น ํ๊ทธ๊น์ง task ์๋ต๋จ
ansible ๋๋ ํฐ๋ฆฌ ๊ตฌ์กฐ /etc/ansible - ansible ํ hosts - ansible inventory ๋ก ์คํฌ๋ฆฝํธ๋ฅผ ๋ ๋ฆด ์๊ฒฉ ์๋ฒ ๋ชจ์ ansible.cfg - ansible ํ๊ฒฝ ์ค์ ์ผ๋ก sh ์คํ sh,bash ์ผ์ง ์ ํํ๊ฑฐ๋ ansible ๋ก๊ทธ ๋จ๊ธฐ๋ ๋๋ ํฐ๋ฆฌ ์ค์ roles - ansible ์คํํ playbook ๋ชจ์ (task ๋ชจ์์ด๋ผ๊ณ ์๊ฐํ๋ฉด ๋จ) mysql tasks - mysql ์ค์นํ๋ task ๋ชจ์ templates - mysql ์ค์น ํ ํ๊ฒฝ ์ธํ ํ๋ ํ์ผ ๋ชจ์ (ex : my.ini) handlers - mysql service ์คํ example_site.yml - roles์ ์์ฑ๋ tasks ์คํํ ํ์ผ ํด๋น ์ฝ๋๋ github๋ฅผ ์ฐธ์กฐํ์์ https:/..