Skip to content

Instantly share code, notes, and snippets.

View dennisotugo's full-sized avatar
🎯
Focusing

Dennis W. Otugo dennisotugo

🎯
Focusing
View GitHub Profile
su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
sudo dnf -y install vlc
sudo dnf install qbittorrent -y
dnf -y group install "Cinnamon Desktop"
echo "exec /usr/bin/cinnamon-session" >> ~/.xinitrc
dnf -y group install "Fedora Workstation"
echo "exec /usr/bin/gnome-session" >> ~/.xinitrc
dnf -y group install "KDE Plasma Workspaces"
echo "exec /usr/bin/startkde" >> ~/.xinitrc
dnf -y group install "LXDE Desktop"
echo "exec /usr/bin/lxsession" >> ~/.xinitrc
systemctl set-default graphical.target
reboot
$ sudo add-apt-repository ppa:ondrej/php
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install php7.1 # for PHP 7.1
$ sudo apt-get install phpmyadmin nginx mysql
//To test that PHP Works
$ php -r 'echo "\n\nYour PHP installation is working fine.\n\n\n";'