RaspberryPi

How to know which Raspberry do you have

There are several models of Raspberry Pi, with different types of CPU, RAM and hardware in general. In order to know which version do you have, there are different options. CPUinfo file Each Raspberry Pi model could have several revision codes. You can know your Raspberry Pi鈥檚 revision code using this command: cat /proc/cpuinfo The last lines show the Hardware type, the revision code, the Serial Number and in the newer ones, the Model....

February 25, 2021 路 2 min 路 Yvoictra
Speedtest

How to Use Speedtest From Terminal

Speedtest is a great tool to verify the status of your internet connection. With it you could check if your ISP (Internet Service Provider) is providing you the speed you have contracted. Normally you would like to use the Speedtest Website version, but here I am going to explain how to use from a Linux Command Line or Linux Terminal. This tutorial is based of the use of the speedtest-cli GitHub Project....

February 19, 2021 路 3 min 路 Yvoictra
CSGO Ubuntu Ubuntu

How to install a CS GO (Counter-Strike: Global Offensive) server in Ubuntu 20.10

Some people are interested in have a private server in order to play CS GO (Counter-Strike: Global Offensive) with their friends. The process is easy to follow. What is needed? A server Memory: At least 2GB RAM (I recommend 4GB) Disk: At least 15 GB os disk space CPU architecture: x86 (ARM not supported) A Valve account Create a new user First of all, it is important to create a new user in Linux in order to prevent CS GO server possible hacking to affect your Linux node....

December 8, 2020 路 7 min 路 Yvoictra

How to add aliases to your Linux

Using a Linux Operating System, there is a high level of customization, depending on your preferences or needs. One important thing is to create aliases to the most common commands in order to optimize the time you use. In mi case, I love to use .. instead of cd .. or update to update all my Linux software pending updates. Here I put my list of aliases for Ubuntu (based on Debian) or CentOS (based on RHEL) distribution....

October 24, 2020 路 2 min 路 Yvoictra
IPInfo.io Home

Get IP address location info from command line

The Linux command line is a great tool. Today I鈥檒l like to share a method to get Geographical IP information with one command, using curl and the tool of ipinfo.io. It is as easy to use this command: $ curl ipinfo.io/<IP Address> Here you have an example: You will have these parameters: IP City Region Country Loc (Coordinates) Org Postal Timezone And that鈥檚 all. If you want more information about an IP address, you could visit the website of ipinfo....

September 5, 2020 路 1 min 路 Yvoictra

Solve issue "client intended to send too large body" in Nginx

I have faced an issue in a web server using Nginx while trying to upload a file using wordpress. In the nginx error log I saw the error 鈥淐lient intended to send too large body鈥 in this entry: $ tail -f /var/log/nginx/*error*.log 2020/09/01 14:31:04 [error] 884#884: *126565 client intended to send too large body: 1195619 bytes, client: 55.173.250.46, server: test.com, request: "POST /wp-json/wp/v2/media?_locale=user HTTP/2.0", host: "test.com", referrer: "https://test.com/wp-admin/post.php?post=2460&action=edit" This limitation is defined in the Nginx web server, so I have to changed the configuration of the server:...

September 1, 2020 路 1 min 路 Yvoictra

How to resolve LAN hostnames with Ubuntu

By default, Ubuntu desktop installation will provide DNS resolving configured, however in Ubuntu server installation avahi-daemon (or mdnsresponder) is needed to be installed to provide local LAN DNS resolution. In my case, i found the error 鈥淭emporary failure in name resolution鈥 when I tried to resolve a machine of my LAN from Ubuntu. yvoictra@zoar:~$ ping erie.local ping: erie.local: Temporary failure in name resolution To solve this issue, there is no need to install a DNS server in the LAN....

April 19, 2020 路 2 min 路 Yvoictra
Sudo Ubuntu

How to activate SUDO in Ubuntu for a user

The sudo command allows users to run programs with the security privileges of another user, by default, the root user. First if all, the user should be created in the system if it doesn鈥檛 exists yet. On Ubuntu systems, by default members of the group sudo are granted to sudo command access. Once the user is created, from root user, or a user with sudo access, you have to execute this command to add the user to sudo group....

April 18, 2020 路 1 min 路 Yvoictra