Linux: Change default IP address on host with multiple IP address
If you have a host with multiple IP address on it, and you need to change witch IP address it present it with on the Internet, you can change the Default IP address, by...
Kenneth Qvistgaard Dalbjerg, IT Konsulent i århus
If you have a host with multiple IP address on it, and you need to change witch IP address it present it with on the Internet, you can change the Default IP address, by...
To show the queue in sophus, from CLI type:
1 |
chroot /var/storage/chroot-smtp /bin/exim -bp |
To delete a specific mail type
1 |
chroot /var/storage/chroot-smtp /bin/exim -Mrm {mailid} |
example:
1 |
chroot /var/storage/chroot-smtp /bin/exim -Mrm 1daHZv-000EaR-0A |
To see how many mails, there are in queue, you can type:
1 |
chroot /var/storage/chroot-smtp /bin/exim -bpc |
When you start the Linux OS – OSCore, from the bootable ISO file, you will just the a prompt. To Install it, i following these steps First we needed to be root
1 |
sudo su |
Then...
How to generate a CSR in Tomcat with Keytool Create a New Keystore You will need to create a new Keystore, this is done by this command:
1 |
keytool -genkey -alias domainname.prefix -keyalg RSA -keysize 2048 -keystore /path/domainname.prefix.jks |
When the commands ask for the...
Rescan for new disk with this command echo “- – -” > /sys/class/scsi_host/host#/scan
If you want to delete all mails from a specific mails from a sender / recieptment domain You can use this command:
1 |
mailq | tail -n +2 | grep -v '^ *(' | gawk 'BEGIN {RS = ""} /@kennethdalbjerg.dk/ {print $1}' | tr -d '*!' | postsuper -d - |
This will delete all mails sent to or from kennethdalbjerg.dk domain.
Errors like this: /opt/CA/ABuagent/uagentsetup: 74: [: -e: unexpected operator /opt/CA/ABcmagt/caagent: 60: cd: can’t cd to /nls /opt/CA/ABcmagt/caagent: 60: cd: can’t cd to /nls /opt/CA/ABcmagt/caagent: 60: cd: can’t cd to /nls /opt/CA/ABcmagt/aglang_setup: 60: [: -e:...
First you need to install Windows 7, and safeboot / Mcafee endpoint protection. Then you need to take a backup of the MBR, this is done with a Ubuntu live cd, run this commands:...
First you need to enable some standard Repos first
1 |
vi /etc/yum.repos.d/CentOS-Base.repo |
Enable base and updates. Then you need to enable Dell yum Repos
1 |
wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash |
This will automatically create the repo files in /etc/yum.repos.d Next we...
Sidste kommentar