Meta: The State Of Linux-Tips #20

Today’s article will just be a meta article, not a complicated article, and just the state of Linux-Tips. As you can tell by the numbering, I don’t remember to do this every month, but I try to. I figure it’s fun to share what’s going on behind the scenes.

The process of writing these articles can take as much time as it does to write a ‘regular’ article. They often take longer than that. That’s okay. I still try to write them.

Things are going well enough. The site continues to grow. The site attracts more and more attention. It is a slow growth, but it’s far more growth than I ever expected. Once upon a time, I was happy to see 20 visits (per day) in my logs. In the past month, we’ve had 4 days with over 1000 visits.

As you can imagine, this is expensive. It’s still well within the realm of affordable. The only two real expenses (I don’t count my time as an expense, though I probably should) are hosting and then paying for a CDN.

If you’ve donated in the past, thanks! You’re still invited to help pay for stuff – but, as I said, it’s still within the realm of affordable. There’s no chance I’ll close the site due to operating costs. Regardless of how large the site gets, I’ll keep the site up and running.

Hosting costs are up there. The server has been upgraded to 8x the RAM it had. I was running into resource limits and it was impacting the site’s public side. So, that had to be addressed.

How about some numbers?

Security:

I don’t talk about security much. I don’t want people to know a whole lot of what goes on behind the scenes, at least as far as security is concerned. What’s important is that I use a multi-layer approach. 

Spam is mostly eliminated. If it’s an automated bot, it’s going to have issues posting here. However, some people in low-wage countries have people who are willing to spam manually. It’s a nuisance as I have to go through and remove it manually. It never gets published.

How about some numbers… 

This is some automated spam protection:

automated spam protection
I do not need to manually remove that spam! So, that’s nice! (It should expand if you click on it.)

Oddly, these next numbers are low, they’re usually about 10x this amount. I suppose that means the site’s not under attack today. It could also be that other measures have stopped the attacks.

There are many varied attacks when you run a WordPress site.
Those numbers are usually much, much higher. The low numbers make me happy!

As you can see, the next numbers show that I’ve managed to block pretty much all brute force attacks. This is yet another layer of security.

WordPress gets lots of attacks.
Those numbers are pretty good too, which is nice. I do not pay for the premium subscription.

The next is one of the first layers of security – where I keep the login portion of the site secure. The image won’t make much sense, in part. I have no idea what the graphic is meant to represent – but the three successful attempts were all me. (I use 2FA, so ain’t nobody gonna access the ACP.)

You need to block brute force login attempts.
These are just people who tried to brute force or password guess to gain access.

I really could use a competent WordPress administrator to monitor all this for me. Then again, I don’t think I’d want to cede control.

Popular Stuff:

I’m just going to use Google for the next section. I won’t bother showing the numbers because they’re inaccurate. Google doesn’t seem to count those that block their scripts, meaning they’re useless for some analytic numbers. They’re still proportionately correct and easily visualized, so they’re not completely useless.

The vast majority of my traffic comes from Google. Like, 90% of my traffic comes from Google. People sometimes wonder why I deal with Google and the reason is that it’s worth it (to me) to do so.

These are the top 10 pages found by Google Search:

Top 10 pages found by Google Search.
Those are the top 10 pages that get the bulk of traffic from Google Search.

On the other hand, according to Google’s Analytics (again, these numbers are skewed but still sort of useful), different pages attract the bulk of my traffic. That’s a bit unusual but neat. 

Most active pages on the Linux-Tips site.
Those are (according to Google) the most active pages on the site.

So, there’s some new information for you.

Meta Article:

I suppose it wouldn’t be a meta article without some more numbers… Well, I have some more numbers! I love numbers and pay quite a bit of attention to numbers.

Also, I bought a new domain name and now I’m looking for motivation to write about being a WordPress admin. We’ll see how that goes, but I haven’t found much motivation yet.

