Last active
October 10, 2022 20:48
-
-
Save GussRw/effb1220bfdcf0a5abeefa3c8fc4bde3 to your computer and use it in GitHub Desktop.
Install all on Debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install -f | |
sudo add-apt-repository -y ppa:ondrej/php | |
sudo apt -y install fonts-liberation libappindicator3-1 | |
sudo apt -y install libc++1 ibpng-dev | |
sudo apt -y install php7.4 composer | |
sudo apt -y install php7.4-curl php7.4-zip php7.4-mysql php7.4-mbstring php7.4-xml php7.4-gd php7.4-curl php7.4-intl php7.4-dom php7.4-xml | |
sudo apt -y install php8.1 libapache2-mod-php8.1 composer | |
sudo apt -y install php8.1-curl php8.1-zip php8.1-mysql php8.1-mbstring php8.1-xml php8.1-gd php8.1-curl php8.1-intl php8.1-dom php8.1-xml | |
sudo apt -y install mysql-server | |
sudo apt -y install jq xsel libnss3-tools | |
sudo apt -y install zsh | |
sudo apt -y install ttf-mscorefonts-installer libssl-dev libfontconfig1 libxrender1 | |
sudo apt -y install python | |
export PATH=$PATH:~/.config/composer/vendor/bin | |
echo "export PATH=\$PATH:~/.config/composer/vendor/bin" >> ~/.profile | |
sudo chsh -s /usr/bin/zsh $USER | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1 | |
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme" | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
sed -i 's/plugins=(git)/plugins=(git zsh-autosuggestions)/g' ~/.zshrc | |
sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="spaceship"/g' ~/.zshrc | |
rm -f wkhtmltox_0.12.6-1.bionic_amd64.deb | |
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb | |
sudo apt install ./wkhtmltox_0.12.6-1.bionic_amd64.deb | |
rm -f google-chrome-stable_current_amd64.deb | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome-stable_current_amd64.deb | |
sudo apt install -f | |
rm -f discord.deb | |
wget https://discordapp.com/api/download\?platform\=linux\&format\=deb | |
mv download\?platform=linux\&format=deb discord.deb | |
sudo dpkg -i discord.deb | |
sudo apt install -f | |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
php composer-setup.php | |
php -r "unlink('composer-setup.php');" | |
sudo mv composer.phar /usr/bin/composer | |
composer global require cpriego/valet-linux | |
valet install | |
rm -f mysql.txt | |
touch mysql.txt | |
echo "use mysql;" >> mysql.txt | |
echo "update user set plugin=\"mysql_native_password\" where User='root';" >> mysql.txt | |
echo "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'toor';" >> mysql.txt | |
echo "flush privileges;" >> mysql.txt | |
sudo mysql -u root -p mysql < mysql.txt | |
rm -f nodesource_setup.sh | |
curl -sL https://deb.nodesource.com/setup_14.x -o nodesource_setup.sh | |
sudo bash nodesource_setup.sh | |
sudo apt -y install nodejs build-essential |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment