How to Install and uninstall dovecot

Installation The installation is extremely simple, just install the following packages: dovecot-imapd dovecot-pop3d For example, using apt-get: sudo apt-get install dovecot-imapd dovecot-pop3d Uninstall systemctl stop dovecot systemctl disable dovecot apt-get purge dovecot-core apt-get autoremove dovecot-core ...

View More
  Dibaca 1367 kali

Extract tar.gz File in Categories BASH Shell, Linux, UNIX

Syntax The syntax is as follows: tar options file.tar.gz tar options file.tar.gz pattern tar -xf file.tar.gz tar -xvf file.tar.gz tar -zxvf file.tar.gz tar -zxvf file.tar.gz file1 file2 dir1 dir2 Extract tr.gz. file To extract one or more members from an archive, enter:$ tar -zxvf {file.tar.gz}If your tarball name is backup.tar.gz, enter the following at a shell prompt to extract files:$ tar -zxvf backup.tar.gzTo extract resume.doc file from backup.tar.gz tarball, enter:$ tar -zxvf backup.tar.gz ...

View More
  Dibaca 1213 kali

How To easiest way to unrar a file on Ubuntu

First i need to run sudo apt-get install unrar to install unrar. If i want to unpack all files within the .rar files in the same directory unrar e -r /home/work/software/myfile.rar if i want to unpack the files in full path unrar x -r /home/work/software/myfile.rar ...

View More
  Dibaca 1182 kali

Turtorial Instalasi CURL in Ubuntu

open terminal if php 5.6 or your php version sudo apt-get install php5.6-curlrestart sudo service apache2 restart ...

View More
  Dibaca 1039 kali

Force https in subdomain

RewriteEngine on RewriteCond %{SERVER_PORT} ^80$ RewriteCond %{HTTP_HOST} ^sub\.domain\.com$ [NC] RewriteRule .? https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] The differrences are: Specify port 80 not any port containing 80 as digits in the port number. Specify mail.fancyblue.net using No Case. If both conditions are met, redirect the {REQUEST_URI} to the secure server without duplicating Apache variables for {HTTP_HOST} and {REQUEST_URI}; any query string will not be affected. ...

View More
  Dibaca 1102 kali

How to change URL phpmyadmin OR change phpMyAdmin port ?

change URL phpmyadmin : Edit /etc/phpmyadmin/apache.conf and comment (#) the first Alias directive like thath: Alias /phpmyadmin /usr/share/phpmyadmin to /change this /usr/share/phpmyadmin change phpMyAdmin port : Just to be clear, this is not a setting of PhpMyAdmin, it is a setting of the configuration of Apache2, and we need to create new VirtualHost for this purpose. 1. Understanding of the default configuration of PhpMyAdmin. By default (within Ubuntu 16.04) PhpMy ...

View More
  Dibaca 2591 kali

Enabling mod_rewrite in ubuntu apache server

Step 1 — Enabling mod_rewrite First, we need to activate mod_rewrite. Its available but not enabled with a clean Apache 2 installation. sudo a2enmod rewrite This will activate the module or alert you that the module is already enabled. To put these changes into effect, restart Apache. sudo systemctl restart apache2 mod_rewrite is now fully enabled. In the next step we will set up an .htaccess file that well use to define rewrite rules for redirects.   Step ...

View More
  Dibaca 1151 kali

Server unable to read htaccess file, denying access to be safe

  And make sure the directory which contains .htaccess is readable and executable: the directory was set 750, then chmoded to 755 and it worked in terminal sudo chmod 755 access/folder_name/ ...

View More
  Dibaca 1356 kali