Category: linux

Docker Quickstart Guide 0

Docker Quickstart Guide

Glossary host => the real machine container => inside host Start Docker Docker won't run by default after reboot. sudo systemctl start docker Verify that docker is installed correctly by running the hello-world image. sudo docker run hello-world...

Add plain FTP server in Debian 0

Add plain FTP server in Debian

Install ProFTPd $> sudo apt-get install proftpd $> sudo adduser <username> That's it! Now all users will have FTP access to their home directory. This represents a security risk. It is better to use SSH....

Setup new CentOS 7 dev machine 0

Setup new CentOS 7 dev machine

hostnamectl set-hostname your-new-hostname Install Remote Desktop (RDP) rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum -y install xrdp systemctl start xrdp systemctl enable xrdp firewall-cmd --permanent --add-port=3389/tcp firewall-cmd --reload chcon --type=bin_t /usr/sbin/xrdp chcon --type=bin_t /usr/sbin/xrdp-sesman Troubleshooting netstat -antup...

How to check the list of installed kernels and the current one 0

How to check the list of installed kernels and the current one

Get list of installed kernels on CentOS $> rpm -qa kernel kernel-2.6.32-696.13.2.el6.x86_64 kernel-2.6.32-696.el6.x86_64 kernel-4.9.75-30.el6.x86_64 kernel-2.6.32-696.16.1.el6.x86_64 Get current kernel $> uname -r 4.9.75-30.el6.x86_64 Downgrade to a previous one You don't need to downgrade or uninstall a...

No package 'pciaccess' found 0

No package 'pciaccess' found

checking whether /usr/bin/gcc -std=gnu99 supports -Winline... yes checking whether /usr/bin/gcc -std=gnu99 supports -Wshadow... yes checking which warning flags were supported... -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2...

Boost CPU to max speed on Linux/CentOS 0

Boost CPU to max speed on Linux/CentOS

As I was filling up a ticket and pasting my /proc/cpuinfo I realized my CPU was running at 800MHz even though the CPU is Intel(R) Core(TM) i5-2510E CPU @ 2.50GHz ! How to look...