○Atomの画面

インストール方法
以下のコマンドを実行します。wget https://github.com/atom/atom/releases/download/v1.53.0/atom.x86_64.rpm
sudo dnf -y install atom.x86_64.rpm

wget https://github.com/atom/atom/releases/download/v1.53.0/atom.x86_64.rpm
sudo dnf -y install atom.x86_64.rpm

sudo dnf -y install flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak -y install flathub org.gnome.Weather
/grantme teleport
/teleport -256,200,-256

from microbit import *
uart.init(115200)
display.show(Image.TRIANGLE)
while True:
gesture = accelerometer.current_gesture()
uart.write(gesture + "\n")
if button_a.is_pressed() and button_b.is_pressed():
display.clear()
uart.write("stop.\n")
break
sleep(100)
uart.init(115200)

sudo firewall-cmd --add-service=http --permanent
sudo firewall-cmd --reload
wget https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
sudo rpm -Uvh pgdg-redhat-repo-latest.noarch.rpm
sudo dnf -qy module disable postgresql
sudo dnf -y update
sudo dnf -y install postgresql13-server postgresql13-devel postgresql13-contrib
sudo systemctl enable postgresql-13
sudo /usr/pgsql-13/bin/postgresql-13-setup initdb
echo "listen_addresses='*'" | sudo tee -a /var/lib/pgsql/13/data/postgresql.conf
sudo sed -i 's/host.*all.*all.*127.0.0.1/#host all all 127.0.0.1/g' /var/lib/pgsql/13/data/pg_hba.conf
sudo sed -i 's|^host.*all.*all.*::1/128|#host all all ::1/128|g' /var/lib/pgsql/13/data/pg_hba.conf
echo "host all all 127.0.0.1/32 password" | sudo tee -a /var/lib/pgsql/13/data/pg_hba.conf
echo "host all all ::1/128 password" | sudo tee -a /var/lib/pgsql/13/data/pg_hba.conf
echo "host all all 192.168.1.0/24 password" | sudo tee -a /var/lib/pgsql/13/data/pg_hba.conf
※ネットワークアドレスは適宜変更してください
sudo systemctl start postgresql-13.service
sudo su - postgres << EOF
psql -c "
alter user postgres with password 'postgres';
create user nextcloud with password 'nextcloud';
"
psql -c "
create database nextcloud owner nextcloud encoding 'UTF8' lc_collate 'ja_JP.UTF-8' lc_ctype 'ja_JP.UTF-8' template 'template0';
"
EOF
※ユーザー名・パスワードは適宜変更してくださいsudo dnf install -y httpd \
php \
php-pgsql \
php-json \
php-opcache \
php-xml \
php-dom \
php-mbstring \
php-pdo \
php-gd \
php-curl \
php-zip
sudo systemctl enable php-fpm
sudo systemctl enable httpd
sudo setenforce 0
sudo getenforce
sudo sed -i -e 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
wget https://download.nextcloud.com/server/releases/nextcloud-20.0.4.zip
unzip nextcloud-20.0.4.zip
sudo mv nextcloud /opt/nextcloud
sudo chown -R apache:apache /opt/nextcloud
sudo ln -s /opt/nextcloud /var/www/html
cat << EOF | sudo tee /etc/httpd/conf.d/nextcloud.conf
<Directory /var/www/html/nextcloud/data>
AllowOverride None
Require all denied
</Directory>
EOF
sudo service httpd restart


sudo mkdir -p /opt/meshlab
cd /opt/meshlab
sudo wget https://github.com/cnr-isti-vclab/meshlab/releases/download/Meshlab-2020.12/MeshLab2020.12-linux.AppImage
sudo chmod +x MeshLab2020.12-linux.AppImage
cat << EOF | sudo tee /usr/share/applications/meshlab.desktop
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=/opt/meshlab/MeshLab2020.12-linux.AppImage
Name=MeshLab
Categories=Graphics;
EOF
cd
wget https://sourceforge.net/projects/meshlab/files/meshlab/MeshLab%20sample%20datasets/MeshLabSampleDataset.zip
unzip MeshLabSampleDataset.zip

sudo mkdir -p /opt/librepcb
cd /opt/librepcb
sudo wget https://download.librepcb.org/releases/0.1.5/librepcb-0.1.5-linux-x86_64.AppImage
sudo chmod +x librepcb-0.1.5-linux-x86_64.AppImage
cat << EOF | sudo tee /usr/share/applications/librepcb.desktop
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=/opt/librepcb/librepcb-0.1.5-linux-x86_64.AppImage
Name=LibrePCB
EOF