This is the 450th article published on this site.
A new article is published every other day, so far without fail.
There are ​341,874 words.
It would take you 22 hours, and 47 minutes to read it all.
The longest article is How To: Ask A Good Support Question.
There have been 206 approved comments.
So far this month there have been 21,226​ visitors.
We’ve used 43 GB of traffic so far this month.

Closure:

Well, there are some numbers for you. I figured I’d spice it up a little bit and share some different information this time around. It’s just a meta article, after all. Taking, uploading, formatting, and filling in meta information for images can take a bit of time, so this article has taken me longer than normal. Imagine that!

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

Some Opinions (News?) About Purism.

Today’s article isn’t like a regular article, it’s just some news about Purism. There’s not going to be much written about this company by me, as I’m not wanting to get sued by angry people. I’m mostly going to give you some information and then share a video. With that information, you’ll be free to make your own choices.

Let’s start with the basics…

I have been paying a little bit of attention to Purism for quite some time. I have considered giving them money, but there were already enough complaints that I never felt comfortable doing that.

Purism SPC, the company, is located in San Francisco, California. They have been around since 2014 and they sell products that are based on ‘opensource’, hardware such as laptops and phones.

Their site can be found at https://puri.sm/

Purism claim to be interested in protecting your privacy and liberties, by using open-source software. There are lots of thoughts about this.

I have seen a few people mention this company lately, as though they were interested in their products. I feel an obligation to inform, thus this news article about Purism.

I will not be offering my opinions on the matter. As much as free speech exists in my country, I don’t really feel like spending money on legal fees and I don’t want to deal with a cease-and-desist notice that tells me to take the site down.

What I am going to do is share a video with you.

Warning, this video uses adult language – but provides sources for their claims. I would suggest watching this video if you’re interested in Purism products.

Now, you take that information and do with it what you will. You can view a bunch of old/current complaints at the Purism Subreddit. There are also a number of topics over on HackerNews but I don’t have links to those. I’m not trying to do an expose, I’m trying to help people make wise choices. This means doing your research – and real research.

Closure:

My opinions are my own, though I’m sure it’s okay to say that I do not now own any Purism products and I do not intend to buy any in the near future. This is simply one of many videos, articles, and comment chains that finally made me realize that I should probably share this with others – as we don’t all dive deep into things prior to making a purchase decision.

What you do with this information is up to you.

I will further suggest that any comments on this matter should be left here. It’s well known that I share my articles elsewhere but I don’t know if Purism is lawsuit happy and I don’t think I’d like to put other sites at risk. I’m sure it’s fine, but we’ll see…

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

Linux Tips: A Comprehensive Guide for Optimizing Your System

Welcome to Linux Tips, your ultimate resource for unlocking the full potential of your Linux system. Whether you are a seasoned Linux user or a beginner exploring the world of open-source operating systems, this comprehensive guide will provide you with valuable insights and tips to optimize your Linux experience. From boosting performance to enhancing security, we’ve got you covered. Let’s dive in!

Just for fun, this article was written by an AI with the prompt being:

“Write an article for Linux-Tips.us that is optimized for Google’s search engine results.”

Enhance Performance:

Optimize Startup: Speed up your system boot time by disabling unnecessary services and applications that launch at startup. Use tools like systemd-analyze to identify bottlenecks and systemd commands to manage services effectively.

Monitor System Resources: Keep track of your system’s resource usage with tools like htop and top. Identify resource-intensive processes and consider optimizing or terminating them to free up valuable resources.

Utilize Swap Space: Configure and optimize your swap space to prevent system slowdowns. Tune the swappiness parameter to strike a balance between using RAM and swap effectively.

Improve Security:

Keep Software Up to Date: Regularly update your Linux distribution, applications, and packages to ensure you have the latest security patches and bug fixes. Utilize package managers like apt or dnf to simplify the update process.

Enable the Firewall: Activate the built-in firewall (e.g., iptables or nftables) to safeguard your system against unauthorized access. Configure firewall rules to allow only necessary incoming and outgoing connections.

Utilize SSH Key Authentication: Strengthen the security of your SSH connections by using key-based authentication instead of passwords. Generate SSH keys and disable password-based authentication to prevent brute-force attacks.

