Jump to content

Search the Community

Showing results for tags 'linux'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • General Discussion
    • Artificial Intelligence
    • DevOpsForum News
  • DevOps & SRE
    • DevOps & SRE General Discussion
    • Databases, Data Engineering & Data Science
    • Development & Programming
    • CI/CD, GitOps, Orchestration & Scheduling
    • Docker, Containers, Microservices, Serverless & Virtualization
    • Infrastructure-as-Code
    • Kubernetes & Container Orchestration
    • Linux
    • Logging, Monitoring & Observability
    • Security, Governance, Risk & Compliance
  • Cloud Providers
    • Amazon Web Services
    • Google Cloud Platform
    • Microsoft Azure

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


LinkedIn Profile URL


About Me


Cloud Platforms


Cloud Experience


Development Experience


Current Role


Skills


Certifications


Favourite Tools


Interests

  1. The post BCC – Tracing Tools for Linux IO, Networking, Monitoring, and More first appeared on Tecmint: Linux Howtos, Tutorials & Guides .BCC (BPF Compiler Collection) is a powerful set of appropriate tools and example files for creating resourceful kernel tracing and manipulation programs. It utilizes extended The post BCC – Tracing Tools for Linux IO, Networking, Monitoring, and More first appeared on Tecmint: Linux Howtos, Tutorials & Guides.View the full article
  2. The post Setting Up LAMP (Apache, MariaDB, PHP) on Fedora 40 Server first appeared on Tecmint: Linux Howtos, Tutorials & Guides .After installing the Fedora 40 server edition, you might want to host a website on your server. To do this, you need a reliable server The post Setting Up LAMP (Apache, MariaDB, PHP) on Fedora 40 Server first appeared on Tecmint: Linux Howtos, Tutorials & Guides.View the full article
  3. The post vlock: The Smart Way to Lock Your Linux Terminal first appeared on Tecmint: Linux Howtos, Tutorials & Guides .Virtual consoles are very important features of Linux, and they provide a system user a shell prompt to use the system in a non-graphical setup The post vlock: The Smart Way to Lock Your Linux Terminal first appeared on Tecmint: Linux Howtos, Tutorials & Guides.View the full article
  4. The post How to Use Compound Expressions with Awk in Linux – Part 5 first appeared on Tecmint: Linux Howtos, Tutorials & Guides .All along, we have been looking at simple expressions when checking whether a condition has been met or not. What if you want to use The post How to Use Compound Expressions with Awk in Linux – Part 5 first appeared on Tecmint: Linux Howtos, Tutorials & Guides.View the full article
  5. AMD Zen 5's upcoming 2024 release continues getting foreshadowed in AMD Linux patches. View the full article
  6. Creating a file in Bash scripting is an essential skill for a good Linux administrator. In Linux, a few commands allow you to easily generate logs, configuration, or even basic text files. Hence, you can use these commands to create bash files without hassles. However, many beginners want to know these commands in order to work on bash efficiently. So, this quick guide is about simple ways to create files in bash. The Touch Command The touch command is a user-friendly yet potent tool for file creation. By using this command, you can easily create a file: touch example.sh Moreover, you need to provide an executable permission, so please run the chmod command for it: chmod u+x example.sh Using Text Editor A text editor is essential for creating intricate or well-structured files. Luckily, bash offers a range of options, such as Nano and Vi/Vim. Nano, in particular, is a fantastic choice for this purpose. nano example.sh or vi example.sh You can use this command to open the Nano text editor and start typing in your file. Remember to save and exit the editor when you’re finished. Alternatively, you can utilize Vi/ Vim commands to open the Vi/Vim text editor. Conclusion To summarize, various options are available to create files in bash, making the process quite simple. Depending on your needs, you can explore more interactive options with text editors like Nano or Vi/Vim. Experimenting with these techniques will increase your proficiency in bash scripting, leading to a greater sense of confidence in your endeavors. View the full article
  7. The Ubuntu security team has recently rolled out critical security updates aimed at addressing several vulnerabilities identified in Squid, a widely used web proxy cache server. These vulnerabilities, if left unaddressed, could potentially expose systems to denial-of-service attacks. Let’s delve into the specifics of these vulnerabilities and understand their implications. Recent Squid Vulnerabilities Fixed […] The post Multiple Squid Vulnerabilities Fixed in Ubuntu appeared first on TuxCare. The post Multiple Squid Vulnerabilities Fixed in Ubuntu appeared first on Security Boulevard. View the full article
  8. OpenCL is an open-source library for running compute tasks on GPUs. OpenCL enables 3D hardware acceleration for supported applications (i.e. LibreOffice) using the GPU hardware (i.e. Intel iGPU) you have installed on your computer. So, unless OpenCL is installed, OpenCL-supported applications (i.e. LibreOffice) will not have hardware acceleration enabled and may not perform well (i.e. UI might be laggy) as a result. So, it’s a good idea to install OpenCL on your newly installed Fedora 40 (or later) desktop operating system. In this article, I am going to show you how to install OpenCL for your Intel iGPU on Fedora 40 (or later). Table of Contents Updating DNF Package Repository Cache on Fedora Installing OpenCL for Intel GPU on Fedora Checking if OpenCL is Working on Fedora Conclusion References Updating DNF Package Repository Cache on Fedora To update the DNF package repository cache on Fedora 40 (and future versions), run the following command: $ sudo dnf makecache Installing OpenCL for Intel GPU on Fedora To install OpenCL libraries for Intel GPUs, run the following command: $ sudo dnf install intel-compute-runtime intel-opencl To confirm the installation, press Y and then press <Enter>. OpenCL for Intel GPU is being installed. It will take a few seconds to complete. OpenCL libraries for Intel GPU should be installed on your Fedora system. For the changes to take effect, restart your computer with the following command: $ sudo reboot Checking if OpenCL is Working on Fedora To check if OpenCL is working on your Fedora system, run the command below: $ clinfo -l If OpenCL is working, your Intel GPU should be listed as an OpenCL device as shown in the screenshot below. Conclusion In this article, I have shown you how to install OpenCL for Intel GPU on your Fedora 40 (or later) operating system so that OpenCL-supported applications can perform better using OpenCL hardware acceleration on Fedora. References GPGPU – ArchWiki View the full article
  9. Photo by Gabriel Heinzer on Unsplash We’re excited about the upcoming Ubuntu 24.04 LTS release, Noble Numbat. Like all Ubuntu releases, Ubuntu 24.04 LTS comes with 5 years of free security maintenance for the main repository. Support can be expanded for an extra 5 years, and to include the universe repository, via Ubuntu Pro. Organisations looking to keep their systems secure without needing a major upgrade can also get the Legacy Support add-on to expand that support beyond the 10 years. Combined with the enhanced security coverage provided by Ubuntu Pro and Legacy Support, Ubuntu 24.04 LTS provides a secure foundation on which to develop and deploy your applications and services in an increasingly risky environment. In this blog post, we will look at some of the enhancements and security features included in Noble Numbat, building on those available in Ubuntu 22.04 LTS. Unprivileged user namespace restrictions Unprivileged user namespaces are a widely used feature of the Linux kernel, providing additional security isolation for applications, and are often employed as part of a sandbox environment. They allow an application to gain additional permissions within a constrained environment, so that a more trusted part of an application can then use these additional permissions to create a more constrained sandbox environment within which less trusted parts can then be executed. A common use case is the sandboxing employed by modern web browsers, where the (trusted) application itself sets up the sandbox where it executes the untrusted web content. However, by providing these additional permissions, unprivileged user namespaces also expose additional attack surfaces within the Linux kernel. There has been a long history of (ab)use of unprivileged user namespaces to exploit various kernel vulnerabilities. The most recent interim release of Ubuntu, 23.10, introduced the ability to restrict the use of unprivileged user namespaces to only those applications which legitimately require such access. In Ubuntu 24.04 LTS, this feature has both been improved to cover additional applications both within Ubuntu and from third parties, and to allow better default semantics of the feature. For Ubuntu 24.04 LTS, the use of unprivileged user namespaces is then allowed for all applications but access to any additional permissions within the namespace are denied. This allows more applications to more better gracefully handle this default restriction whilst still protecting against the abuse of user namespaces to gain access to additional attack surfaces within the Linux kernel. Binary hardening Modern toolchains and compilers have gained many enhancements to be able to create binaries that include various defensive mechanisms. These include the ability to detect and avoid various possible buffer overflow conditions as well as the ability to take advantage of modern processor features like branch protection for additional defence against code reuse attacks. The GNU C library, used as the cornerstone of many applications on Ubuntu, provides runtime detection of, and protection against, certain types of buffer overflow cases, as well as certain dangerous string handling operations via the use of the _FORTIFY_SOURCE macro. FORTIFY_SOURCE can be specified at various levels providing increasing security features, ranging from 0 to 3. Modern Ubuntu releases have all used FORTIFY_SOURCE=2 which provided a solid foundation by including checks on string handling functions like sprintf(), strcpy() and others to detect possible buffer overflows, as well as format-string vulnerabilities via the %n format specifier in various cases. Ubuntu 24.04 LTS enables additional security features by increasing this to FORTIFY_SOURCE=3. Level three greatly enhances the detection of possible dangerous use of a number of other common memory management functions including memmove(), memcpy(), snprintf(), vsnprintf(), strtok() and strncat(). This feature is enabled by default in the gcc compiler within Ubuntu 24.04 LTS, so that all packages in the Ubuntu archive which are compiled with gcc, or any applications compiled with gcc on Ubuntu 24.04 LTS also receive this additional protection. The Armv8-M hardware architecture (provided by the “arm64” software architecture on Ubuntu) provides hardware-enforced pointer authentication and branch target identification. Pointer authentication provides the ability to detect malicious stack buffer modifications which aim to redirect pointers stored on the stack to attacker controlled locations, whilst branch target identification is used to track certain indirect branch instructions and the possible locations which they can target. By tracking such valid locations, the processor can detect possible malicious jump-oriented programming attacks which aim to use existing indirect branches to jump to other gadgets within the code. The gcc compiler supports these features via the -mbranch-protection option. In Ubuntu 24.04 LTS, the dpkg package now enables -mbranch-protection=standard, so that all packages within the Ubuntu archive enable support for these hardware features where available. AppArmor 4 The aforementioned unprivileged user namespace restrictions are all backed by the AppArmor mandatory access control system. AppArmor allows a system administrator to implement the principle of least authority by defining which resources an application should be granted access to and denying all others. AppArmor consists of a userspace package, which is used to define the security profiles for applications and the system, as well as the AppArmor Linux Security Module within the Linux kernel which provides enforcement of the policies. Ubuntu 24.04 LTS includes the latest AppArmor 4.0 release, providing support for many new features, such as specifying allowed network addresses and ports within the security policy (rather than just high level protocols) or various conditionals to allow more complex policy to be expressed. An exciting new development provided by AppArmor 4 in Ubuntu 24.04 LTS is the ability to defer access control decisions to a trusted userspace program. This allows for quite advanced decision making to be implemented, by taking into account the greater context available within userspace or to even interact with the user / system administrator in a real-time fashion. For example, the experimental snapd prompting feature takes advantage of this work to allow users to exercise direct control over which files a snap can access within their home directory. Finally, within the kernel, AppArmor has gained the ability to mediate access to user namespaces as well as the io_uring subsystem, both of which have historically provided additional kernel attack surfaces to malicious applications. Disabling of old TLS versions The use of cryptography for private communications is the backbone of the modern internet. The Transport Layer Security protocol has provided confidentiality and integrity to internet communications since it was first standardised in 1999 with TLS 1.0. This protocol has undergone various revisions since that time to introduce additional security features and avoid various security issues inherent in the earlier versions of this standard. Given the wide range of TLS versions and options supported by each, modern internet systems will use a process of auto-negotiation to select an appropriate combination of protocol version and parameters when establishing a secure communications link. In Ubuntu 24.04 LTS, TLS 1.0, 1.1 and DTLS 1.0 are all forcefully disabled (for any applications that use the underlying openssl or gnutls libraries) to ensure that users are not exposed to possible TLS downgrade attacks which could expose their sensitive information. Upstream Kernel Security Features Linux kernel v5.15 was used as the basis for the Linux kernel in the previous Ubuntu 22.04 LTS release. This provided a number of kernel security features including core scheduling, kernel stack randomisation and unprivileged BPF restrictions to name a few. Since that time, the upstream Linux kernel community has been busy adding additional kernel security features. Ubuntu 24.04 LTS includes the v6.8 Linux kernel which provides the following additional security features: Intel shadow stack support Modern Intel CPUs support an additional hardware feature aimed at preventing certain types of return-oriented programming (ROP) and other attacks that target the malicious corruption of the call stack. A shadow stack is a hardware enforced copy of the stack return address that cannot be directly modified by the CPU. When the processor returns from a function call, the return address from the stack is compared against the value from the shadow stack – if the two differ, the process is terminated to prevent a possible ROP attack. Whilst compiler support for this feature has been enabled for userspace packages since Ubuntu 19.10, it has not been able to be utilised until it was also supported by the kernel and the C library. Ubuntu 24.04 LTS includes this additional support for shadow stacks to allow this feature to be enabled when desired by setting the GLIBC_TUNABLES=glibc.cpu.hwcaps=SHSTK environment variable. Secure virtualisation with AMD SEV-SNP and Intel TDX Confidential computing represents a fundamental departure from the traditional threat model, where vulnerabilities in the complex codebase of privileged system software like the operating system, hypervisor, and firmware pose ongoing risks to the confidentiality and integrity of both code and data. Likewise, unauthorised access by a malicious cloud administrator could jeopardise the security of your virtual machine (VM) and its environment. Building on the innovation of Trusted Execution Environments at the silicon level, Ubuntu Confidential VMs aim to restore your control over the security assurances of your VMs. For the x86 architecture, both AMD and Intel processors provide hardware features (named AMD SEV SNP and Intel TDX respectively) to support running virtual machines with memory encryption and integrity protection. They ensure that the data contained within the virtual machine is inaccessible to the hypervisor and hence the infrastructure operator. Support for using these features as a guest virtual machine was introduced in the upstream Linux kernel version 5.19. Thanks to Ubuntu Confidential VMs, a user can make use of compute resources provided by a third party whilst maintaining the integrity and confidentiality of their data through the use of memory encryption and other features. On the public cloud, Ubuntu offers the widest portfolio of confidential VMs. These build on the innovation of both the hardware features, with offerings available across Microsoft Azure, Google Cloud and Amazon AWS. For enterprise customers seeking to harness confidential computing within their private data centres, a fully enabled software stack is essential. This stack encompasses both the guest side (kernel and OVMF) and the host side (kernel-KVM, QEMU, and Libvirt). Currently, the host-side patches are not yet upstream. To address this, Canonical and Intel have forged a strategic collaboration to empower Ubuntu customers with an Intel-optimised TDX Ubuntu build. This offering includes all necessary guest and host patches, even those not yet merged upstream, starting with Ubuntu 23.10 and extending into 24.04 and beyond. The complete TDX software stack is accessible through this github repository. This collaborative effort enables our customers to promptly leverage the security assurances of Intel TDX. It also serves to narrow the gap between silicon innovation and software readiness, a gap that grows as Intel continues to push the boundaries of hardware innovation with 5th Gen Intel Xeon scalable processors and beyond. Strict compile-time bounds checking Similar to hardening of binaries within the libraries and applications distributed in Ubuntu, the Linux kernel itself gained enhanced support for detecting possible buffer overflows at compile time via improved bounds checking of the memcpy() family of functions. Within the kernel, the FORTIFY_SOURCE macro enables various checks in memory management functions like memcpy() and memset() by checking that the size of the destination object is large enough to hold the specified amount of memory, and if not will abort the compilation process. This helps to catch various trivial memory management issues, but previously was not able to properly handle more complex cases such as when an object was embedded within a larger object. This is quite a common pattern within the kernel, and so the changes introduced in the upstream 5.18 kernel version to enumerate and fix various such cases greatly improves this feature. Now the compiler is able to detect and enforce stricter checks when performing memory operations on sub-objects to ensure that other object members are not inadvertently overwritten, avoiding an entire class of possible buffer overflow vulnerabilities within the kernel. Wrapping up Overall, the vast range of security improvements that have gone into Ubuntu 24.04 LTS greatly improve on the strong foundation provided by previous Ubuntu releases, making it the most secure release to date. Additional features within both the kernel, userspace and across the distribution as a whole combine to address entire vulnerability classes and attack surfaces. With up to 12 years of support, Ubuntu 24.04 LTS provides the best and most secure foundation to develop and deploy Linux services and applications. Expanded Security Maintenance, kernel livepatching and additional services are all provided to Ubuntu Pro subscribers to enhance the security of their Ubuntu deployments. View the full article
  10. The post How to Use Comparison Operators & Data Filtering with Awk – Part 4 first appeared on Tecmint: Linux Howtos, Tutorials & Guides .When dealing with numerical or string values in a line of text, filtering text or strings using comparison operators comes in handy for awk command The post How to Use Comparison Operators & Data Filtering with Awk – Part 4 first appeared on Tecmint: Linux Howtos, Tutorials & Guides.View the full article
  11. When it comes to databases, you can have either relational or non-relational databases. Relational databases follow the SQL syntax, and their data is stored in structured tables. Examples of such databases are MySQL. However, non-relational databases store data in other formats, such as graphs, documents, etc., and a good example is MongoDB. MongoDB is a non-relational database that stores data as documents. The database is open-source, and by adding its repository to your source list, you will manage to install it on your Ubuntu 24.04. This post walks you through every required step. MongoDB Installation Guide on Ubuntu 24.04 There are numerous reasons to choose MongoDB over other databases. For instance, if you want to achieve scalability and flexibility, MongoDB is the ideal non-relational database. Besides, MongoDB accommodates 32 and 64-bit systems. To install MongoDB, use the following steps. Step 1: Update the Repository When installing MongoDB, the recommended approach is to get its latest version by adding the MongoDB repository to your source list. Thus, we must first refresh the package index by updating it. $ sudo apt update Step 2: Install Dependency Packages Before we install MongoDB, a few packages need to be available on our Ubuntu 24.04. Some of them are already installed but you should run the below command to handle these dependency packages. $ sudo apt install gnupg wget apt-transport-https ca-certificates software-properties-common Step 3: Import MongoDB’s GPG Key When installing packages from a third-party repository, you should import a GPG key to verify the authenticity of the packages to ensure no harm comes to your system. For the MongoDB repository, we will import the below GPG key. $ wget -qO- https://pgp.mongodb.com/server-7.0.asc | gpg --dearmor | sudo tee /usr/share/keyrings/mongodb-server-7.0.gpg >/dev/null Step 4: Add MongoDB’s Repository The next step is to add the MongoDB repository for your Ubuntu Noble Numbat. We’ve used the echo command to add the repository to our source list. The lsb_release -cs will fetch the codename for Ubuntu 24.04 and use it to fetch the respective MongoDB repository. $ echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu $(lsb_release -cs)/mongodb-org/7.0 multiverse" | sudo tee -a /etc/apt/sources.list.d/mongodb-org-7.0.list Again, update your repository to refresh the newly added repository. $ sudo apt update Step 5: Install MongoDB With the MongoDB repository on our system, we can now install MongoDB using the following command. $ sudo apt install mongodb-org Step 6: Enable and Start the MongoDB Service After installing MongoDB, we still need to enable it and check to ensure that it is active and running. We will reference the mongod.service with the following commands. $ sudo systemctl enable mongod.service $ sudo systemctl status mongod.service Step 7: Test the MongoDB Connection We’ve installed MongoDB on our system, but we need to test the connection to ensure everything checks out. An excellent way is by running a connection status using the mongosh shell tool. If the connection to the database can be established, we will get an ‘OK’ return status. $ mongosh --eval 'db.runCommand({ connectionStatus: 1 })’ Step 8: Configure MongoDB for Better Security MongoDB has basic configurations that work okay for basic usage. However, it’s advisable to edit the security section of its configuration file, especially if using it in a production environment. Open your MongoDB’s config file using a text editor and edit the security section to have it as in the image below. Save the file, exit the text editor, and restart the MongoDB service. $ sudo systemctl restart mongod.service Step 9: Create an Admin User As part of enhancing your database security, you need to create an administrative user. To do so, access the MongoDB shell with the below command and select which database you want to use. $ mongosh $ use admin Next, create an admin user for your database and set their password and username. Moreover, set their roles, and lastly, quit the shell to close it. To verify that your admin user was successfully created, log in to your MongoDB using their username and the assigned password. $ mongosh -u username -p Once you enter your password, you should gain access to MongoDB. The last step is to select the admin database and display the available users. The output should confirm that your admin user exists. That’s how to install MongoDB on Ubuntu 24.04. Conclusion MongoDB is a preferred non-relational database for developers working on scalable projects. To install MongoDB, add its repository to your source list, then install it using APT. Next, configure the database and set your admin user. We’ve discussed what steps you should follow and give practical examples. View the full article
  12. The post fswatch – Track File and Directory Changes in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .fswatch is a cross-platform, file change monitor that gets notification alerts when the contents of the specified files or directories are altered or modified. It The post fswatch – Track File and Directory Changes in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides.View the full article
  13. The post Tasksel – Quickly Install Software Groups in Debian and Ubuntu first appeared on Tecmint: Linux Howtos, Tutorials & Guides .One of the several tasks that a Linux user is bound to handle is software installation. There are possibly two methods, especially on Debian-based distributions The post Tasksel – Quickly Install Software Groups in Debian and Ubuntu first appeared on Tecmint: Linux Howtos, Tutorials & Guides.View the full article
  14. The post Dool – All-in-One Linux Server Performance Monitoring Tool first appeared on Tecmint: Linux Howtos, Tutorials & Guides .Some of the popular and frequently used system resource-generating tools available on the Linux platform include vmstat, netstat, iostat, ifstat, and mpstat. They are used The post Dool – All-in-One Linux Server Performance Monitoring Tool first appeared on Tecmint: Linux Howtos, Tutorials & Guides.View the full article
  15. The post 12 Amazing Terminal Based Games for Linux Enthusiasts first appeared on Tecmint: Linux Howtos, Tutorials & Guides .When you’re a Linux power user, mastering the command line is essential. Using commands to control the system gives users more power and control over the The post 12 Amazing Terminal Based Games for Linux Enthusiasts first appeared on Tecmint: Linux Howtos, Tutorials & Guides.View the full article
  16. The post 5 Must-Try AI Tools for Linux Users in 2024 first appeared on Tecmint: Linux Howtos, Tutorials & Guides .It goes without saying that artificial intelligence and AI-powered chatbots, such as ChatGPT, are revolutionizing all aspects of our lives. While AI-based technology is becoming The post 5 Must-Try AI Tools for Linux Users in 2024 first appeared on Tecmint: Linux Howtos, Tutorials & Guides.View the full article
  17. Even on Linux, you can enjoy gaming and interact with fellow gamers via Steam. As a Linux gamer, Steam is a handy game distribution platform that allows you to install different games, including purchased ones. Moreover, with Steam, you can connect with other games and play multiplayer titles.Steam is a cross-platform game distribution platform that offers games the option of purchasing and installing games on any device through a Steam account. This post gives different options for installing Steam on Ubuntu 24.04. Different Methods of Installing Steam on Ubuntu 24.04 No matter the Ubuntu version that you use, there are three easy ways of installing Steam. For our guide, we are working on Ubuntu 24.04, and we’ve detailed the steps to follow for each method. Take a look! Method 1: Install Steam via Ubuntu Repository On your Ubuntu, Steam can be installed through the multiverse repository by following the steps below. Step 1: Add the Multiverse Repository The multiverse repository isn’t added on Ubuntu by default but executing the following command will add it. $ sudo add-apt-multiverse Step 2: Refresh the Package Index After adding the new repository, we must refresh the package index before we can install Steam. $ sudo apt update Step 3: Install Steam Lastly, install Steam from the repository by running the APT command below. $ sudo apt install steam Method 2: Install Steam as a Snap Steam is available as a snap package and you can install it by accessing the Ubuntu 24.04 App Center or by installing via command-line. To install it via GUI, use the below steps. Step 1: Search for Steam on App Center On your Ubuntu, open the App Center and search for “Steam” in the search box. Different results will open and the first one is what we want to install. Step 2: Install Steam On the search results page, click on Steam to open a window showing a summary of its information. Locate the green Install button and click on it. You will get prompted to enter your password before the installation can begin. Once you do so, a window showing the progress bar of the installation process will appear. Once the process completes, you will have Steam installed and ready for use on your Ubuntu 24.04. Alternatively, if you prefer using the command-line option to install Steam from App Center, you can do so using the snap command. Specify the package when running your command as shown below. $ sudo snap install steam On the output, the download and installation progress will be shown and once it completes, Steam will be available from your applications. You can open it and set it up for your gaming. Method 3: Download and Install the Steam Package Steam releases a .deb package for Linux and by downloading it, you can use it to install Steam. Unlike the previous methods, this method requires downloading the Steam package from its website using command line utilities such as wget or curl. Step 1: Install wget To download the Steam .deb package, we will use wget. You can skip this step if you already have it installed. Otherwise, execute the below command. $ sudo apt install wget Step 2: Download the Steam Package With wget installed, run the following command to download the Steam .deb package. $ wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb Step 3: Install Steam To install the .deb package, we will use the dpkg command below. $ sudo dpkg -i steam.deb Once Steam completes installing, verify that you can access it by searching for it on your Ubuntu 24.04. With that, you now have Steam installed on Ubuntu. Conclusion Steam is handy tool for any gamer and its cross-platform nature means you can install it on Ubuntu 24.04. we’ve given three installation methods you can use depending on your preference. Once you’ve installed Steam, configure it and create your account to start utilizing it. Happy gaming! View the full article
  18. The Tuxedo Sirius 16 Gen2 is an AMD Linux gaming laptop that comes with the Kubuntu-based Tuxedo OS, Ubuntu LTS, Kubuntu LTS, or Ubuntu Budgie LTS. View the full article
  19. Remote desktop protocols, or RDPs, are used to access a system from any remote location over the Internet. These remote desktop tools are helpful for different tasks, like system administration, modifying processes, and providing remote support. Like other operating systems, Linux distros also support multiple tools and utilities to set up the connection between two systems. However, having multiple options available can get confusing, depending on how and what to choose. So, in this blog, we have listed the top 7 Linux desktops in 2024 that you can install and use without hassles. In 2024, several Linux remote desktop solutions stand out for their reliability, performance, and features. Let’s explore the top contenders: 1. Remmina Remmina, a remote desktop client, is specifically designed for Linux users and other Unix-like systems and is written in GTK+3. The best thing about it? It’s free and open source, rich with features. That’s not about it; the standout point with Remmina is the ability to support a variety of protocols like VNC, RDP, SSH, and NX, giving users multiple options for securely connecting to remote desktops. Users can easily organize and handle connection profiles grouped and quickly connect by entering server addresses. It ensures optimal viewing with scrollable, scalable remote desktops in the window and fullscreen modes. Whether you are a beginner or an advanced user, its user-friendly interface makes it accessible to everyone. 2. RustDesk The rising star in the realm of Linux remote desktop solutions, it has gained swift popularity over the years due to its power-packed speed and not-so-complex operations. It uses the Rust programming language and ensures smooth cross-platform compatibility, providing seamless support to various operating systems, including Linux. RustDesk features include file transfers, multi-monitor support, a streamlined desktop experience, and clipboard sync without compromise. Its self-hosted servers reduce the reliance on external tools like VPNs. Indeed, RustDesk is a promising open–source alternative to establishing a remote desktop and helps the user with versatile, secured remote access 3. TigerVNC Among the best Linux remote desktop options, TigerVNC stands out for its superb VNC protocol implementation, renowned for its dependability and low latency. It is majorly popular for providing lag-free remote desktop experiences in resource-constrained contexts. Because of its platform independence, users may easily access their Linux desktops from a variety of devices and operating systems. TigerVNC is also excellent at supporting 3D and video apps if you are into editing. To improve security during remote desktop connections, TigerVNC now provides extensions for TLS encryption and sophisticated authentication techniques. Thus, TigerVNC offers users who want dependable and effective remote access to their Linux systems a strong and adaptable option. 4. AnyDesk AnyDesk is one of the most prominently used remote desktops around the world, extending its support to all the major operating systems, including Linux. Its interface, high frame rates, and powerful encryption make AnyDesk an ideal choice for professionals and personal preferences. The best and most looked-after factor about AnyDesk is its minimal setup without compromising safety and performance. Linux boasts features such as customizable shortcuts and keyboard layouts, making it easier for users to tailor their experience to their requirements. The file transfer option allows users to exchange files between local and remote systems. AnyDesk for Linux combines ease of use, high performance, and advanced security. 5. XPRA If you want to run X programs on a remote host display, XPRA is your buddy. Unlike any other regular X forwarding, it allows you to disconnect and reconnect without any interference in your program. The best part about XPRA is that its application will run like normal Windows on your desktop and won’t be stuck in a separate box. XPRA’s unique feature is its ability to disconnect and reconnect remote sessions, making it ideal for Linux remote desktop configurations. It is also adaptable and adequate for a range of needs because it supports several platforms and protocols. In general, XPRA provides a smooth and flexible way to access remote desktops on Linux computers. 6. Teamviewer Teamviewer has emerged as one of the finest household names providing remote connectivity. It is perfect for accessing and controlling other devices, whether to provide technical support or otherwise. Whether you want to use it for personal work, business, or an organization of any size, Teamviewer has it all. Along with easy file sharing between devices, it also allows hosting video conferences with 300 people, perfect for remote work. Teamviewer is accessible to all major platforms, including Linux, making it easy to connect from other devices. The security part is taken very seriously by Teamviewer, providing features like encryption and access controls to keep users’ data and devices safe. 7. NoMachine NoMachine is a nifty tool for Linux users, allowing them to control computers remotely. It provides a seamless experience across all Linux distributions. NoMachine is simple, secure, and reliable. Access your Linux desktop from other Linux devices anywhere, anytime. Security is a top priority at NoMachine; it encrypts connections and keeps all your data safe. NoMachine allows two-factor authentication for that extra layer of protection. Not just work, it can also be used to access your home computer while you’re away, stream media, or even play games remotely. Summing up, NoMachine is perfect for accessing your computer at home, in the office, or on the go. Conclusion Linux has a variety of remote desktops, and we have included the 7 best available in 2024. These remote desktop utilities help boost productivity by allowing you to access the system anywhere. You can select any remote desktop tools that align with their workflow. These Linux remote desktop tools can help you make the most of your work and daily tasks, regardless of whether you’re a beginner or an expert. View the full article
  20. As a developer, version control systems are essential to your daily work, especially in enhancing collaboration with other developers. If you use Git as your VCS, understanding how to install it on Ubuntu 24.04 is handy. With Git, you can comfortably track changes in your repository, revert changes, and more. Moreover, Git makes it easy to maintain your code in Git repositories. Before you can use Git on Ubuntu 24.04, you must know how to install it. Luckily, there are two installation options, and both are detailed in this guide. Two Methods of Installing Git on Ubuntu 24.04 Installing Git only requires access to a non-root user account and an internet connection. The method to use will depend on your preference. If you want a quick and easy way, installing Git from the Ubuntu repository is recommended. However, this method doesn’t install the latest Git version. If you want the latest version, you must install Git from its source. This approach involves more steps, but it gets the job done once you know which commands to run. Method 1: Install Git on Ubuntu 24.04 from Ubuntu Repository Git is available in the default packages on Ubuntu, and this version is considered more stable despite not being the latest version. Again, this method allows you to install Git using APT with a simple command. Some packages are installed by default, and in Ubuntu 24.04, you should have Git already installed. Verify this by checking its version. $ git --version If Git is not installed in your case, start by updating your package list. $ sudo apt update After updating the package index, we can then install Git as follows. $ sudo apt install git It’s that simple. Once the process runs and completes, Git will be available on your system, and you can configure it to start using it. If you want to install the latest Git version, use the following method. Method 2: Install Git on Ubuntu 24.04 from Source With the first method, we managed to install Git, but the installed version was not the latest. When you source packages from the default repository, you only access the latest stable version. However, this doesn’t mean you can’t get the latest Git version. To do so, you must compile Git from the source. Unlike the previous method, this approach takes more time, and you must run different commands to retrieve the package and compile it. Step 1: Install the Dependencies For us to source and compile Git, different packages are required, and we can install them using the command below. $ sudo apt install libz-dev libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext cmake gcc Those already installed will be skipped during the installation. Step 2:Create a Temporary Directory We need a temporary directory to store and compile the retrieved Git files. We’ve named the directory tmp and navigated into it. $ mkdir tmp $ cd /tmp Step 3: Download the Latest Git Version You can only find the latest Git version from its website. To know which version you should download, visit the Git project website. Once the site loads, locate the latest version. We have v2.44.0 as the latest when writing this post. Next, use curl to download the Git tarball with the below command. $ curl -o git.tar.gz https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.44.0.tar.gz Ensure you replace the command to match the latest version, depending on when you read this post. Step 4: Unpack the Tarball Once you download the Git tarball, we must unpack it using tar. After unpacking, use the cd command to navigate to the Git directory. $ tar -zxf git.tar.gz $ cd git-* Step 5:Compile and Install Git Start by Compiling the Git package using the make command. $ make prefix=/usr/local all Afterward, install the package by running the command below. $ sudo make prefix=/usr/local install Lastly, apply the changes with the command below. $ source /etc/environment That’s it. You now have Git installed. Check the version to confirm that we installed the latest one. $ git --version We have v 2.44.0, which is what we downloaded earlier. Configure Git on Ubuntu 24.04 Now that you’ve installed Git, the next recommended step is to configure your username and email. To achieve this, run the below commands and add your username to use when making a commit and the email address. $ git config --global user.name “your_name" $ git config --global user.email "your_email" You can now start using Git to make your commits on your repository. Conclusion Git is a widely used version control system, and there are two methods for installing it on Ubuntu 24.04. First, you can install it via APT from your default packages. Alternatively, you can source and compile the Git package to get the latest version. That’s it! View the full article
  21. Linux is a multi-user system, meaning multiple users can work collaboratively on a single system. It helps organizations streamline their workflow and divide the workload. Every employee or member who joins the team gets separate user IDs to access the system, and every ID is associated with different permissions(read, write, or execute). That’s why you must know all the aspects of user management to ensure data privacy and system security. However, a Linux administrator needs to know the correct way of creating a user in the system. So, this short guide is about simple methods to create a user in Linux. Although, adduser and useradd commands look similar, they differ in functionality. Hence, let’s look at the best suitable examples of these commands to create hassle-free users. The useradd Command The useradd is a simple command by which you can add any user in the system: sudo useradd -m username The -m option provides the new user with their home directory. The only drawback of the useradd command is that it generates new users without a password. So, to create a password for them, enter the passwd command: sudo passwd username Here, you can add the password for the user. The adduser Command The adduser command is a simpler alternative to useradd. It creates interactive prompts for users to set passwords and other vital details. sudo adduser username After running the command, follow the on-screen prompts to provide the information about the new user. For example, it asks you to provide a password, full name, and other important details for the user. The System Settings Instead of using the terminal, you can create a user from the Settings. First, go to the system settings: Now, search “user” from the search bar: Here, you need to click on the unlock and then provide the password to access the Settings as administrator: Click on the “Add User” and add the required details, including the full name, password, and access privileges: Finally, click on the add button to make changes successful: A Quick Wrap-up User management in Linux is fundamental, and many users still need to learn how to create a user. Hence, in this guide, we have explained the same using three simple methods. The useradd and adduser are two commands that’ll help you accomplish this task using the command line. Alternatively, you can access the System Settings and add the users manually. View the full article
  22. Directories are containers that hold various data, including text, media, and zip files. As a system administrator, you can create, move, or delete these directories. Although deleting a directory in Linux is simple, many beginners need to learn the correct ways to do it. That’s why Linux users sometimes delete important directories, which can lead to major issues. In this quick blog, we have included all the possible ways to delete a directory in Linux. Here, we have included commands and a simple GUI method to delete a directory without hassles. So let’s look at them all with the appropriate examples: The rm Command The rm command deletes files and directories, where ‘rm’ stands for ‘remove.’ You can use the following rm command to delete a directory: rm -r directory_name We use the ‘-r’ option to delete the target directory, its content, and subdirectories. For instance, let’s delete the music directory using the rm command: rm -r Music Note: Be cautious using the rm command because it permanently deletes files and directories without confirmation. The rmdir Command Unlike rm, the rmdir command is designed to remove empty directories. For example, to delete an empty directory named Script located in the home directory, please use the following command: rmdir ~/Script Note: When using the rmdir command, please specify the target directory and its path. Without the correct path, this command will result in an error. Similarly, you can also use the rmdir to delete a subdirectory. For example, let’s delete the Images subdirectory available in the Documents directory: rmdir ~/Documents/Images The find Command Despite the original function of the find command, it also lets you delete files and directories with its ‘-exec’ option. However, this feature is only applicable to empty directories. For example, to remove a directory this way, use: find directory_name -type d -exec rm -r {} + Here, the ‘-type d’ option specifies that the searched term is the name of a directory. The ‘-exec rm -r {} +’ option guides the find utility to execute the ‘rm -r’ command for every directory found with the input name. Moreover, replace the directory_name with the name of the directory you intend to remove: find Scripts -type d -exec rm -r {} + A Quick Summary Deleting files and directories is a fundamental task for an everyday Linux user. This article demonstrated different methods for deleting a directory using appropriate examples: the rm, rmdir, and find commands. You can choose the rm to delete directories and files, whereas the rmdir only works to delete empty directories. Lastly, the find command allows you to delete directories with the help of the ‘-exec’ option. View the full article
  23. Tar offers a great way of combining multiple files and directories in a single package. Tarball facilitates efficient data transmission and allows you to conserve disk space by reducing the file size of numerous files. So whether you are looking to create backups, transfer files, or distribute software packages, it is your one-stop solution for everything. However, many users have yet to learn how to make a tarball. This short guide has complete information on creating a tarball in Linux. How To Create a Tarball in Linux Although tar comes preinstalled in most Linux distributions, you can verify it using: tar --version If the tar utility is not available in the system, please install it by entering the following commands: Operating System Command Debian/Ubuntu sudo apt install tar Fedora sudo dnf install tar Arch Linux sudo pacman -Sy tar openSUSE sudo zypper install tar Once you are done, please run the below command to archive a directory: tar -cvf archive.tar file.txt directory_name Here, replace the file.txt and directory_name with the names of the files and directories you want to archive. For multiple files/directories, mention their names separated by a space. The -c option tells the utility to create a new tarball. The -v option enables the verbose mode to display the list of files included in this archive. The -f option lets you specify the name of the new tarball. For instance, let’s archive the Documents directory in the doc.tar: tar -cvf doc.tar Documents If you want to list and display the content of the tar file, then you can use the -t option: tar -tvf doc.tar Similarly, you can archive multiple directories into a single tarball using the below command: tar -cvf list.tar Documents Music A Quick Wrap-up So this is how you can archive and create a tarball in Linux. In this quick guide, we have included simple examples to explain how to create the tarball and check its content. Moreover, we have explained an easy approach to archive multiple directories into a single tarball. You should use the v option as it will help you to verify the archived content. View the full article
  24. Rufus has become immensely popular due to its versatility, reliability, and efficiency. It is a tool for creating bootable USB drives to run multiple operating systems on your PC or laptop. Moreover, you can also use it to create live environments, allowing you to run an operating system without the need for installation. As Rufus is a Windows application, most Linux users are unaware of how to use this tool on their systems. In this short guide, we will walk through the steps of installing and using Rufus in Linux as easily as possible. How To Use Rufus in Linux You can not directly install Rufus on your Linux devices because it is primarily designed only for Windows. However, it is possible with Wine, which enables a Linux system to run Windows applications. So, let’s start with installing Wine. Please open the Terminal and Enter the following commands: sudo apt update sudo apt install wine Now go to Rufus’ official website, and click on Other versions(GitHub) under the Downloads section. Search for Rufus-3.22p.exe and download it. We downloaded this version specifically because Wine does not yet support newer versions. After downloading the file, open the terminal and enter the following commands: cd /path For example, let’s replace the path with the actual path, i.e., /Downloads: Cd ~/Downloads Now, run the following command to run the Rufus installer: wine rufus-3.22.exe Once you run the above command, the system will pop up to ask for your confirmation about the installation: After running the installer, you will get a new window of Rufus: How To Use Rufus Rufus’s user interface is simple but can be elusive for users. Considering that, here are the steps you should follow to use it: Insert the USB drive and select it in the Device dropdown. Remember, the USB drive must be empty. Then, select your desired operating system’s disk or ISO image under Boot Selection. Configure the settings according to what suits your situation best. Once you’re done configuring the settings, click the “start” button. It will warn you that the data present on the drive will be destroyed; just press “OK” to begin creating the bootable drive. Wait for it to complete the process, eject the USB drive, and finally, it will be ready to use. A Quick Wrap-up Rufus is critical in enabling users to use multiple operating systems on the same device. It lets you create bootable USB drives for various systems, but many Linux users do not know how to use it on Linux. Therefore, this guide briefly explains the process of running Rufus using Wine(Linux utility to run Windows applications). View the full article
  25. The post How to Install FreeBSD 14.0 with Static Network IP Address first appeared on Tecmint: Linux Howtos, Tutorials & Guides .FreeBSD is a free Unix-like operating system developed by the Berkeley Software Distribution. It is available for all major platforms, including x86_64, IA-32, PowerPC, ARM, The post How to Install FreeBSD 14.0 with Static Network IP Address first appeared on Tecmint: Linux Howtos, Tutorials & Guides.View the full article
  • Forum Statistics

    43.3k
    Total Topics
    42.7k
    Total Posts
×
×
  • Create New...