{"id":153,"date":"2024-05-25T19:19:09","date_gmt":"2024-05-26T01:19:09","guid":{"rendered":"https:\/\/www.7softinteractive.net\/?p=153"},"modified":"2024-06-05T07:39:28","modified_gmt":"2024-06-05T13:39:28","slug":"fedora-linux","status":"publish","type":"post","link":"https:\/\/www.7softinteractive.net\/?p=153","title":{"rendered":"Fedora Linux"},"content":{"rendered":"\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Title: Essential Steps to Configure Your Fresh Fedora Linux Install<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Introduction<\/strong><\/p>\n\n\n\n<p>Welcome to Fedora! After a fresh installation, there are several important steps to take to ensure your system is secure, up-to-date, and tailored to your needs. Follow this guide to get your Fedora system up and running smoothly.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>1. Initial Setup and Update System<\/strong><\/p>\n\n\n\n<p>Log in to your new Fedora installation and open a terminal. Update all packages with the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf update -y\nsudo dnf upgrade -y<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>2. Enable RPM Fusion Repositories<\/strong><\/p>\n\n\n\n<p>RPM Fusion provides additional software that Fedora does not ship by default. Enable these repositories with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install https:\/\/download1.rpmfusion.org\/free\/fedora\/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm\nsudo dnf install https:\/\/download1.rpmfusion.org\/nonfree\/fedora\/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>3. Install Essential Software<\/strong><\/p>\n\n\n\n<p>Here are some commonly needed packages:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install -y vim git wget curl htop<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>4. Set Up Firewall<\/strong><\/p>\n\n\n\n<p>Fedora uses <code>firewalld<\/code> by default. Enable and start it with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl enable firewalld\nsudo systemctl start firewalld\nsudo firewall-cmd --add-service=ssh --permanent\nsudo firewall-cmd --reload<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>5. Configure SELinux<\/strong><\/p>\n\n\n\n<p>SELinux is enabled by default. Check its status and ensure it\u2019s enforcing:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo sestatus\nsudo setenforce 1<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>6. Create a Non-root User<\/strong><\/p>\n\n\n\n<p>It\u2019s best to perform day-to-day tasks as a non-root user. Create one with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo adduser username\nsudo passwd username\nsudo usermod -aG wheel username<\/code><\/pre>\n\n\n\n<p>Replace <code>username<\/code> with your desired username.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>7. Set Hostname<\/strong><\/p>\n\n\n\n<p>Set a proper hostname for your system with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo hostnamectl set-hostname your-hostname<\/code><\/pre>\n\n\n\n<p>Replace <code>your-hostname<\/code> with your desired hostname.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>8. Install Development Tools<\/strong><\/p>\n\n\n\n<p>If you plan on compiling software or doing development work, install development tools:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf groupinstall -y \"Development Tools\"<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>9. Configure Time and Date<\/strong><\/p>\n\n\n\n<p>Ensure system time is accurate by enabling and starting the <code>chronyd<\/code> service:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl enable chronyd\nsudo systemctl start chronyd<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>10. Enable Power Management Tools<\/strong><\/p>\n\n\n\n<p>Useful for laptops and power efficiency:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install -y tlp tlp-rdw\nsudo systemctl enable tlp\nsudo systemctl start tlp<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>11. Install GNOME Tweaks (if using GNOME)<\/strong><\/p>\n\n\n\n<p>For additional customization of the GNOME desktop environment:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install -y gnome-tweaks<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>12. Set Up Automatic Updates<\/strong><\/p>\n\n\n\n<p>Configure automatic updates to keep your system secure:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install -y dnf-automatic\nsudo systemctl enable --now dnf-automatic.timer<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>13. Backup and Restore Tools<\/strong><\/p>\n\n\n\n<p>Set up tools like <code>rsync<\/code> or <code>Timeshift<\/code> for backups:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install -y rsync<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>14. Optional: Install Media Codecs<\/strong><\/p>\n\n\n\n<p>For better media playback support:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf groupupdate multimedia --setop=\"install_weak_deps=False\" --exclude=PackageKit-gstreamer-plugin\nsudo dnf groupupdate sound-and-video<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>15. Clean Up<\/strong><\/p>\n\n\n\n<p>Remove unnecessary packages and clean up the package manager cache:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf autoremove -y\nsudo dnf clean all<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Conclusion<\/strong><\/p>\n\n\n\n<p>By following these steps, you\u2019ll ensure your Fedora Linux system is secure, up-to-date, and ready for use. Enjoy your new Fedora environment!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Title: Essential Steps to Configure Your Fresh Fedora Linux Install Introduction Welcome to Fedora! After a fresh installation, there are several important steps to take to ensure your system is secure, up-to-date, and tailored to your needs. Follow this guide to get your Fedora system up and running smoothly. 1. Initial Setup and Update System<\/p>\n","protected":false},"author":2,"featured_media":144,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,3],"tags":[],"class_list":["post-153","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development-environment","category-linux"],"_links":{"self":[{"href":"https:\/\/www.7softinteractive.net\/index.php?rest_route=\/wp\/v2\/posts\/153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.7softinteractive.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.7softinteractive.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.7softinteractive.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.7softinteractive.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=153"}],"version-history":[{"count":3,"href":"https:\/\/www.7softinteractive.net\/index.php?rest_route=\/wp\/v2\/posts\/153\/revisions"}],"predecessor-version":[{"id":174,"href":"https:\/\/www.7softinteractive.net\/index.php?rest_route=\/wp\/v2\/posts\/153\/revisions\/174"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.7softinteractive.net\/index.php?rest_route=\/wp\/v2\/media\/144"}],"wp:attachment":[{"href":"https:\/\/www.7softinteractive.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.7softinteractive.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.7softinteractive.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}