Yahaay CodeStash

Author: eLBirador

Linux Directory Structure (File System Structure) Explained with Examples

Have you wondered why certain programs are located under /bin, or /sbin, or /usr/bin, or /usr/sbin? For example, less command is located under /usr/bin directory. Why not /bin, or /sbin, or /usr/sbin? What is the different between all these directories? In this article, let us review the Linux filesystem structures and understand the meaning of…

How to install XCache to accelerate and optimize PHP performance

Step 1. First add EPEL yum repository your system. CentOS 6: 1 rpm –Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm CentOS 7: 1 rpm –Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-1.noarch.rpm Step 2. Install XCache for PHP. 1 yum install php–xcache xcache–admin Step 3. Configuring of XCache for PHP. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16…

Silverstripe Server Requirements

Web server software requirements PHP 5.3.2+ We recommend using a PHP accelerator or opcode cache, such as xcache or WinCache. Allocate at least 48MB of memory to each PHP process. (SilverStripe can be resource hungry for some intensive operations.) Required modules: dom, gd2, fileinfo, hash, iconv, mbstring, mysqli (or other database driver), session, simplexml, tokenizer,…

How to install ‘Development Tools’ group on RHEL/CentOS/Fedora/Scientific/Red Hat Enterprise Linux

You need to install ‘Development Tools’ group on RHEL/CentOS/Fedora/Scientific/Red Hat Enterprise Linux. These tools include core development tools such as automake, gcc, perl, python, and debuggers which is required to compile software and build new rpms: flex gcc c/c++ compiler redhat-rpm-config strace rpm-build make pkgconfig gettext automake strace64 gdb bison libtool autoconf gcc-c++ compiler binutils…