Quantcast
Channel: Linux – digitalwhores.net
Browsing latest articles
Browse All 47 View Live

Image may be NSFW.
Clik here to view.

Meltdown & Spectre – CentOS

This is, for what I’v read about, the two main things that we need to have updated… kernel-3.10.0-693.11.6.el7.x86_64 microcode_ctl-2.1-22.2.el7.x86_64 Check them trought uname -r and dmesg | grep...

View Article


Image may be NSFW.
Clik here to view.

fail2ban – remove ip from ban

https://serverfault.com/a/760324/152273 please give some votes up to the author! see also http://www.digitalwhores.net/linux/iptables-unban-ip/

View Article


fail2ban.actions [14644]: NOTICE [sshd] 113.131.58.142 already banned

Meanwhile in a new VPS… 2018-04-18 19:56:42,211 fail2ban.actions [14644]: NOTICE [sshd] 113.131.58.142 already banned 2018-04-18 19:56:43,213 fail2ban.actions [14644]: NOTICE [sshd] 113.131.58.142...

View Article

PEAR – DB Error: extension not found

Yesterday I had to set up a new server for bunch of sites from 2008 using PHP Pear…. DB Error: extension not found You might need to add the following line at the end of /etc/php.ini...

View Article

google pagespeed – centos installation

  Let’s edit/create google-mod-pagespeed.repo vi /etc/yum.repos.d/google-mod-pagespeed.repo and add [google–mod–pagespeed] name=google–mod–pagespeed...

View Article


Image may be NSFW.
Clik here to view.

VirtualBox – Share internet to (linux) VM – MACOSX!

  On your CentOS edit /etc/sysconfig/network-scripts/ifcfg-enp0s3 and set ONBOOT to yes and add the DNSs… in this case I’m using Google DNS ips. ONBOOT=yes DNS1=8.8.8.8 DNS2=8.8.4.4 Should work!

View Article

Image may be NSFW.
Clik here to view.

explainshell.com

write down a command-line to see the help text that matches each argument   Hello, This site contains 29761 parsed manpages from sections 1 and 8 found in Ubuntu’s manpage repository. A lot of...

View Article

SELinux – Failed to open stream: Permission denied

sudo chcon -t httpd_sys_rw_content_t {path_of_your_project_directory} -R

View Article


Image may be NSFW.
Clik here to view.

wp_wfConfig too large

While debugging some bottlenecks in one of my servers… i’v realised that one of my db queries to Wordfence tables were causing it. Solution was to… uninstall wordfence – to clean all their tables –...

View Article


Image may be NSFW.
Clik here to view.

1panel.hk

https://1panel.hk

View Article
Browsing latest articles
Browse All 47 View Live