Author: actsupp-r0cks

Create directory & set permission using a single Linux command

Generaly, we create directory using “mkdir” command and then change it’s permissions using “chmod” command. Create directory & set permission using a single Linux command Actually, we can set the permissions for the directory at the time of it’s creation itself, with the following command: $ mkdir zyz -v -m 644 mkdir: created directory `zyz’ […]

Continue Reading

Linux Package Management Tips

Try these Linux package management tips. Linux Package Management Tips 1) To check if a package is available in repositories and if so available, to check the version and size of the package, as superuser run the following commands in respective distro: Fedora, CentOS: yum list <package_name> Ubuntu/Debian: aptitude search <package_name> OpenSuse: zypper search <package_name> […]

Continue Reading

Run Database Servers Optimally

Now run the database server optimally using the below procedures and ensure your systems are functioning at peak efficiency. – kernel.shmmax=268435456 for 32-bit – kernel.shmmax=1073741824 for 64-bit – kernel.msgmni=1024- fs.file-max=8192 – kernel.sem=”250 32000 32 1024″ Shared Memory Shared Memory To view current settings, run the command: # more /proc/sys/kernel/shmmax To set it to a new […]

Continue Reading