Boost Productivity:

Master the Command Line: Linux’s command-line interface is a powerful tool for executing tasks efficiently. Familiarize yourself with essential commands like ls, cd, grep, and find to navigate the file system, search for files, and perform various operations.

Utilize Shell Scripting: Automate repetitive tasks by writing shell scripts. Bash, the default Linux shell, allows you to create powerful scripts to streamline your workflow and save time.

Take Advantage of Package Managers: Leverage package managers like apt, dnf, or yum to install, update, and remove software effortlessly. Explore repositories and learn package management commands to manage your software ecosystem effectively.

Customize Your Environment:

Choose the Right Desktop Environment: Linux offers a variety of desktop environments, each with its own look and feel. Experiment with different options like GNOME, KDE, or Xfce to find the one that suits your preferences and maximizes your productivity.

Tweak Your Window Manager: Customize your window manager settings to enhance your workflow. Configure keyboard shortcuts, window behavior, and appearance options to create a personalized Linux experience.

Explore Themes and Icons: Customize the visual aesthetics of your Linux system by applying themes and icon packs. Tools like GNOME Tweaks or KDE System Settings allow you to easily switch between different themes and icons.

Conclusion:

By implementing the Linux tips outlined in this comprehensive guide, you can optimize your system’s performance, enhance security, and boost productivity. Remember to keep your system up to date, monitor resource usage, and leverage the power of the command line. With Linux’s flexibility and customization options, you can create an environment that truly suits your needs. Embrace the open-source philosophy and unlock the full potential of your Linux-based machine today!

The Real Closure:

So, I just wanted to share this with you. We worry about AI, but do you think this is an appropriate article for this site? Better still, do you think this is optimized for Google? It’s none of those things. You can tell by the wording that it wasn’t written by a human. Even better, you can tell right away that it wasn’t written by me.

But, let’s see how well this article does in Google’s search results. I’ll report the results (if they’re worth reporting) and I suspect this article won’t rank all that well – if at all. I doubt it shows up in the top ten results for any keywords. If it does, I’ll let you know. I pay attention to that sort of stuff.

Of course, you could say that it’s contaminated by the actual real closure, but the whole article is failing the formula I’ve been using since my earliest articles. It is what it is and I’ll say that it’s ‘close enough for government work’ and we’ll see how well it ends up doing in Google’s search results. It barely qualifies as an article for this site. My articles are very different – and, well, I’d say they’re much better.

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

Meta: The State Of Linux-Tips #18

Today we’re just going to have another meta article, as I like to do now and then. We haven’t had a meta article in quite a while. These are articles that are just a quick look at what goes on here behind the scenes, an article about how the site is coming along.

I would like to do a meta article every month but there’s not always something worth writing about. As such, I haven’t needed to write a meta article in going on two months. Not much has changed but now’s a fine time to write one.

So, things are going just fine. You may have noticed an outage. The outage was because we were being whisked away to a new server and things did not go as smoothly as planned. Things might have gone better, but I have a fairly complex setup and use a CDN that requires things like an IP address.

I couldn’t even log in to the WordPress control panel, so I knew something was wrong. I was initially concerned that we were hacked, but we weren’t. There had been a DDoS (or at least a whole lot of traffic), but that was at the server level, not the account level. Or, at least it wasn’t my site being attacked specifically.

So, we’re now housed in a New York data center. We moved from Dallas. You won’t notice because I use a CDN. Very little traffic reaches the server directly. You access cached content at a server in your geographical location.

There are endpoints around the globe that cache my content and present it to you. That’s why my site should appear to have nearly 100% uptime (barring server moves) and why the site should load quickly, irrespective of your location on the planet. Ideally, you never even need to know that the server is located in New York, but now you do.

I am sorry about the outage and the trouble caused. I take full responsibility. There’s no reason to think this will happen again in the near future. We should be just fine for the foreseeable future, though I may someday need to move to a bit more robust hosting. This is starting to get to be a large site.

A Meta Article:

