sudo apt install poppler-utils sudo apt install sane-utils sudo apt install googleearth-package sudo make-googleearth-package --force sudo add-apt-repository ppa:ianare/ppa sudo apt install metamorphose sudo apt install rpi-imager suap install rpi-imager sudo apt install teamviewer sudo apt install wxwidgets3.0 sudo apt install wxwidgets sudo add-apt-repository ppa:nilarimogard/webupd8 sudo add-apt-repository -r http://dl.google.com/linux/earth/deb sudo apt install exif sudo apt install exiv2 sudo apt install xnview sudo apt install gthumb sudo apt install shotwell sudo apt-get install jhead imagemagick sudo apt install skype sudo add-apt-repository ppa:appimagelauncher-team/stable sudo apt install appimagelauncher sudo apt install gnome-python sudo apt install nmap sudo apt --fix-broken install sudo apt install teams sudo apt install cpu-x sudo apt install dpluzz sudo apt-add-repository ppa:yoggic/dpluzz sudo apt install dpluzz sudo apt install dkms sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl mkdir -p /home/nicolas/windows sudo apt install wine winetricks winetricks dotnet40 sudo apt-add-repository ppa:lookit/ppa sudo apt install lookit sudo apt install readpst sudo apt install pst-utils wine DbxConv.exe *.dbx sudo apt install certbot python3-certbot-ngin sudo apt install vsftpd db-util ftp sudo add-apt-repository ppa:linuxuprising/java sudo apt install oracle-java15-installer sudo apt-add-repository "deb https://s3.amazonaws.com/repo.deb.cyberduck.io stable main" sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FE7097963FEFBE72 sudo apt install duck sudo apt install python-gobject sudo apt install alien sudo apt-cache --installed sudo apt install unbound
Lancez : :
...@...:~$ sudo apt install lsb-core ...@...:~$ lsb_release LSB Version: core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch nicolas@chateau:~$ lsb_release -a LSB Version: core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal
127.0.0.1 localhost 127.0.1.1 chateau # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 192.168.0.1 chateau.parc 192.168.0.1 doc.chateau.parc 192.168.0.1 magie.chateau.parc 192.168.0.32 framboise4.parc 192.168.0.32 doc.framboise4.parc 192.168.0.32 perso.framboise4.parc 192.168.0.31 framboise.parc 192.168.0.31 doc.framboise.parc
alias sudo='sudo ' alias rm='rm --preserve-root' alias l='ls -CF' alias la='ls -A' alias ll='ls -alF' alias ls='ls --color=auto' alias manfr='man -L fr' alias xmg="sudo xauth merge ~/.Xauthority" alias gksudo="xmg && sudo" alias upd="sudo apt-get -y update" alias upg="sudo apt-get -y upgrade" alias dupg="sudo apt-get -y dist-upgrade" alias maj="upd && upg && dupg" # Aliases pour Xampp alias lampp='/opt/lampp/lampp' alias ctlampp='/opt/lampp/manager-linux-x64.run' #~ alias ftpasswd='/opt/lampp/bin/ftpasswd'
...@...:~$ cd ...@...:~$ sudo cp *.credentials /etc
Contenu des fichiers *.credentials :
username= password= domain=WORKGROUP
username=pi password=<mot_de_passe> domain=WORKGROUP
$ sudo mkdir -p /media/{donnees,donnees-2,l-donnees,freebox,reservoirs,recup,l-reservoirs,rpi-data,rpi-root,tmp}
...@...:~$ sudo mkdir /var/www ...@...:~$ sudo mkdir /var/lib/geneweb
...@...:~$ sudo mount -a ...@...:~$ sudo usermod -aG www-data $USER ...@...:~$ sudo chown -R www-data:www-data /media/serveur/srv/www/ ...@...:~$ sudo chmod -R 2770 /media/serveur/srv/www
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # +==================+ # | tmpfs : ramdisks | # +==================+ # /tmp en tmpfs #~ tmpfs /tmp tmpfs rw,size=4g 0 0 # /media/tmp en tmpfs tmpfs /media/tmp tmpfs rw,size=8g,mode=2755,uid=1000,gid=1000 0 0 # +====================================+ # | /dev/sda : 1er disque 1 To : linux | # +====================================+ # /dev/sda1 : racine (/) UUID=8d07a6b4-4d36-434f-809c-72d940ad22e3 / ext4 errors=remount-ro 0 1 # /dev/sda2 : swap UUID=cd7befc3-6d41-4d66-9196-8583621a3da5 none swap sw 0 0 # /dev/sda3 : home (/home) # /home was on /dev/sda3 during installation UUID=dbc1be40-3a0a-46e2-bab3-1557919fd66d /home ext4 defaults 0 2 # +=====================================+ # | 2e disque 1 To : /dev/sdb : windows | # +=====================================+ # /dev/sdb3 : donnees (/media/donnees) UUID=200EB5FF0EB5CDD2 /media/donnees ntfs-3g defaults,nls=utf8,umask=000,dmask=027,fmask=137,uid=1000,gid=1000 0 0 # /dev/sdb5 : isos (/media/partisos) UUID=19D22ADE39FB5783 /media/partisos ntfs-3g rw,user,auto,gid=1000,uid=1000,nls=utf8,umask=002 0 0 # +=======================================+ # | 3e disque 1 To : /dev/sdc : donnees-2 | # +=======================================+ # /dev/sdc1 : serveur (/media/serveur) UUID=215401a6-27c6-4068-b6b8-c98c8d0375ec /media/serveur ext4 defaults 0 2 # /dev/sdc2 : donnees-2 (/media/donnees-2) UUID=64D94BA80E92FA73 /media/donnees-2 ntfs-3g defaults,nls=utf8,umask=000,dmask=027,fmask=137,uid=1000,gid=1000 0 0 # +=================================================+ # | disque externe 2,7 To : /dev/sdd : Réservoirs | # | sdd 2,7T | # | ├─sdd1 1000G /media/reservoirs | # | └─sdd2 1000G /media/l-reservoirs | # +=================================================+ # /dev/sdd1 : Reservoirs (/media/reservoirs) UUID=3AF1FC151F5AB935 /media/reservoirs ntfs-3g defaults,nls=utf8,umask=000,dmask=027,fmask=137,uid=1000,gid=1000 0 0 # /dev/sdd2 : L-Reservoirs (/media/l-reservoirs) UUID=5e9d1ce2-1931-4859-a435-e1197874dbdb /media/l-reservoirs ext4 defaults 0 2 # +================+ # | Disques réseau | # +================+ # Freebox # ------- # Notez l'ajout de vers=1.0 pour pallier l'évolution de Samba vers la version 3 # "//192.168.0.254/Disque dur/" : freebox (/media/freebox) #//192.168.0.254/Disque\040dur /media/freebox cifs nofail,x-systemd.automount,x-systemd.device-timeout=10,credentials=/etc/freebox.credentials,user,cache=none,uid=1000,gid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777,vers=1.0 0 0 # Framboise # --------- # //framboise/data : rpi-data (/media/rpi-data) #//192.168.0.31/data /media/rpi-data cifs credentials=/etc/framboise.credentials 0 0 # //framboise/root : rpi-root (/disk/rpi-root) #//192.168.0.31/root /media/rpi-root cifs credentials=/etc/framboise.credentials 0 0 # +================+ # | Montages perso | # +================+ # /srv --> /media/serveur/srv /media/serveur/srv /srv none bind 0 0 # /var/www --> /srv/www /srv/www /var/www none bind 0 0 # /srv/ftp --> /srv/www /srv/www /srv/ftp none bind 0 0 # /var/lib/geneweb --> /home/nicolas/geneweb /home/nicolas/geneweb /var/lib/geneweb none bind 0 0
...@...:~$ sudo mount -a
...@...:~$ nano sources.list ...@...:~$ nano sources.list.d/appimagelauncher-team-ubuntu-stable-focal.list
...@...:~$ sudo apt update ...@...:~$ sudo apt upgrade ...@...:~$ sudo apt dist-upgrade
...@...:~$ sudo dpkg --set-selections < /Rep/de/sauvegarde/liste-a-installer
...@...:~$ sudo apt install {apturl,mono-complete,manpages-fr,ntfs-3g,iftop,htop,lsof,wget,cifs-utils,gawk,translate-shell,locate,cpu-x,hardinfo}
...@...:~$ sudo apt install {net-tools,python-gtk2,leptonica-progs,xdotool,geany,samba,gdebi,gnome-tweak-tool,filemanager-actions,gparted,gnochm,alacarte,xchm,ffmpeg}
...@...:~$ sudo apt install python-{gconf,pip}
...@...:~$ sudo apt install python3-{pil,reportlab,pyqt5}
...@...:~$ sudo apt install glade
...@...:~$ sudo apt install freetuxtv
...@...:~$ sudo apt install nginx-full
...@...:~$ sudo cp chateau.parc /etc/nginx/sites-available/chateau.parc ...@...:~$ sudo cp nfrappe.fr /etc/nginx/sites-available/nfrappe.fr
...@...:~$ sudo apt install dnsmasq
# Activation du plugin dnsmasq. [main] dns=dnsmasq
...@...:~$ sudo touch /etc/NetworkManager/dnsmasq.d/local.conf
address=/chateau.parc/192.168.0.1 address=/framboise.parc/192.168.0.31 address=/framboise4.parc/192.168.0.32
...@...:~$ sudo systemctl restart network-manager.service