February 1st, 2012 |
Sometimes the GUI is just too slow. Learn how to resize images, add drop shadows, splice mp3s, clone hard drives and more with the command line. Here are a few tasks that you might want to consider using the command line for. 1. Resizing images Unless you are doing some sort of cropping there is [...]
February 1st, 2012 |
This comes up in discussions almost every new project I work on, because it’s a very important thing to consider when designing a database. When deciding when and how to create an index in your MySQL database, it’s important to consider how the data is being used. Let’s say you have a database of employees. [...]
January 31st, 2012 |
i have been struggling to find some way or another to transfer my file from one linux server to another using commandline. Before this i was just using cpanel to do backups. Here is an easy way to accomplish transferring backup files from one server to another in linux. Just simple command using SCP (secure [...]
January 31st, 2012 |
If you get the error: Windows could not start because the following files is missing or corrupt \WINDOWS\SYSTEM32\CONFIG\SYSTEM or \WINDOWS\SYSTEM32\CONFIG\SOFTWARE Insert and boot from your WindowsXP CD. At the first R=Repair option, press the R key Press the number that corresponds to the correct location for the installation of Windows you want to repair. Typically [...]
January 30th, 2012 |
There are several ways to do this and the best way is to install a utility called “lsof” which you can find in /usr/ports/sysutils/lsof. Once you install this you will type: # lsof -i This will list out all the ports / ips / hostnames that are listening on your server. Another way would be [...]
January 30th, 2012 |
Routing between subnets is disabled by default for the TCP/IP protocol in Windows NT. To enable routing, following these steps: WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can [...]
January 29th, 2012 |
In many cases, the GRUB boot loader can mistakenly be deleted, corrupted, or replaced by other operating systems. The following steps detail the process on how GRUB is reinstalled on the master boot record: Boot the system from an installation boot medium. Type linux rescue at the installation boot prompt to enter the rescue environment. Type chroot [...]
January 29th, 2012 |
version.c:30:16: error: db.h: No such file or directory make: *** [version.o] Error 1 If you receive the db.h error message while installaing a package, you are surely missing db and db-devel packages. You need to install the db and db-devel packages using yum. First search the package using yum. yum search db It will list [...]
January 28th, 2012 |
SSH service can be secured in various ways like changing the SSH port, changing the ssh protocol, ssh ListenAddress, disable root login with the PermitRootLogin parameter, allowing ssh access to specific users, restricting SSH access to specific IPs etc. These steps will make sure SSH service on your server is secure. Edit the SSHD configuration [...]
January 28th, 2012 |
Attempts to start or stop apache web service on Server > Services page fail with error ERROR: PleskFatalException Unable to make action: Unable to manage service by websrvmng: websrvmng: No such file ‘/usr/local/etc/rc.d/apache2.sh’: No such file or directory System error 2: No such file or directory Apache startup script name is specified with the [...]