So, things are going about as well as they were. Traffic ebbs and flows and we’re in the “summer slowdown” right now, which is when people spend more time outside and not online. This is a well-known internet phenomenon and appears to apply to Linux geeks as well. That’s okay, I’m still getting plenty of traffic.

I’ve decided to share a couple of pictures. They’ll explain a bit. However, you should be aware that web stats aren’t ever all that accurate. These are close enough…

Let’s look at the operating systems that visit Linux Tips:

Statistics - operating system
Those are the operating systems visiting the site.

Let’s have a look at the browsers used by Linux Tips visitors:

These are the browsers that visit Linux Tips.
Again, the accuracy is limited. Chrome will be browsers that identify as such.

So, those are the operating systems and browsers used to visit us here at Linux Tips. You can notice a trend. Those numbers have been pretty static for a while, or at least similar in their percentage values.

This will make the 414th article.
I’ve never missed a publication date.
There are more than 300,000 words in these articles.
The average is 769 words per article.
It’d take you 20h 43 minutes to read the site.
It’d take longer, as you have to wait for load times.

My most popular pages have changed recently. I do not know why. I do not understand the workings of Google. I try to practice good SEO and have a bunch of articles that rank okay for some search terms, but I don’t know why some are ranked higher than others – especially as I write almost all of them to a formula.

Anyhow, these are the most Googled pages:

How To: Quickly Restart The Cinnamon Desktop Environment
Pause And Unpause Your Terminal
Disable Printing And CUPS

I have no idea why those articles are now more popular, but they are.

Either way, I’ve already used up about 20 GB of traffic so far this month, and we’re not even 2/3rds of the way through the month. I did get a donation, which was pretty sweet. The CDN appreciated it. As I’ve said before, there are donation links on every page – but the site’s gonna stay up and running even if you do not donate. So, while they’re appreciated I’m still going to pay for the hosting and extra bandwidth.

Oh, most of my traffic (by far the vast majority of my traffic) comes in via search engines. But, Linux.org is where I get most of my direct referral traffic. Most of you use the “www” subdomain:

Most of my direct referral traffic comes from Linux.org.
See? Those Linux.org folks visit fairly regularly.

I don’t do much with Reddit. The links just get automatically published there, but it’s a small subreddit that pretty much only gets my posts. It has almost no subscribers. I don’t try to promote it. I probably should, ’cause Reddit has a whole lot of traffic.

Let’s see… I’ve covered almost everything, I think…

Oh, there are ads. If you would like to do so, you can easily whitelist this site in your ad-blocking extension. They don’t pay much, but it’s nice that they do. 

Yeah, I think that’s about it.

Closure:

Well, there you have it… You have another article and this time it is a long-overdue meta article. They’re a pain in the butt to write and it’s easier to write about technical things, but I try to remember to write one every so often. Today just seemed like that day.

This time, I mixed it up and included some graphics. That’ll save me some time! (Actually, I probably could have typed out the necessary data faster than I could have taken the screenshot, uploaded it, edited it for publication, and inserted it into the article.) But, still, it’s something different.

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

News: Linux-Tips Has Reached It’s Two Year Anniversary!

The headline says it all, Linux-Tips has reached its two-year anniversary! Let me tell you, it has been a whole lot of work! Oh, man, has it been a lot of work. If you want another meta article, read on to appreciate the news with me!

A bit like Sisyphus, there’s always another article two write – and the boulder never reaches the top of the hill. As I finish one article, I’m already starting to consider what the next article will be.

But, I’ve had some help. Out of the 366 (this will make the total 367 published articles) posts, about 10 will have been from other people. I’m grateful for every single one of those. Man, am I grateful…

I suck at making images, or I’d make a celebratory image to show the joy of reaching this milestone. So, use your imagination and pretend I created such an image – and did a good job at it.

I’m aware that this is the 2nd meta article in a row.

I do not care. Nope. I care exactly none. I have none cares.

See the first article was:

Welcome to Our New Home!

