Skip to content

Instantly share code, notes, and snippets.

@GussRw
Last active January 25, 2021 18:16
Show Gist options
  • Save GussRw/310de7aa15d5876e49cb1fc1019c0da2 to your computer and use it in GitHub Desktop.
Save GussRw/310de7aa15d5876e49cb1fc1019c0da2 to your computer and use it in GitHub Desktop.
My Fedora Setup

My Fedora Setup

Google Chrome

Download

sudo dnf install liberation-fonts
sudo rpm -i google-chrome-stable_current_x86_64.rpm 

Discord

Download

tar -zxvf discord-0.0.13.tar.gz
sudo cp -R discord /usr/share/discord
sudo cp discord.desktop /usr/share/applications
sudo cp discord.png /usr/share/pixmaps

PHP and Composer

sudo dnf install php composer
sudo dnf install php-curl php-zip php-mbstring php-xml php-gd
Add composer to PATH
export PATH=$PATH:~/.config/composer/vendor/bin

MySQL

$ sudo apt install mysql-server
$ sudo /etc/init.d/mysql stop
$ sudo mkdir /var/run/mysqld/
$ sudo chown mysql /var/run/mysqld/
$ sudo mysqld_safe --skip-grant-tables &
$ sudo mysql -u root
> use mysql;
> update user set authentication_string=PASSWORD("toor") where User='root';
> update user set plugin="mysql_native_password" where User='root';
> flush privileges;
> exit;
$ sudo /etc/init.d/mysql stop
$ sudo /etc/init.d/mysql start

Valet Linux

composer global require cpriego/valet-linux
sudo dnf install jq xsel nss-tools
sudo setenforce 0
valet install

NodeJS

sudo dnf install nodejs

ZSH & Oh-My-Zsh

sudo dnf install zsh
sudo usermod -s $(which zsh) $USER
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Spaceship Theme
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" 
ZSH-Autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Add to .zshrc

 plugins=(zsh-autosuggestions)
 ZSH_THEME="spaceship"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment