Linux Index Page 3
How to Autostart LXC Container at boot
To Start the LXC at boot use the option lxc.start.auto = 1 on you container config file located at /var/lib/lxc/CONTAINER_NAME/config
Linux Index Page 3
Test SSL / TLS with GnuTLS from the Command Line
In this tutorial we are going to use gnutls-cli from the command line to test SSL/TLS connection. This command could be useful to test a web or an imap server. Install it with: sudo apt -y install gnutls-bin. Example of usage: gnutls-cli -d 5 imap.gmail.com -p 993
Linux Index Page 3
How to change MySQL root Password
In this tutorial we explain how to reset the password of root user in MySQL. We explain how to change it using mysqladmin and using queries. We also explain how to change root password when you forgot the previous password using mysql_safe command with --skip-grant-tables
Linux Index Page 3
How to install source code from tarball files on linux?
Usually you should use your package manager to install software in Linux, but sometimes you need to install software from source code. The most common steps are to execute: ./configure;make;make install. Check here for full details
Linux Index Page 3
gpg: signing failed: Inappropriate ioctl for device
If you got the error "Inappropriate ioctl for device", try to execute export GPG_TTY=$(tty). See here for more details on the solution
Linux Index Page 3
How To Known what DNS Servers Address you are using
To see you dns servers on linux execute: cat /etc/resolv.conf. For windows ipconfig /all. check this artcile for more details.
Linux Index Page 3
Learn how To Use grep Command.
Improve as a system administrator or as a software developer and learn how to use the very useful command grep. We cover some basic usage and some advance usage. Learn here how to use regular expression with grep and how to search recursively with grep.
Linux Index Page 3
C Programming: If-Else Statement Guide
Knowning how to program in C is a good desicion. Learn here how the if else statement works. See some examples to learn with more details how C code works.
Linux Index Page 3
How to search for a package in Arch Linux
In this tutorial we are going to explain how to use pacman and pkgfile to search for packages in Arch Linux. With pacman use "pacman -Ss packageName" and with pkgfile use: "sudo pacman -S pkgfile". Check here for more details on how to use and install the tools.
Linux Index Page 3
Ubuntu: Recursive chmod for Directories
You can use the parameter -R to apply permission recursively on all directories using chmod. If you only want to apply the execution permission to subdirectories use the option a+rX, check here for more details.