APC is a cache system which stores compiled PHP code, also allows to store user data allowing the web server to serve a greater number of requests per second, it's a worth noting that a wrong configuration of it can slow the response process, so it is important to adjust the cache parameters until finding the proper performance.
chmod does not change the permissions to all directories in a single command line without affecting the permissions of files and vice versa. How can I do that?
You must combine: find, xargs and chmod, for example:
Git is a distributed version control system, originally conceived and developed by Linus Torvald. Git has a great reputation due to its robustness, flexibility and efficiency. The Git development team adds new features at very fast rate then if your distribution is not updated with the latest features of Git you can compile it from the source code.
Advanced desktop manager as: GNOME, KDE, XFCE offered an easy way to change the keyboard setting using GUI, distributions as BLAG, CentOS, RHEL and Fedora offer the tool: system-config-keyboard; but also we can use the setxkbmap command. setxkbmap allows you to change the settings on our keyboard for X sessions.
a href=”https://www.librebyte.net/wp-content/uploads/2015/08/lftp1.png”> If you use lftp as ftp client and you want to connect to an ftp site, but a (Squid) proxy that is blocking the access then you can solve it by adding these options in
Today LibreByte brings a very interesting trick: how to access the same content from 2 different locations of the file system. If you have been installed an Apache HTTPD server to develop your web applications but want to have the files in your $HOME directory and at the same time want the document root would be at /var/www then we would follows this steps:
$ mkdir ~/www
Then we would add this line to the /etc/fstab file
/home/miusuario/www /var/www none bind
Then we execute
# mount -a
The 2 previous command links /home/miusuario/www and /var/www to the same content, allowing access to such content from both directions.
If you need that Apache has write access in a DIR within /var/www we should make use of ACL for it you can use acl-webdev script that allows you to easily set permissions so that your user name and the user under which runs the Apache can write in the wished DIR.
For example, you want that your username and the apache user can write to the dir /var/www/cache or /home/miusuario/www/cache then we execute the above script in the following way:
$ ./acl-webdev www/cache apache:apache
It is assumed that before running the above command you has downloaded the acl-webdev script and you given it execute permissions
– man mount
XFS is a high-performance 64-bit journaling file system created by Silicon Graphics, Inc (SGI) in 1993. It was the default file system in the SGI’s IRIX operating system starting with its version 5.3; the file system was ported to the Linux kernel in 2001, currently is the default file system in CentOS 7.
xfs_growfs allows to enlarge in hot a partition with XFS file system
I have made some modifications to my RHEL/Fedora/CentOS, Debian/Ubuntu operating system and now it does not restart. How can I make a recovery / rescue operation?
Some ftp servers do not display by default hidden directories and files therefore lftp does not take care about them in certain operations, for example when trying to delete a directory that contains hidden files lftp throws the following error message: operation failed: 550 cannot delete directory: directory not empty (rm: Access failed: 550 Can't remove directory) To change this behavior.