Category: linux

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 were running at 800MHz Solution $> sudo nano /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor It will repeat for each of your Core. Is it useful...

[SOLVED] Adding epel repo to Centos 6.8 0

[SOLVED] Adding epel repo to Centos 6.8

$> su - $> yum update # optional but recommanded $> rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org $> rpm -Uvh https://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm  

Network bonding between eth0 and eth1 0

Network bonding between eth0 and eth1

Troubleshooting [root@vfrank network-scripts]# ifup eth1 ./network-functions: line 105: /etc/sysconfig/network-scripts/bond0: No such file or directory It means you either mispelled "xyz" in MASTER=xyz or simply that the file does not exists. You need to create...

Working with SELinux 0

Working with SELinux

cat  /var/log/audit/audit.log To add one file as accessible via HTTPD sudo chcon -t httpd_user_content_t /tmp/system_snapshot.dat Other permission (write, execute) are as follow httpd_sys_content_t (system content (var/www) read only to apache) httpd_sys_content_rw_t (system content (var/www)...

yum timeout error 0

yum timeout error

Solution add timeout=60 in the main section of /etc/yum.conf $> sudo nano /etc/yum.conf [main] timeout=60 (...)  

Uninstall node.js on CentOS 6 7 0

Uninstall node.js on CentOS 6 7

Yes node has an uninstaller ! Get the .tar.gz of the release you have, for example for 0.10.46 https://github.com/nodejs/node/releases/tag/v0.10.46 Assuming it is downloaded in your your home ~/ $> tar -xzvf node-0.10.46.tar.gz $> cd...