.htaccess URL redirect Rumi, November 13, 2013 # This allows you to redirect your entire website to any other domain Redirect 301 / http://mt-example.com/ # This allows you to redirect your entire website to any other domain Redirect 302 / http://mt-example.com/ # This allows you to redirect index.html to a specific subfolder Redirect /index.html http://example.com/newdirectory/ # Redirect old file path to new file path Redirect /olddirectory/oldfile.html http://example.com/newdirectory/newfile.html # Provide Specific Index Page (Set the default handler) DirectoryIndex index.html Related Administrations Configurations (Linux) .htaccessApacheURLRedirect
Zip and Unzip Command in Linux May 28, 2011 Zipping a Directory zip is a compression and file packaging utility for Unix, Linux, VMS, MSDOS, OS/2, Windows NT, Minix, Atari and Macintosh, Amiga and Acorn RISC OS etc. This utility is installed by default on most Linux computers. he program is useful for packaging a set of files for… Read More
Install MariaDB 10 on Centos or Springdale Linux June 18, 2022 Step 1: Add MariaDB Yum Repository Start by adding the MariaDB YUM repository file MariaDB.repo for RHEL/CentOS and Fedora systems. # nano /etc/yum.repos.d/MariaDB.repo Now add the following lines to your respective Linux distribution version as shown. [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 Related Read More
Install SNMP and Configure the Community String For CentOS April 23, 2020 Install SNMP Install the SNMPD service by running the following command: yum install net-snmp net-snmp-utils Once the service is installed, verify that it is set to start at startup by running: CentOS 6: chkconfig snmpd on CentOS 7: systemctl enable snmpd Related Read More