Skip to content

redhox/raspberry_pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

les pti copier collé facile

Connect ssh sans password

ssh-keygen -t rsa -b 4096 -C "[email protected]"

.

ssh-copy-id pi@"IP address or hostname"

openmedia vault

wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash

vpn wireguard lien et video

wget https://git.io/wireguard -O wireguard-install.sh && bash wireguard-install.sh

.

sudo bash wireguard-install.sh

ecrire votre nom de domain ou ip choisir 1.1.1.1 en dns relancer "sudo bash wireguard-install.sh" pour cree d'autre client

nextcloud lien

sudo mysql

.

CREATE DATABASE nextcloud;

.

CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'Password';

.

GRANT ALL ON nextcloud.* TO 'nextclouduser'@'localhost' IDENTIFIED BY 'Password' WITH GRANT OPTION;

.

FLUSH PRIVILEGES;
EXIT;

.

sudo nano /etc/php/7.3/apache2/php.ini

.

post_max_size = 2048M

.

upload_max_filesize = 2048M

Restart apache

sudo a2enmod rewrite
sudo service apache2 restart

.

cd /var/www/html

nexcloud derniere version lien ici la 24.0.1

curl https://download.nextcloud.com/server/releases/nextcloud-24.0.1.tar.bz2 | sudo tar -jxv

.

sudo chown -R www-data:www-data /var/www/html/nextcloud/

http://ip-de-la-machine/nextcloud nom et password du compte admin nexcloud nextclouduser Password nexcloud localhost:3306

edit /var/www/html/nextcloud/config/config.php avec le nom de domaine et/ou ip pour avoir l'acsede depuis le web

ssl et https

install snap

.

sudo apt install snapd

.

 sudo snap install core; sudo snap refresh core

.

sudo snap install --classic certbot

.

sudo certbot --apache

emulateur x86lien

git clone https://github.com/ptitSeb/box86
cd box86
mkdir build; cd build; cmake .. -DRPI4ARM64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo
make -j2
sudo make install
sudo systemctl restart systemd-binfmt

teamspeaklien

docker et portainerlien

   sudo apt-get update
   sudo apt install docker.io
   sudo apt-get install docker-compose-plugin
    
    docker volume create portainer_data

.

    docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce

monage d'un bucket S3/minio en local

      sudo s3fs bucket_name /point/de/montage -o umask=0002 -o passwd_file=/bucket/passwd_file,use_path_request_style,url=https://bucket.minio_url.com -o allow_other -o uid=1000 -o gid=1000

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published