Rocky-8.5-x86_64-dvd1.iso
# timedatectl set-timezone Asia/Tokyo
# gpg --quiet --show-keys /etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
# dnf update
# dnf repolist all
# dnf install gnome-tweaks
拡張機能 all on
# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
# dnf --enablerepo=epel install clamav clamav-scanner-systemd clamav-update
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
# dnf update
# dnf install google-chrome-stable
# dnf install amdgpu-install-21.50.2.50002-1.el8.noarch.rpm
# dnf install sshpass
# dnf install xfreerdp
# dnf install setroubleshoot・その他
【dbeaver】
# rpm -Uvh dbeaver-ce-22.0.2-stable.x86_64.rpm
【vscode】
# rpm --import https://packages.microsoft.com/keys/microsoft.asc
# vi /etc/yum.repos.d/vscode.repo
[code]name=Visual Studio Code
baseurl=https://packages.microsoft.com/yumrepos/vscode
# vi /etc/httpd/conf.modules.d/20-wsgi.conf
LoadModule wsgi_module /var/www/wsgi/test/myenv/venv36-d324/lib/python3.6/site-packages/mod_wsgi/server/mod_wsgi-py36.cpython-36m-x86_64-linux-gnu.so
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300
WSGIApplicationGroup %{GLOBAL}
WSGISocketPrefix /var/run/wsgi
WSGIDaemonProcess test user=apache group=apache processes=1 threads=100 maximum-requests=10000 \
home=/var/www/wsgi/test \
python-home=/var/www/wsgi/test/myenv/venv36-d324 \
python-path=/var/www/wsgi/test/django:/var/www/wsgi/test/myenv/venv36-d324/lib/python3.6/site-packages \
lang=ja_JP.utf8
WSGIScriptAlias /test /var/www/wsgi/test/Config/wsgi.py process-group=test
Alias /assets/ /var/www/wsgi/test/assets/
Alias /media/ /var/www/wsgi/test/media/
WSGIPassAuthorization on
<Location /test>
WSGIProcessGroup test
</Location>
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
# dnf install code
日本語化:拡張機能→Japanese Language Pack for Visual studio Code
【libreoffice】
下記からダウンロード
https://ja.libreoffice.org/download/download/?type=rpm-x86_64&version=7.3.2&lang=ja
LibreOffice_7.3.2_Linux_x86-64_rpm.tar.gz
LibreOffice_7.3.2_Linux_x86-64_rpm_helppack_ja.tar.gz
LibreOffice_7.3.2_Linux_x86-64_rpm_langpack_ja.tar.gz
# tar xvzf LibreOffice_7.3.2_Linux_x86-64_rpm.tar.gz
# tar xvzf LibreOffice_7.3.2_Linux_x86-64_rpm_helppack_ja.tar.gz
# tar xvzf LibreOffice_7.3.2_Linux_x86-64_rpm_langpack_ja.tar.gz
# cd LibreOffice_7.3.2.2_Linux_x86-64_rpm/RPMS
# dnf install *.rpm
# cd LibreOffice_7.3.2.2_Linux_x86-64_rpm_langpack_ja/RPMS
# dnf install *.rpm
# cd LibreOffice_7.3.2.2_Linux_x86-64_rpm_helppack_ja/RPMS
# dnf install *.rpm
【gimp/xsane】
# dnf install gimp xsane xsane-gimphttps://wasurenaiyounikaitoko.blogspot.com/search?q=gimp
【ntfs】
# dnf install ntfs-3g ntfsprogs
【zoom】
https://zoom.us/download?os=linux
# dnf install zoom_x86_64.rpm
Home画面の右上の自アカウントをクリックし、[Help] -> [Switch Languages] -> [日本語]
【dnf】
# vi /etc/yum.conf
proxy=http://192.168.100.254:3128
【HTTP_PROXY】
# vi /etc/profile.d/sh.local
PROXY_URL="proxy.server.world:3128"
or
PROXY_URL=http://192.168.254.254:3128
export HTTP_PROXY=$PROXY_URL
export HTTPS_PROXY=$PROXY_URL
export FTP_PROXY=$PROXY_URL
export http_proxy=$PROXY_URL
export https_proxy=$PROXY_URL
export ftp_proxy=$PROXY_URL
【zabbix client】
https://wasurenaiyounikaitoko.blogspot.com/search?q=zabbix5
【Django/python】
※ RuntimeError: The 'apxs' command appears not to be installed or is not executable.
# dnf install httpd httpd-devel
# mkdir /var/www/wsgi
# firewall-cmd --add-service=http --zone=public --permanent
# firewall-cmd --reload
LoadModule wsgi_module /var/www/wsgi/test/myenv/venv36-d324/lib/python3.6/site-packages/mod_wsgi/server/mod_wsgi-py36.cpython-36m-x86_64-linux-gnu.so
# vi /etc/httpd/conf.d/wsgi.conf
## Timeout: The number of seconds before receives and sends time out.
#
Timeout 300
WSGIApplicationGroup %{GLOBAL}
WSGISocketPrefix /var/run/wsgi
WSGIDaemonProcess test user=apache group=apache processes=1 threads=100 maximum-requests=10000 \
home=/var/www/wsgi/test \
python-home=/var/www/wsgi/test/myenv/venv36-d324 \
python-path=/var/www/wsgi/test/django:/var/www/wsgi/test/myenv/venv36-d324/lib/python3.6/site-packages \
lang=ja_JP.utf8
WSGIScriptAlias /test /var/www/wsgi/test/Config/wsgi.py process-group=test
Alias /assets/ /var/www/wsgi/test/assets/
Alias /media/ /var/www/wsgi/test/media/
WSGIPassAuthorization on
<Location /test>
WSGIProcessGroup test
</Location>
# vi /etc/httpd/conf/httpd.conf
ServerName websv1:80
※ configure: error: no acceptable C compiler found in $PATH
※ RuntimeError: Failed to build APR.
※ sh: make: コマンドが見つかりません
# dnf install gcc make
※ OSError: mysql_config not found
# dnf remove mysql*
# dnf remove Mariadb*
# curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
# dnf install MariaDB-client MariaDB-common MariaDB-devel MariaDB-shared
※ MySQLdb/_mysql.c:46:10: 致命的エラー: Python.h: そのようなファイルやディレクトリはありません
# dnf install python36-devel
※ Unable to find zbar shared library
# dnf install zbar
※ /var/www/wsgi/にpyton仮想環境構築
# mkdir /var/log/python
# chown apache:apache /var/log/python
# httpd -t
# systemctl start httpd
# systemctl enable httpd
※mod_wsgi-py36.cpython-36m-x86_64-linux-gnu.so がロードできない。
→setenforce 0 (暫定)
0 件のコメント:
コメントを投稿