How do I disable Greylisting in SmarterMail?
To disable greylisting (graylisting) you will need to login as an admin and follow these simple steps.
Expand “Domains” and click on “All Domains” and find ...
How do I convert text in a file to lower case?
Converting the content of a file to lowercase a simple process using ‘tr’
cat input.txt | tr ‘[:upper:]‘ ‘[:lower:]‘ > output.txt
Remember the input.txt and output.txt can ...
How do I fix Unable to connect to database: saved admin password is incorrect (Plesk)?
ERROR: PleskFatalExceptionUnable to connect to database: saved admin password is incorrect.
0: /usr/local/psa/admin/plib/common_func.php3:190psaerror(string ‘Unable to connect to database: saved admin password isincorrect.’)1: /usr/local/psa/admin/auto_prepend/auth.php3:93
The following instructions assume ...
How do I graphing mysql statistics in Cacti?
Graphing mysql statistics in Cacti
The HOWTO below will guide you through creating statistics graphs for MySQL usage in Cacti.
We have modified the authentication to use ...
How do I set the time on the Current Cost Envi?
Press and hold the "OK" button until the red light below flashes.
Using the up and down arrows set the hours (using the 24 hour clock).
Press ...
How do I test SMTP Auth using telnet?
To test AUTH LOGIN
Prepare the username and password by encoding them as follows:
$ perl -MMIME::Base64 -e 'print encode_base64("user\@domain");'dXNlckBkb21haW4=
$ perl -MMIME::Base64 -e 'print encode_base64("password");' cGFzc3dvcmQ=
Please make sure ...
How do I disable Aero snap?
To disable Aero snap (Dragging windows off the edge get arranged into half of the screen):
Click on Start->Control Panel
Select the "Ease of Access center" category
Select ...
How do I install Softaculous on cPanel?
To install Sofaculous follow these simple instructions:
Login via SSH to the server (as root, or "su - root" if accessing via another user.
Execute the following ...
How do I clear a saved password for a network share?
To clear a saved password for a network share to allow you to use a new username/password use:
net use \\<sharename> /delete /yes
Replacing the <sharename> with ...
How do I block inbound mail to a Linux server?
To temporarily block inbound mail to a mail server by blocking access to port 25 on the server use the following iptables command (this allows ...
How do I backup a pgsql/PostgreSQL database?
To get a list of all databases on PostgreSQL su to the postgres user:
su - postgres
Once you have switched to the postgres user simply issue ...
How do I view the expiry date of an SSL certificate?
To view the expiry dates of an SSL certificate simply run
openssl x509 -noout -in <filename> -dates
Which will output data in a format similar to this
notBefore=Jan ...
How do I convert a .asf file to .wav?
Using mplayer it is simple to convert an ASF file to MP3.
Ensure you have mplayer installed (On CentOS this would be "yum install mplayer").
mplayer infile.asf ...
How do I list all packages and versions on Ubuntu?
To list installaed software and the versions numbers first install apt-show-versions
sudo apt-get install apt-show-versions
They run apt-show-versions which will display currently installed software and versions. ...
How do I remove all lines from a file up to a keyword?
To remove all lines up to and including a keyword from a file simply use sed as follows:
sed '1,/keyword/d' infile > outfile
(replacing keyword/infile/outfile with the ...
How do I log into SmarterStats as the admin?
To login into Smarter Stats as the admin user you need to use:
Site ID: admin
Username: admin
Password: <your password>
You should now be logged into SmarterStats as ...
How do I stop an automatic raid check?
MD (software) raid checks are performed every Sunday at 1am on Centos6 systems, to stop a current raid check you can run the following command ...
How do I log the connection IP in qmail (H-Sphere)?
In versions newer than H-Sphere 2.5 Patch 1 you can increase the logging level by editing the "/var/qmail/control/options" file. Simply add (or edit any existing ...
How do I see the progress of a dd?
To view the current position of a dd you need to send signal SIGUSR1
You can either find the pid of dd and send the signal ...
How do I pause/unpause shard balancing in MongoDB?
During index creations and other long operations it is sometimes helpful to pause shard rebalancing.
To pause/disable sharding connect with the console and run
use config
db.settings.update( { ...
How do I see queued messages in qmail?
To view a count of the messages in qmail
/var/qmail/bin/qmail-qstat
To view more details on the messages in the queue
/var/qmail/bin/qmail-qread
To view the message content take the # ...
How do I stop X from starting on boot on the Iteaduino Plus?
From the console you can disable X at startup by issuing the following command.
sudo mv /etc/init/lightdm.conf /etc/init/lightdm.conf.disabled
And then reboot the board.
You will then find you ...
How do I set/reset the linaro users password?
If you haven't previously changed the linaro users password the default is "linaro", so you can reset the password by issuing the following command.
passwd
And enter ...
How do I disable NetworkManager?
If you want to configure your network devices manually via /etc/network/interfaces you can remove the service. Firtstly configure your network devices in /etc/network/interfaces and then ...
How do I update the email usage in cPanel for a single account?
To update the mailbox usage statistics for a cPanel account simply run the following replacing "<USERNAME>" with the cpanel username.
/scripts/generate_maildirsize --confirm --allaccounts --verbose <USERNAME>
Statistics should ...
How do I setup VNC for a user on Centos 7?
To setup your server to run a full desktop VNC session first we need to install the required packages.
yum groupinstall "GNOME Desktop";yum install tigervnc-server xorg-x11-fonts-Type1
Once ...
How do I make a KVM Virtual Server start on reboot?
Run the following command replacing SERVER_NAME with the name of the VM.
virsh autostart SERVER_NAME
You should then be notified the Domain has been marked to auto ...
How do I change the timezone on Centos 7 to UTC?
CentOS 7 now includes a tool to change the timezone, to view your current timezone run the following command.
timedatectl
This should display the current timezone configuraton. ...
How do I setup SNMPd on CentOS 7?
To setup SNMP daemon firstly install the required packages.
yum install net-snmp net-snmp-devel net-snmp-libs net-snmp-utils
Then edit the main configuration file
vi /etc/snmp/snmpd.conf
Find the line starting with "com2sec" ...
How do I rename a KVM VM?
This example works on CentOS 7, but will likely work on other distributions too.
Save a copy of the Virtual Machines configuration (replacing VMNAME with the ...
How do I alter the kernel cmdline and rebuild grub2 on CentOS 7?
The kernel command line (cmdline) can be edited in "/etc/default/grub" (GRUB_CMDLINE_LINUX).
Once edited you will need to rebuild the config for grub2 using the following command
grub2-mkconfig --output=/boot/grub2/grub.cfg
You ...
How do I copy the partition table from disk to disk?
When using GPT you can use sgdisk to copy the partition table.
FROM="/dev/sdX"
TO="/dev/sdY"
sgdisk $FROM -R $TO
sgdisk -G $TO
This will copy the partition table over and set ...
How do I enable mDNS/zeroconf/Bonjour on Armbian?
To allow <hostname>.local domains to be resolved on Armbian install the following.
sudo apt-get install avahi-daemon libnss-mdns libnss-mymachines
You should then be able to resolve domains using ...
How do I write new firmware to Cluster Triple?
Control of the Cluster Triple is done using an ATmega328P (or ATmega328PB), the IC can be reprogrammed using either a standard ISCP programmer or you ...
How do I run a backup for a single account in DirectAdmin?
Set the USER variable to the account name to backup.
USER="example"
echo "action=backup&append%5Fto%5Fpath=nothing&database%5Fdata%5Faware=yes&email%5Fdata%5Faware=yes&local%5Fpath=%2Fhome%2Fadmin%2Fadmin%5Fbackups&owner=admin&select%30=$USER&type=admin&value=multiple&when=now&where=local" >> /usr/local/directadmin/data/task.queue
...
How do I use the solder jumpers on the Cluster HAT?
Solder jumpers on the Cluster HAT allow you to modify the default behaviour and configuration. To change the configuration you will need to either cut ...
How do I manually install clusterctrl?
If you're using one of the provided ClusterCTRL images the cluserctrl tool will already be installed but those using the ClusterCTRL Stack or only want ...