Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • How To Install HAProxy on CentOS 8 - idroot

    In this tutorial, we will show you how to install HAProxy on your CentOS 8. For those of you who didn’t know, HAProxy is a free HTTP/TCP high availability load balancer and proxy server. It spreads requests among multiple servers to mitigate issues resulting from a single server failure. HA Proxy is used by a number of high-profile websites including GitHub, Bitbucket, Stack Overflow, Reddit, Tumblr, Twitter, and Tuenti, and is used in the OpsWorks product from Amazon Web Services.

    This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step by step installation HAProxy on a CentOS 8.

  • How To Install Python 3.9 on Ubuntu 20.04 – TecAdmin

    Python is an object-oriented, high-level programming language. It is an open source with a large community. Python is used as key languages among the top tech companies like Google.

    The Python 3.9 stable version has been released with several improvements and security updates. It included multiple new modules, improved existing modules and many other features.

    You can choose deadsnakes PPA for Python installation on Ubuntu 20.04 system.

    Use this tutorial to install Python 3.9 On Ubuntu 20.04 LTS Linux system via Apt-Get. You can also choose second method to install Python using source code.

  • YAML for beginners | Enable Sysadmin

    YAML Ain't a Markup Language (YAML), and as configuration formats go, it's easy on the eyes. It has an intuitive visual structure, and its logic is pretty simple: indented bullet points inherit properties of parent bullet points.

    But this apparent simplicity can be deceptive.

    It's easy (and misleading) to think of YAML as just a list of related values, no more complex than a shopping list. There is a heading and some items beneath it. The items below the heading relate directly to it, right? Well, you can test this theory by writing a little bit of valid YAML.

  • colorls – turbocharged alternative to ls

    The part of the operating system responsible for managing files and directories is called the file system. It organizes our data into files, which hold information, and directories (also called ‘folders’), which hold files or other directories. Several commands are frequently used to create, inspect, rename, and delete files and directories.

    One of these commands is ls, which prints the names of the files and directories in the current directory. A directory is really just a file. It’s a special file with special rules. The ls utility appeared in the first version of AT&T UNIX.

    Are you looking to liven up your shell? Want a bit more beauty on your terminal? colorls might be the ticket. colorls is a command-line utility that aims to improve on ls. color is written in Ruby.

More in Tux Machines

Zotero: An Open Source App to Help You Collect & Share Research

Zotero is a completely open-source project that you can find on GitHub. It aims to help you easily collect, organize, add notes, and share your research. And, all of that without being a cloud-based service, it is completely offline. So, your research notes belong to you. Of course, unless you want to sync it for collaboration purpose, for which you may have to refer the documentation. To give you a head start, you can either opt for a WebDAV storage or just create a Zotero account to sync and share your research easily. Read more

GhostBSD 20.11.28 Release Announcement

I am happy to announce the availability of GhostBSD 20.11.28. This release comes with a new live system that leverages ZFS, compression, and replication first introduced in FuryBSD by Joe Maloney. The 20.11.28 release contains numerous improvements, including OS fixes for linuxulator to improve Linux Steam performance, an updated kernel, and GhostBSD userland updates. Userland updates include a MATE desktop upgrade to version 1.24.1, Software Station performance improvements, and numerous application updates. Read more

Linux 5.10-rc6

For the first part of the week, it really looked like things were
calming down quite nicely, and I mentally already went "Ahh,
Thanksgiving week, this is going to be a nice small, calm rc".

And then Friday rolled around, and everybody sent me their pull
requests for the week, and it all looks very normal again.

But at least this week isn't unusually bigger than normal - it's a
pretty normal rc6 stat-wise.  So unless we have some big surprising
left-overs coming up, I think we're in good shape.

And the diffstat looks nice and flat too,  which is a sign of just
widespread small fixes, rather than some big last-minute changes. The
exception is a chunk of fixes to the new vidtv driver, but that is not
only a new driver, it's a virtual test-driver for validation and
development rather than something that would affect users.

That vidtv driver shows up very clearly in the patch stats too, but
other than that it all looks very normal: mostly driver updates (even
ignoring the vidtv ones), with the usual smattering of small fixes
elsewhere - architecture code, networking, some filesystem stuff.

So I'm feeling pretty good about 5.10, and I hope I won't be proven
wrong about that. But please do test,

                 Linus

Read more

Review: Trisquel GNU/Linux 9.0

Trisquel GNU/Linux is an entirely free (libre) distribution based on Ubuntu. Trisquel offers a variety of desktop editions, all of which are stripped of non-free software components. The project is one of the few Linux distributions endorsed by the Free Software Foundation and a rare project that attempts to both be entirely free and friendly to less experienced Linux users. The Trisquel website lists several desktop editions. The main edition (which is a 2.5GB download) features the MATE desktop environment while the Mini edition is about half the size and runs LXDE. There is also a KDE Plasma edition (called Triskel) along with Trisquel TOAST which runs the Sugar learning platform. Finally, there is a minimal net-install option for people who are comfortable building their system from the ground up using a command line interface. The release announcement for Trisquel 9.0 is fairly brief and does not mention many features. The bulk of the information is provided in this paragraph: "The default web browser Abrowser, our freedom and privacy respecting take on Mozilla's browser, provides the latest updates from upstream for a great browsing experience. Backports provide extended hardware support." Though it does not appear to be mentioned specifically in the release announcement, Trisquel 9.0 looks to be based on Ubuntu 18.04 LTS packages, with some applications backported. [...] On the whole I found Trisquel to be pleasant to use, easy to set up, and pretty capable out of the box. I really like how fast it performed tasks and how uncluttered/unbusy the desktop felt. The one problem I had with Trisquel was the lack of wireless networking support. The distribution strives for software freedom (as defined by the Free Software Foundation) and this means no non-free firmware, drivers, or applications. This slightly limits its hardware support compared to most Linux distributions. It also means no easy access to applications such as Steam, Chrome, Spotify, and so on. This may make Trisquel a less practical operating system to some, but that is sort of the point: Trisquel takes a hard stance in favour of software freedom over convenience. If you are a person who does not use non-free software and doesn't need non-free wireless support, then Trisquel is probably the best experience you can have with an entirely free Linux distribution. It is painless to set up, offers several desktop flavours, and runs quickly. For free software enthusiasts I would highly recommend giving Trisquel a try. Read more