DS1NMA Blog

https://docs.requarks.io/install/linux

 

Linux

Getting started with a Wiki.js installation on Linux

docs.requarks.io

Install

    Download the latest version of Wiki.js:

wget https://github.com/Requarks/wiki/releases/latest/download/wiki-js.tar.gz

    Extract the package to the final destination of your choice:

mkdir wiki
tar xzf wiki-js.tar.gz -C ./wiki
cd ./wiki

    Rename the sample config file to config.yml:

mv config.sample.yml config.yml

    Edit the config file and fill in your database and port settings (Configuration Reference):

nano config.yml

    For SQLite installations only: (skip this step otherwise) Fetch native bindings for SQLite3:

npm rebuild sqlite3

    Run Wiki.js

node server

    Wait until you are invited to open to the setup page in your browser.
    Complete the setup wizard to finish the installation.

Run as service

There are several solutions to run Wiki.js as a background service. We'll focus on systemd in this guide as it's available in nearly all linux distributions.

    Create a new file named wiki.service inside directory /etc/systemd/system.

nano /etc/systemd/system/wiki.service

    Paste the following contents (assuming your wiki is installed at /var/wiki):

[Unit]
Description=Wiki.js
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/node server
Restart=always
# Consider creating a dedicated user for Wiki.js here:
User=nobody
Environment=NODE_ENV=production
WorkingDirectory=/var/wiki

[Install]
WantedBy=multi-user.target

    Save the service file (CTRL+X, followed by Y).
    Reload systemd:

systemctl daemon-reload

    Run the service:

systemctl start wiki

    Enable the service on system boot.

systemctl enable wiki

Note: You can see the logs of the service using journalctl -u wiki

V18.6.1.1016_IRST_VMD.zip
3.12MB

인텔 11세대 CPU 탑재 노트북이나 PC에서 Win10/Win11 등 Windows OS 설치시 디스크 표시가 안됨.

드라이버 로드가 반드시 필요함.

첨부의 파일을 압축풀고 설치 화면에서 드라이버 로드를 실시해서 디스크를 띄워줘야 한다.

1. Zabbix 6.0에는 VMWare Templete가 내장되어 있다.

2. Zabbix 6.0에서 VMWare ESXi를 모니터링 하기 위해서 다음의 세가지 매크로가 필요하다. 

    {$VMWARE.HV.UUID} {$VMWARE.PASSWORD} {$VMWARE.URL} {$VMWARE.USERNAME}

3. 기존 Zabbix 5.0에서는  {$VMWARE.HV.UUID} 가 없어도 모니터링이 됬으나, Zabbix 6.0에서는 필요하다.

4. 그리고  {$VMWARE.HV.UUID} 를 구하는 방법은 ESXi 7.0.3 이하와 8.0.0이 다르다. 

     - 7.0 이하 esxcli system uuid get

     - 8.0 이상 vim-cmd hostsvc/hostsummary | grep uuid

5. 그리고 Zabbix에 호스트 등록시, Templeate는 VMWare 로. 

     - 이것으로 하면 하위 VM도 모두 디스커버리 등록된다.

6. 그리고, zabbix_server.conf에서 아래의 것 Enable 하고 서비스 재기동

    

StartVMwareCollectors=5

VMwareFrequency=60

VMwarePerfFrequency=60

VMwareCacheSize=8M

VMwareTimeout=10

https://cago-young.tistory.com/79

 

Raspberry pi Web(flask) LED 제어 on/off

라즈베리 파이 웹으로 LED 제어 하는법 예제 (on/off ) python에 Flask 로 web 구현 아래의 주소 에서 참고 하시면 좋을듯 https://inbearblog.blogspot.com/2018/10/diy-led.html https://m.blog.naver.com/PostView.nhn?blogId=cosmosjs

cago-young.tistory.com

[목표]

1. GPIO 포트로 릴레이를 제어한다.

2. 릴레이를 멀티탭에 연결한다.

3. 웹페이지에서 전원포트를 제어한다.

    - 굳이 TAPO의 전원기기를 사용할 필요가 없다.

 

4. 온도계 장착

5. FAN 제어 장착

6. Raspberry Pi를 VPN 또는 SSH 터널링으로 연결, IC-FR5000 IP Programming을 가능하게 한다.

    --> 이론상 가능

7. Raspberry Pi의 TCP Port를 Virtual Serial Port로 사용, VXR-7000/VXR-9000의 프로그래밍을 가능하게 한다.

    --> 실현가능성 거의 없을듯..

