If you have a MySql database that you want to import (pipe) into another server, as long as you have the filename.sql file you can copy it using WinSCP from the old server to the new server and run the following command;
Linux
The below is what I do to delete an email from a Postfix queue. First we need to locate the email that you want to delete from the postfix queue mailq
On your VM host you need to initiate installing the VMware tools into your guest. Once this has been done the remaining steps are carried out on the guest OS. As root you need to mount the VMware Tools virtual CD-Rom image#mount /dev/cdrom /mnt
Custom rules can be created for Spamassassin, I use a hand written list thats customised for my needs. The location of the file is /etc/mail/spamassassin/98_myrules.cf The file name is not important, the format of the file is as follows:- body LocalStockRule /putcompanynamehere/ describe LocalStockRule Local Stock Name Block score LocalStockRule […]
Linpus on an Acer Aspire One netbook, does not ship with an SSH client. To be fair its not probably needed by the average user. When I use my wifes AA1 to check my linux mail servers (postfix). I found that I could not SSH so had to install it […]
Copy folder using command line This is an example how to copy a folder using the command line. i.e I want to copy the folder ‘Aqua’ on my desktop to /usr/share/amsn/skins. What is the command using the terminal? sudo cp -R ~/Desktop/Aqua /usr/share/amsn/skins/ Sudo is because you need root privileges […]
OK, we live in the wonderful world of Linux. BUT, for many of us, having to deal with Windows is a fact of life. For example, you may want to use a Linux server to back up Windows files. This can be made easy by mounting Windows shares on the […]
The virtual machines default store is located in;- \var\lib\vmware\Virtual Machines This is for Centos. The position of the default store on Windows is;- c:\Virtual Machines
The below will show you how to add the Dag Wieers repository to Centos 5.3 I have also used this method for lower versions of Centos as well. First you need to run this code from the console or via putty. rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt In order to add this repository […]
find <path> -size +10000k -print0 | xargs -0 ls -l http://linuxandfriends.com/2008/09/10/how-to-find-large-files-in-linux-using-command-line/
About a month ago an intrusion into Fedora servers was detected, and while the signing key for all packages was not compromised Fedora still decided to resign all packages with a new key as a security measure. A few days ago repositories with the new key were enabled. That leads […]
Acer has interwoven Firefox 2 with the rest of the system, that’s why a quite unusual approach is required to install the newest version. The benefit of using an official release is a working update feature, which is disabled in the version already installed on the system. Press Alt+F2 to […]
The below is instructions on how to install VLC on an Acer AA1 running Linpus, these deatails and credit were found at http://macles.blogspot.com/ Acer ships a media player named Media Master, which is in fact just a rebranded version of CyberLink PowerDVD, with the pre-installed Linux. Also included is a […]
VMware server installation on CentOS: 1. Log in the server as ‘root’. It’s not best practice but for now it’s easier. 2. Run all the software updates and reboot, you’ll be prompted about them in the upper right corner. It’ll take a while. If you’re not on dhcp you’ll have […]
1. Go to the Webmin Download page and note the download link for Centos. Currently its http://prdownloads.sourceforge.net/webadmin/webmin-1.450-1.noarch.rpm 2 .Login via SSH to your server. 3. At the SSH prompt type: yum -y install perl-Net-SSLeay 4. use wget to obtain the webmin package for Centos that you got the link for […]