Category: Fedora

Chmod all files to 644 and all folders to 755 of a directory

Why to chmod ? Using suPHP or FastCGI you gonna notice that they need special permissions. In dso for example 777 is the default. Having those permissions using suPHP is first dangerous and secondly not recommended Especially when almost all providers forbid 777 when using suPHP. So we need to

LAMP Server (Apache / MariaDB /PHP) on Fedora 19+ and Centos/RHEL 7

LAMP is a combination of operating system and open-source software stack. The acronym LAMP comes from the first letters of Linux, Apache HTTP Server, MySQL/MariaDB database, and PHP, Perl or Python (and sometimes PhpMyAdmin too.)   Installing Apache Change to root (if not root already) user using the following command:

Console commands to hibernate and standby / sleep Linux machines

It’s great that Linux nowadays supports all the power management features available on computers. But it’s odd that beside the buttons to trigger standby/hibernate – which are only available in a graphical interface – there are no simple console commands to put the computer to sleep or into hibernation. Standby

SSD performance tips for RHEL and Fedora

Solid State drives provide a pretty substantial performance boost over traditional hard drive technology, but they have some limitations that require some additional planning. There are basically two big things to do, enable discard/trim support in the filesystem, and limit write operations to the SSD. You want to enable discard