TVHeadend install on ubuntu 22.04 server.

Repository에서 설치하는 방법으로 진행한다.

일반적인 검색에서는 snapd를 사용한 설치나 Docker 설치방법이 대부분 이지만, snapd를 사용하는 경우 DTV 사용시 Mux를 사용할 수 없다.

 

1) 리포지토리 등록

curl -1sLf \
  'https://dl.cloudsmith.io/public/tvheadend/tvheadend/setup.deb.sh' \
  | sudo -E bash

2) sudo apt-get update

3) sudo apt-get install tvheadend

 

Ubuntu의 18.04, 20.04, 22.04 LTS 버전에서는 모두 통용됨.

1. This way is stable on installed Ubuntu 22.04 Server Core

    이 방법은 Ubuntu 22.04 Server Core가 설치된 상태를 기준으로 합니다. (Desktop 버전은 모름)

1) Asterisk 설치

sudo apt-get install unzip git gnupg2 curl libnewt-dev libssl-dev libncurses5-dev subversion libsqlite3-dev build-essential libjansson-dev libxml2-dev uuid-dev subversion
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-19-current.tar.gz
tar zxf asterisk-19-current.tar.gz
cd asterisk-19.*/
sudo ./contrib/scripts/get_mp3_source.sh
sudo ./contrib/scripts/install_prereq install
sudo ./configure
sudo make menuselect
(설치할 코덱 및 애드인 설치 요망)
sudo make -j2
sudo make install
sudo make samples
sudo make config
sudo ldconfig
sudo groupadd asterisk
sudo useradd -r -d /var/lib/asterisk -g asterisk asterisk
sudo usermod -aG audio,dialout asterisk
sudo chown -R asterisk.asterisk /etc/asterisk
sudo chown -R asterisk.asterisk /var/{lib,log,spool}/asterisk
sudo chown -R asterisk.asterisk /usr/lib/asterisk
sudo nano /etc/default/asterisk
(아래 내용 추가 또는 주석 해제)
AST_USER="asterisk"
AST_GROUP="asterisk"

sudo systemctl restart asterisk

sudo nano /etc/asterisk/cdr.conf
(아래 내용 수정)
[radius]
radiuscfg => /etc/radcli/radiusclient.conf

sudo nano /etc/asterisk/cel.conf
(아래 내용 수정)
[radius]
radiuscfg => /etc/radcli/radiusclient.conf

2) FreePBX 16 (사전에 apache, mariadb, php 7.4, nodejs 설치과정 포함)
sudo apt-get install apt-transport-https curl
sudo curl -o /etc/apt/trusted.gpg.d/mariadb_release_signing_key.asc 'https://mariadb.org/mariadb_release_signing_key.asc'
sudo sh -c "echo 'deb https://ftp.yz.yamagata-u.ac.jp/pub/dbms/mariadb/repo/10.10/ubuntu jammy main' >>/etc/apt/sources.list"
sudo apt-get update
sudo apt-get install mariadb-server
sudo mysql_secure_installation

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php

sudo apt-get install apache2
sudo apt-get install php7.4 libapache2-mod-php7.4
sudo apt-get install php7.4-cgi php7.4-common php7.4-curl php7.4-mbstring php7.4-gd 
sudo apt-get install php7.4-mysql php7.4-bcmath php7.4-zip php7.4-xml php7.4-imap php7.4-json php7.4-snmp
sudo apt-get install php-pear
sudo apt-get install nodejs npm 
sudo apt-get install python3-certbot-apache

wget http://mirror.freepbx.org/modules/packages/freepbx/freepbx-16.0-latest.tgz
tar -xvzf freepbx-16.0-latest.tgz
cd freepbx
sudo ./install -n
sudo fwconsole ma downloadinstall certman
sudo fwconsole ma install pm2

sudo sed -i 's/^(User|Group).*/ asterisk/' /etc/apache2/apache2.conf
sudo sed -i 's/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf
sudo sed -i 's/(^upload_max_filesize = )./2000M/' /etc/php/7.4/apache2/php.ini 
sudo sed -i 's/(^upload_max_filesize = )./2000M/' /etc/php/7.4/cli/php.ini

sudo a2enmod rewrite
sudo apt-get install sox
sudo systemctl restart apache2

Dell EMC 서버를 기준으로 작업 사항을 정한다. 

