Viewing 11 to 20 of 93 items
Archive | Server RSS feed for this section

Centos – How to Install The Latest Apache Server

By default of Centos, you only can install Apache version 2.4.6, because Centos uses Security Backporting Practice to apply most recent fixes to older versions of a software package. As a result, it doesn’t mean that an older version provided by default repositories is vulnerable. But I need the latest version of Apache so that I  Full Article…

0

ErrorException: proc_open(): fork failed – Cannot allocate memory in phar

If you see the errors like that ErrorException: proc_open(): fork failed – Cannot allocate memory in phar:///var/www/workspace/MyProject/build/composer/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php on line 943 Call Stack: 0.0523 765208 1. {main}() /var/www/workspace/MyProject/build/composer/composer.phar:0 0.0528 763216 2.  It means your server doesn't have enough memory for composer executes their commands. You can solve it by upgrading your server or you can create  Full Article…

1

CentOS 7 – Install latest Nginx, Mariadb, PHP 5.6

Setup Nginx server with latest Mariadb and latest PHP 5.6 CentOS 7 (with root user) Step 1: Installing Remi Repository # yum update && yum install epel-release # rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm Install locate function to find the location of files # yum install mlocate # updatedb Install Vim to edit file easily # yum install  Full Article…

0

Centos – Nginx, PHP5-FPM and Permission Denied Errors

If you see the errors like the following: 2017/05/03 13:27:41 [crit] 4202#0: *1 connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied) while connecting to upstream, client: xx.xxx.xx.xx, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xx.xx.xx.xx" You can fix that issue by updating /etc/php5/fpm/pool.d/www.conf and set the listen.mode to 666 (remember to uncomment the line as well): listen.mode  Full Article…

0

Install Latest Apache, MySQL, MariaDB, and PHP on RHEL/CentOS 7/6 & Fedora 24-18

This how-to guide explains how to install the latest version of the Apache 2.4, MariaDB/MySQL 5.5, and PHP 5.5/PHP 5.6 along with the required PHP modules on RHEL / CentOS 7/6 and Fedora 18-24. Install Apache, MySQL/MariaDB and PHP on CentOS/RHEL/Fedora This combination of operating system (Linux) with web server (Apache), database server (MariaDB/MySQL) and server-side scripting language (PHP) is known as  Full Article…

0

Ubuntu – Assign static name for partitions

If you are running Linux system and you have an additional disk in your computer, you can see that the partion name will change after you reboot your operating system. That's issue is not good for users who want to have a static link of those partitions. Here is the solution to resolve your problem.  Full Article…

0

Linux – 10 Screen Command Examples to Manage Linux Terminals

Screen is a full-screen software program that can be used to multiplexes a physical console between several processes (typically interactive shells). It offers a user to open several separate terminal instances inside a one single terminal window manager. The screen application is very useful, if you are dealing with multiple programs from a command line interface  Full Article…

0

Mysql – Too many connections

If you see the error "… To many connections…" while you are accessing your website, you can do the following ways: 1. In your mysql my must to run this: Set Global max_connections=2000 I'm using phpMyAdmin and I executed   2. In your my.conf file (usually located in /etc) find the line that says: [mysqld] And somewhere  Full Article…

0

Ubuntu – Set ulimit parameters

By default the number of open files  pro user in Ubuntu 8.04   is 1024. In my case this number was  too small so I have to increase it.This is done with the  ulimit command: $ulimit -a   # see all the kernel parameters $ulimit -n   #see the number of open files $ulimit -n 9000  #  set the number  Full Article…

0