Tag Archives: cent os

Linux / Unix: Test Internet Connection Speed From SSH Command

Linux / Unix: Test Internet Connection Speed From SSH Command

I have recently rented a dedicated server for my hobby projects and learning CentOS Linux server. I was informed that I am connected to the 100M/s port. How do I test my Internet connection download speed from the console over the ssh session without using HTML5 or Adobe flash/Java applets based websites? How do I test my upload speed from the console?

The post Linux / Unix: Test Internet Connection Speed From SSH Command appeared first on nixCraft.
Halal Vitamins

Powered by WPeMatico

Ansible reboot a Debian/Ubuntu Linux for kernel update and wait for it

Ansible reboot a Debian/Ubuntu Linux for kernel update and wait for it

How can I reboot a Debian or Ubuntu Linux server/host remotely using an Ansible playbook for kernel update and wait for it to come back again?

The post Ansible reboot a Debian/Ubuntu Linux for kernel update and wait for it appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico

How to install and configure OpenVPN client on OpenBSD

How to install and configure OpenVPN client on OpenBSD

I have a file named openvpn.client.ovpn. How do I use this file to connect my OpenBSD based desktop to remote OpenVPN server and setup secure VPN? How do I configure OpenVPN client on OpenBSD Unix system?

The post How to install and configure OpenVPN client on OpenBSD appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico

neofetch – Awesome system info bash script for Linux, MacOS, Unix

neofetch – Awesome system info bash script for Linux, MacOS, Unix

A command-line system information tool written in bash 3.2 (or above) displays information about your operating system, software and hardware in an aesthetic and visually pleasing way. Works on macOS/Linux/BSD/Unix/Windows and 150 operating systems.

The post neofetch – Awesome system info bash script for Linux, MacOS, Unix appeared first on nixCraft.
Halal Vitamins

Powered by WPeMatico

Make Linux/Unix Script Portable With #!/usr/bin/env As a Shebang

Make Linux/Unix Script Portable With #!/usr/bin/env As a Shebang

The env-mechanism is hugely enhancing convenience, and almost all Unix like systems today provide /usr/bin/env. I regular use FreeBSD, CentOS/RHEL/Ubuntu/Debian/SUSE Linux, macOS, and OpenBSD and all of them provided /usr/bin/env by default.

The post Make Linux/Unix Script Portable With #!/usr/bin/env As a Shebang appeared first on nixCraft.
Halal Vitamins

Powered by WPeMatico

Linux Command: Put Laptop / Netbook In Hibernate / Suspend Mode

Linux Command: Put Laptop / Netbook In Hibernate / Suspend Mode

How do I suspend or hibernate from bash shell command line under Linux operating systems? How do I suspend or hibernate my Ubuntu Dell laptop using command line, without using additional software?

The post Linux Command: Put Laptop / Netbook In Hibernate / Suspend Mode appeared first on nixCraft.
Halal Vitamins

Powered by WPeMatico

PHP.INI settings Disable exec, shell_exec, system, popen and Other Functions To Improve Security

PHP.INI settings Disable exec, shell_exec, system, popen and Other Functions To Improve Security

I run a small Apache based web-server for my personal use, and it is shared with friends and family. However, most script kiddie try to exploit php application such as WordPress using exec(), passthru(), shell_exec(), system() functions. How do I disable these functions to improve my php script security?

The post PHP.INI settings Disable exec, shell_exec, system, popen and Other Functions To Improve Security appeared first on nixCraft.
Halal Vitamins

Powered by WPeMatico

How to open DNS port 53 using ufw on Ubuntu/Debian Linux

How to open DNS port 53 using ufw on Ubuntu/Debian Linux

How do I allow incoming DNS tcp/udp port 53 connections from a specific IP address or subnet on a Ubuntu or Debian Linux server using ufw? How can I open DNS port 53 using ufw firewall?

The post How to open DNS port 53 using ufw on Ubuntu/Debian Linux appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico