Posts Tagged linux
📅 February 27, 2018
“I wanted to build a new computer, but RAM and video cards are too expensive!”
Given the ridiculous skyrocketing costs (as of the time of this writing) of RAM and GPUs due to cryptocurrency mining, you might feel dismayed at the prospect of building a new computer system. Whether it be a fancy SLI gaming system or a virtualizing system hosting servers, the current costs will make it more expensive than it would have been a few months ago.
But does this mean give up and wait for prices to fall before doing anything?
There is plenty to do with your current system right now. In fact, learning to work with what you have and improve it to the best of your ability will increase your skills and knowledge.
For hardware and software, here are a few tips that will make your system more pleasant to work with and seem faster than it actually might be.
📅 February 13, 2018
Suppose you want to maintain a list of users allowed to login to an FTP server but you do not want to create user accounts for them on the Linux system. The FileZilla server has this feature built in, so is there are way to specify usernames and their passwords for FTP users in ProFTP?
One way is to use a MySQL database that ProFTP checks for allowed users. If a user is listed in the database, then he is allowed to log in.
This might sound like overkill. Why use a full-fledged relational database for FTP? Actually, you can much, much more than manage logins. Every aspect of the FTP session can be recorded and analyzed using a database. Uploads, IP addresses, last logins, login history, access count, upload/download quotas, and more are possible. Almost anything you want to record about your users is possible with ProFTP and a database, such as MySQL.
This article shows how to set up ProFTP to access a MySQL database that lists users allowed to log in without needing to create user accounts on a Linux Mint system.
📅 February 12, 2018
“What can we expect from a 256GB microSD card in Linux? Is it truly as fast as the box claims?”
MicroSD cards are increasing in capacity. The latest consumer-friendly capacity available at a somewhat reasonable price (as of the time of this writing) is the 256GB card. Yes, 256GB on an itty-bitty card so small you could lose it in a vacuum cleaner, accidentally dump it in the trash, and wonder where it went…and given its cost, you would probably cry in the meantime.
Today’s microSD card is the Samsung EVO+ 256GB with a UHS speed class of 3 (U3). The box claims “up to 100MB/s read and 90MB/s write speeds.” Hmm, we shall see. Box claims always tend to be exaggerated — especially when the fine print on the back indicates that the actual transfer speed might be lower for whatever reason.
Nonetheless, this card does produce decent results, and it is 100% compatible with Linux. Let’s look at a few benchmarks.
📅 February 9, 2018
FTP is insecure because all commands, usernames, password, and data transfers in the clear. Anybody sniffing the network can easily peek into an FTP session.
Let’s thwart that attempt by encrypting our FTP server with an SSL/TLS certificate that we generate ourselves.
📅 January 31, 2018
The Raspberry Pi is a wonder worker!
So many uses are possible. If you enjoy Linux, then the Pi wonder becomes even more wonderful since most applications depend upon Linux.
Do you have a Raspberry Pi tucked away in a box somewhere because you are not sure what to do with it after the novelty wore off?
Here are five free, useful purposes for the humble Pi.
📅 January 4, 2018
“Thunar is not showing any thumbnails despite thumbnail generation enabled. Why?”
I ran into this issue in Linux Mint 18.3 Cinnamon when using the Thunar file manager. Traversing directories functioned fine, but no thumbnails were generated for media files, such a images, videos, and music containing album art.
Here is one technique I tried to make the thumbnails appear.
📅 January 2, 2018
Do you find yourself opening a terminal for every new program or command-line based operation you want to perform?
How about opening a terminal to run a GUI program, such as VeraCrypt?
When multiple terminals are open simultaneously, they might make your desktop appear geeky (which is fun), but they can also clutter the desktop quickly. Is there a way to reduce clutter?
Terminal multiplexing is the process of switching among several open terminals (Bash sessions) in a single terminal to avoid the clutter.
One handy program is called tmux. tmux is full-featured program that runs…wait for it…in a terminal, and it allows you to open and manage multiple terminals within. The result? A single terminal that reduces desktop clutter.