Useful and Important commands for Fedora 28

After fresh installlation:

sudo dnf update  

Enable and start SSH:

sudo systemctl start sshd.service
sudo systemctl enable sshd.service

RPM Fusion:

sudo dnf install$(rpm -E %fedora).noarch.rpm

Install Vlc:

sudo dnf install vlc

Restart apache:   

systemctl restart httpd  


service httpd restart
Enable apache on startup:

systemctl enable httpd

Allow http connections:

firewall-cmd –add-service=http –permanent

firewall-cmd –reload

Install  php and Mysql(mariadb):

dnf install php-cli
dnf install mariadb mariadb-server

systemctl restart mariadb

finalize mariadb installation


dnf install php-mysqlnd (For php-mysql driver)

After doing all these restart apache

systemctl restart httpd

Start a Conversation

Your email address will not be published. Required fields are marked *