powerdns cpanel

powerdns cpanel

# service pdns status 25512: Child running on pid 25514 # PowerDNS Process # ps aux | grep pdns root

Mechanical Keyboard

Mechanical Keyboard

Here are some Tenkeyless Mechanical keyboards available in India. https://www.thecosmicbyte.com – they have keyboard switches, have keyboard similar to Reddragon.

Create an interworx user from command line

Create an interworx user from command line

To create an interworx user from command line, first install CLI tool yum install interworx-cli -y Now to create a

MySQL ERROR Unable to create or change a table without a primary key

MySQL ERROR Unable to create or change a table without a primary key

When trying to restore a database backup to Managed DigitialOcean MySQL 8 database, i get following error root@ocp:~# mysql -u

Systemctl Start a Service on Boot

Systemctl Start a Service on Boot

To enable a service on boot, run systemctl enable SERVICE_NAME To disable a service from starting on boot, run systemctl

Prometheus init script for CentOS 6

Prometheus init script for CentOS 6

Create init file. touch /etc/rc.d/init.d/prometheus chmod 755 /etc/rc.d/init.d/prometheus vi /etc/rc.d/init.d/prometheus Add following #!/bin/bash # # /etc/rc.d/init.d/prometheus # # Prometheus monitoring

Install CSF Firewall

Install CSF Firewall

For non cpanel server, install perl modules yum install -y perl perl-libwww-perl perl-Time-HiRes unzip bind-utils On Ubuntu apt-get install libwww-perl

apt-cache

apt-cache

To search for available packages, run apt-cache search PKG_NAME Example boby@sok-01:~$ apt-cache search wget devscripts – scripts to make the

curl using cookie

curl using cookie

Here is some example of using curl to login to site, use cookie to do further requests. curl -k –cookie-jar

chown

chown

chown command is ued to change ownership of a file or folder In this example ownership of folder public_html to

at

at

yum install at Enable atd [root@server12 ~]# service atd status atd is stopped [root@server12 ~]# chkconfig –list | grep atd

Testing POP3 mail box with telnet

Testing POP3 mail box with telnet

To test if pop3 mailbox work using telnet, use telnet MAIL_SERVER_IP 110 user YOUR_EMAIL_ADDRESS pass YOUR_EMAIL_PASSWORD Once logged in, you