Posts

Showing posts from December, 2020

How to enable php imap extension on Amazon Linux 2

Image
How to enable php imap extension on Amazon Linux 2 In this tutorial, we will enable or fix php imap extension on Amazon Linux AMI 2. We will need the tools to compile the module, if you don't have them installed you can do it as follows: sudo yum groupinstall "Development Tools" To install the necessary dependencies we must activate the EPEL repository, if you do not have it activated do the following: sudo amazon-linux-extras install epel yum install epel-release Now we install the dependencies: sudo yum install libc-client-devel uw-imap-static openssl-devel Now we are going to create a symbolic link for the script to find the libc-client library. sudo ln -s /usr/lib64/libc-client.a /usr/lib Then we will download the source code of the version of PHP that you are using from   https://www.php.net/downloads.php cd ~ wget https://www.php.net/distributions/php-7.x.x.tar.gz We go to the directory that corresponds to the extension that we want to compile in this case IMAP, b

Understanding Linux File System

Image
Understanding Linux File System File System in Linux A Linux file name may have any characters or letters, Maximum length for the filename is 256 characters. The file name can use space, underscore, minus, period, and comma. The filename cannot use question marks, asterisks, and slashes. The file extension is not compulsory. We can create files with file extension or without the file extension. To create a hidden file, start its name with a dot. If the file name has spaces, it needs to be quoted (") before we can access it on command prompt. On the desktop, we can use it without quotes. A file system is a way of organizing files on your partition. Besides file-based storage, file systems usually include directories and access control The Linux file system is classified as,  Local File System consists of popular file systems like, ext2, ext3, ext4. xfs and udf. The remote File system consists of NFS and SAMBA, Ext2 is like a UNIX file system (introduced in 1993), it has the concep