ESXi 7.0의 2022.09.30 기준 최신버전은 Update 3g (20328353) 이다. 

그러나, Dell EMC Customizing Version은 Update 3f (20036589) 이다. 

 

1. 신규설치 

 1) ESXI 7.0 (VMware-VMvisor-Installer-7.0.0.update03-20036589.x86_64-DellEMC_Customized-A06.iso) 으로 설치한다.

 2) ESXI를 유지보수모드로 전환한다.

 2) SSH를 Enable 한다. 

 3) Putty로 SSH에 접속한다. 

 4) Filezilla 등 SFTP로 VMware-ESXi-7.0U3g-20328353-depot.zip 을 Datastore에 업로드 한다. 

 4) 아래 명령으로 업그레이드를 실시한다. 

esxcli software profile update -p ESXi-7.0U3g-20328353-standard -d /vmfs/volumes/datastore1/VMware-ESXi-7.0U3g-20328353-depot.zip
# 만약, 7.0.3 설치 하드웨어가 4세대 Xeon 이전 CPU라면, 이후 릴리즈에서 지원하지 않을 수 있다는 경고가 표시되며 중지된다. 아래와 같이 옵션 추가를 한다. 
esxcli software profile update -p ESXi-7.0U3g-20328353-standard -d /vmfs/volumes/datastore1/VMware-ESXi-7.0U3g-20328353-depot.zip --no-hardware-warning --no-sig-check

 

2. 기존서버 설치 

 1) ESXI 6.5로 업그레이드 설치한다. (VMware-VMvisor-Installer-201908001-14320405.x86_64.iso)

     - MBR(BIOS) Boot로 설치한다. 

 2) ESXI 7.0 (VMware-VMvisor-Installer-7.0.0.update03-20036589.x86_64-DellEMC_Customized-A06.iso) 으로 설치한다.

     - UEFI Boot로 설치한다. BIOS에서 UEFI Boot로 변경해야 한다. 

     - 7.0.3 버전은 TPM 및 Secure Boot를 지원하므로 Secure Boot를 켜주어야 한다. 

 3) ESXI를 유지보수모드로 전환한다.

 4) SSH를 Enable 한다. 

 5) Putty로 SSH에 접속한다. 

 6) Filezilla 등 SFTP로 VMware-ESXi-7.0U3g-20328353-depot.zip 을 Datastore에 업로드 한다. 

 7) 아래 명령으로 업그레이드를 실시한다. 

esxcli software profile update -p ESXi-7.0U3g-20328353-standard -d /vmfs/volumes/datastore1/VMware-ESXi-7.0U3g-20328353-depot.zip
esxcli software profile update -p ESXi-7.0U3g-20328353-standard -d /vmfs/volumes/datastore1/VMware-ESXi-7.0U3g-20328353-depot.zip --no-sig-check

 

인텔 TSX-NI 는 엔터프라이즈급 멀티쓰레드 성능 확장에 초점을 맞춘 명령어 세트로서 소프트웨어 쓰레드(threads) 및 락(lock)에 대한 향상된 제어를 통해 병렬 운영(parallel operations)의 효율성을 증가시켜준다. 

 

1) Active

   CMD 열고 실행 

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Kernel" /v DisableTsx /t REG_DWORD /d 1 /f

 

2) Deactive

   CMD 열고 실행

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Kernel" /v DisableTsx /t REG_DWORD /d 0 /f

705 Opening Screen Template.zip
0.33MB
openingpics705.zip
2.67MB

IC-705 Opening Screen을 만들어 SD메모리의 /IC-705/OpeningScreen 디렉토리에 넣고

무전기에서 부팅화면을 설정할 수 있음. (Advanced manual 참고)

 

템플릿을 사용하여 Photoshop으로 이미지를 만든 경우,

 1) 24bit BMP로 저장하고 나서

 2) 반드시, 윈도우 "그림판" (mspaint.exe)에서 열고 다시한번 저장할 것!

     - 이것 안하면 Illegral Error 발생함.

2022.05.17 작성

CS-705에서 각 항목에서 CSV파일을 로딩하여 Import 가능.

ICF 파일에는 모두 적용되어 있으며, 본인의 IC-705 세팅까지도 포함됨.

 

705_J_Rpt_211113_2.csv
0.25MB
705_Radio_List.csv
0.01MB
705_J_GPS_20220517.csv
0.01MB
Set20220517_02.icf
0.56MB