The first article with real content came one day later (instead of the usual two days later) because it seemed like the thing to do at the time. It’s an article I’ve referenced a couple of times, but it never got much attention. I used it as the litmus test when checking to see if the site was being indexed in search engines. So, at least it served some purpose!

How To: Generate Sufficiently Complex Passwords In The Terminal

We’re older than two years, as there was an earlier site. That site still exists, but many articles will automatically redirect to here. That original site was the motivation to start this site. That site was the motivation to write a new article every other day. That site is:

Original Linux-Tips

Celebrating a Two-Year Anniversary!

Before starting this article, I did some checking…

The site’s articles total more than 270,000 words. That’s a whole lot of keyboard pounding! I regret nothing!

If you read 250 words per minute, it’d take more than 18 hours to read the entire site, from the first post to the last post! Good luck with that!

The site has shown millions of pages to hundreds of thousands of people. Only about 180 comments have been written, but that’s not bad for a site of this nature.

I don’t even want to guess how many hours I’ve invested in creating, maintaining, and curating this site. Depending on the article, we’re looking at about an hour as an average – counting research, writing, formatting, and editing. Things then get scheduled for automatic publication, ensuring I have a new article every other day.

That’s just the tip of the iceberg. The article gets shared and I deal with questions, suggestions, and general feedback. I pay attention to search engine optimization, doing my best to rank well in the search engines (I’ve given up on ranking at Bing). I also then pay attention to the ads, though that’s not all that tough. Most of you have blocked ads and not whitelisted my site. (Hint! Hint!)

Today, the site ranks near the top for a whole lot of search terms. Alas, they’re not the most popular search terms – but it’s nice to see the site in the top position for some words and phrases. It might seem like a small thing, but it’s big to me!

Man, if you only knew… 

While the site looks nice and simple, there are a whole lot of changes between this and regular WordPress sites. (WordPress is the software that runs the site, which I use as a CMS more so than a blog.) For example, there are seventy-something plugins. Those all must be maintained.

Further, there are daily backups, a duplicated process with weekly updates being done in triplicate. Fortunately, those are processed more or less automatically, though I do sometimes need to test them to ensure they work. Those have to be monitored.

There’s always something that needs to be done and seldom is there enough time (and motivation). Still, I take a bit of pride in keeping my site secure – and keeping private any information you share with me. Heck, I probably pay even more attention to security because I am responsible for some of your private data.

Wow…

You know, I started this project not knowing where it would lead me. I don’t think I expected to make it two full years without missing a single publication date. I don’t think I expected to make it a full year. I also didn’t expect the results, and those results (including the feedback) are what seems to keep me motivated to keep this project going.

I complain about the cost, but it’s not too expensive. It’d be nice if it paid for its expenses, but that’s fine. I think you can be pretty sure that I’ll find a way to keep the site up and running, regardless of costs. Y’all chewed through a bunch of CDN bandwidth last month, but it looks like it’ll be cheaper this month.

Meh… It’s not too expensive, though this site consumes enough resources to warrant moving it to a VPS. Right now it’s still on shared hosting. I could probably find someone willing to sponsor the site (a hosting company) given that it’s all about Linux. I don’t think I’m going to bother doing so.

All-in-all, I think the majority of articles have done alright. Boy, have I whiffed on a few of them. Fortunately, someone’s always willing to chime in when I’ve made a mistake! (I’m very, very grateful when people do so and I try to make any necessary corrections promptly. I am not perfect, however.)

So…

Yeah…

That’s it… It’s been two ****in’ years! I’m as surprised by this as you are!

Closure:

I think I’ll have a glass of wine or three to celebrate the two-year anniversary. This isn’t the kind of article to bother optimizing for search engines, which is nice. I will kinda proofread it, though lately I’ve been cheating in that department and using Grammarly. That helps and has impacted my writing style – in a good way.

But, perhaps there’s an article in that? Some future articles, perhaps? LOL Maybe I should sign up as an affiliate and then write the article while using affiliate links?!? You never know. Heck, I don’t even know. So, if you did know, you should tell me so that I would know… That sounds reasonable!

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

Linux Tips
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.