« Ubuntu arm 20.04 » : différence entre les versions
De Banane Atomic
Aller à la navigationAller à la recherche
(→PHP 8+) |
(→PHP 8+) |
||
Ligne 67 : | Ligne 67 : | ||
<kode lang='bash'> | <kode lang='bash'> | ||
sudo add-apt-repository ppa:ondrej/php | sudo add-apt-repository ppa:ondrej/php | ||
sudo add-apt-repository ppa:ondrej/nginx-mainline | sudo add-apt-repository ppa:ondrej/nginx-mainline # new features, updates, bugfixes | ||
sudo add-apt-repository ppa:ondrej/nginx | sudo add-apt-repository ppa:ondrej/nginx # annual release, major bugfixes only | ||
sudo add-apt-repository ppa:ondrej/apache2 | sudo add-apt-repository ppa:ondrej/apache2 | ||
</kode> | </kode> |
Version du 8 août 2023 à 20:50
Links
Useful commande lignes
# updates adg # sudo apt update && sudo apt upgrade sudo snap refresh sudo reboot sudo poweroff |
APT (Advanced Package Tool)
zsh - oh my zsh
# install zsh apt install zsh zsh-syntax-highlighting # zsh install zsh-common # install oh-my-zsh and set zsh as default shell for the current user sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
~/.zshrc |
plugins=( alias-finder colored-man-pages common-aliases copybuffer debian extract fd git ripgrep sudo systemd wd) # don't store in history commands prefixed with a space (test with: history | tail) setopt HIST_IGNORE_SPACE # add hostname to PROMPT only for ssh connection if [[ -n $SSH_CONNECTION ]]; then PROMPT="%m ${PROMPT}" fi # must be loaded last source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |
- zsh-antigen: plugin manager
- zsh-autosuggestions: autosuggestions
- zsh-syntax-highlighting: syntax highlighting
- zsh-theme-powerlevel9k: theme (deprecated)
UFW configuration
sudo ufw allow OpenSSH sudo ufw allow 'Nginx Full' |
PHP 8+
sudo add-apt-repository ppa:ondrej/php sudo add-apt-repository ppa:ondrej/nginx-mainline # new features, updates, bugfixes sudo add-apt-repository ppa:ondrej/nginx # annual release, major bugfixes only sudo add-apt-repository ppa:ondrej/apache2 |