Category: Linux general issues

Easy ISPConfig installation on Ubuntu 18

After a successful ubuntu installation type the following:

Source: https://www.howtoforge.com/tutorial/ispconfig-automated-install-script/

Import an SQL file using the command line in MySQL – Centos linux

Use the following:

If your database has errors and you want to import it anyway, use the –force (-f) flag. Rather than stopping on the offending statement, MySQL will continue and just log the errors to the console:

   

Compress folder recursively using TAR – Centos linux

You can compress recursively a folder keeping ownership and permissions using the following example

 

Compress folder recursively using ZIP – Centos linux

You can compress recursively a folder using the following example

 

.htaccess error: Option All not allowed here

If you get a white page and in logs: “Option All not allowed here” replace in .htaccess

with

Mail server setup using ISP config

Automated installation on Ubuntu 16.04

source: https://www.howtoforge.com/tutorial/ispconfig-automated-install-script   How to disable spamfilter- and antivirus functions in ISPConfig 3 If you use a mailserver wil very low ram (< 500 MB) and a slow CPU then it might be nescessary to disable the spam- and antivirus filter functions in ISPConfig 3 as amavisd and clamav […]

XML file produced by PHP script fail to load

If after the call of XML file your receive the message “Τhe connection was reset” or in apache logs see something like “…exit signal Segmentation fault (11)” then  try to raise the value of max_execution_time in your server’s php.ini file.   /usr/local/lib/php.ini

 

Last modified.: 04/04/2016 Linux general issues

Disable CPU scaling in CentOS

and

  source: http://www.webhostingtalk.com/showthread.php?t=1024453 For more information: https://www.servernoobs.com/avoiding-cpu-speed-scaling-in-modern-linux-distributions-running-cpu-at-full-speed-tips

Last modified.: 01/04/2017 Linux general issues

How to block IPs with Brute Force Monitor in DirectAdmin using CSF

To make Directadmin’s Brute Force Monitor work with CSF you should do the following: The block_ip.sh is only used for an active “click” by the Admin, it does not automate blocking. Fetch the files:

Create the empty block list and exempt list files:

To automate blocking, install the following script:

Source: http://forum.directadmin.com/showthread.php?t=44839&p=229244#post229244

Last modified.: 07/10/2015 Linux general issues

Move files from different folders in a new one – Centos linux

Move files from different folders into a new folder.   Inside the folder you want to get the files, type:

newdir is the folder were files will be moved.

Last modified.: 23/07/2015 Linux general issues
1 2 3 4