Tag Archives: linux tutorials

How to rename LXD / LXC container

How to rename LXD / LXC container
How do I rename an LXD managed LXC container under a Linux operating system? You can move or rename containers within or in between lxd instances. In this quick tutorial, I will show how to rename an LXD managed LXC container using lxc command line. How to rename a local container Let us say you […]
Halal Vitamins

Powered by WPeMatico

PHP Fatal error: Call to undefined function curl_init() in /home/httpd/a/includes/functions.php(1)

PHP Fatal error: Call to undefined function curl_init() in /home/httpd/a/includes/functions.php(1)

I setup a LEMP (Linux, Nginx,MySQL, PHP ) stack. But, getting the following error in /var/log/nginx/error.log file:
    PHP Fatal error: Call to undefined function curl_init() in /home/httpd/a/includes/functions.php(1)
How do I solve this problem on Linux server?
Halal Vitamins

Powered by WPeMatico

How to install denyhosts on Ubuntu Linux 16.04 LTS ( intrusion prevention security tool )

How to install denyhosts on Ubuntu Linux 16.04 LTS ( intrusion prevention security tool )

I host my blog in cloud server, and I set up ssh to manage my Ubuntu Linux 16.04 LTS server. However, I noticed lots of break in and brute-force attacks on my ssh server? How can I stop hacking attempts into my system?
Halal Vitamins

Powered by WPeMatico

PSA: Intel Atom C2000 Chips Flaw Bricking Routers/NAS/Firewall devices that are powered by Linux, pfSense and FreeNAS

PSA: Intel Atom C2000 Chips Flaw Bricking Routers/NAS/Firewall devices that are powered by Linux, pfSense and FreeNAS
Intel’s Atom C2000 chips are bricking products, and it’s not just Cisco hit. From the theregister:

Intel’s Atom C2000 processor family has a fault that effectively bricks devices, costing the company a significant amount of money to correct. But the semiconductor giant won’t disclose precisely how many chips are affected nor which products are at risk. Coincidentally, Cisco last week issued an advisory warning that several of its routing, optical networking, security and switch products sold prior to November 16, 2016 contain a faulty clock component that is likely to fail at an accelerated rate after 18 months of operation.

Intel has “Silvermont” which is a microarchitecture for low-power Atom, Celeron and Pentium branded processors used in systems on a chip (SoCs) made by Intel. It includes:

  1. Avoton – SoCs for micro-servers and storage devices.
  2. Rangeley – SoCs targeting network and communication infrastructure.

Halal Vitamins

Powered by WPeMatico

How to use CoreFreq CPU monitoring software on Linux

How to use CoreFreq CPU monitoring software on Linux
Recently I came across an excellent software called CoreFreq. It is a CPU monitoring software designed for 64-bits Processors w/ architectures Intel Atom, Core2, Nehalem, SandyBridge and superior, and AMD Family 0F. It runs on 64 bit Linux system. CoreFreq provides a framework to retrieve CPU data with a high degree of precision:


Halal Vitamins

Powered by WPeMatico

Tip: How to start OpenVPN server when systemd based service start to refuse on boot

Tip: How to start OpenVPN server when systemd based service start to refuse on boot
For some weird reason, I can not get my OpenVPN server to come up at boot time using systemd on an Ubuntu Linux 16.04 LTS server. I have tried a few settings but failed so far.
Halal Vitamins

Powered by WPeMatico

PHP Fatal error: Call to undefined function gzinflate()

PHP Fatal error: Call to undefined function gzinflate()

I have a php script and whenever I run it, I get the following error message in my log file:
     2017/02/05 23:25:46 [error] 9696#9696: *10 FastCGI sent in stderr: “PHP message: PHP Fatal error: Call to undefined function gzinflate() in /home/xxxx/http/includes/functions.php(1) : eval()’d code on line 1″ while reading response header from upstream, client: 10.218.105.1, server: newsletter.cyberciti.biz, request: “GET /a/ HTTP/1.0”, upstream: “fastcgi://127.0.0.1:9000”, host: “server1.cyberciti.biz”
How do I fix this problem on Linux or Unix operating systems?
Halal Vitamins

Powered by WPeMatico