All steps below should be done with a new clean install of DirectAdmin. It is possible to make it work on the server that already have users on it. I did that and it works perfectly fine. However, the steps will be a bit different and it won’t work if you just follow instruction below.
1. Copy and paste below command into your SSH
Read the rest of this entry
I’d like to skip first two or three fields at the the beginning of a line and print the rest of line. Consider the following input:
This is a test
Giving back more than we take
I want my input file with the following output:
a test
more than we take
How do I printing lines from the nth field using awk under UNIX or Linux operating systems?
Read the rest of this entry
ow can I find all the file descriptors used by a process such as httpd (Apache web server) or mysqld (MySQL Database server)?
You can use /proc file system or the lsof command to find all the file descriptors used by a process.
Read the rest of this entry
root@xxxxxx:~# sysctl -p /etc/sysctl.conf
got an error:
error: “net.bridge.bridge-nf-call-iptables” is an unknown key
error: “net.bridge.bridge-nf-call-arptables” is an unknown key
Fix:
sudo modprobe bridge
Suhosin for a domain can be disabled by 2 methods.
1) Using php.ini
2) Using .htaccess.
Following are the steps in order to
Read the rest of this entry