The most positive karma comes from the motivation to relieve all beings from suffering.

IT Support Forum

Karma-IT Forum is where you can discuss issues that are relevant to people who work in IT. We have a number of Forums already open including topics about Email, Networking, Apple Mac, PC Windows, plus lots more. Registered users can post their own messages in the forums.

Login

Username:

Password:

Remember me



Lost Password?

Register now!

Site Info

Webmasters
dan
dan

Site Sponsors

Site Sponsor's

http://clkuk.tradedoubler.com/click?p=702&a=1030084&g=14073992


(1) 2 3 4 ... 31 »


#1 Re: changing the backup directory when using crush
dan Posted on: Yesterday 14:26
Ok had to search for a while for this solution. Use the following syntax to change the backup directory path:


drush up --backup-dir=/home/your/directory/path/


http://drupal.org/node/419520


#2 changing the backup directory when using crush
dan Posted on: Yesterday 14:24
When using drush to update drupal, it automatically makes a backup of the site before performing any upgrades. The problem I am having is that the default place for backups is also the same volume where crush is installed, which coincidently is not currently on the same volume where the site in question is hosted. This leads to an update failure as I do not have much spare capacity on this volume to create backups.

My question is how do I change the default directory that crush uses for backups when performing an upgrade?


#3 Re: Purging log files
dan Posted on: 2/3 14:26
One solution might be to us the following syntax:

cat /dev/null > /var/log/messages

http://www.linuxquestions.org/questio ... logs-under-debian-404616/


#4 Purging log files
dan Posted on: 2/3 14:25
I am running CentOS and would like to free up some space by purging some log files. Anyone have any ideas on how to do this?


#5 Re: Finding largest files on your system
dan Posted on: 2/3 14:18
Great. Used this and find out there were some temporary files created by in /usr/local/psa/PMM/tmp that needed removing and make a big difference to the amount of space available. Many thanks.


#6 Re: Finding largest files on your system
dan Posted on: 2/3 14:10
Okay try using the following command to find the larger files on your system:


find /usr -type f -ls | sort -k 7 -r -n | head -10


http://www.cyberciti.biz/faq/how-do-i ... -linuxunixbsd-filesystem/


#7 Finding largest files on your system
dan Posted on: 2/3 14:08
I would like to be able to 'free up' some space on my server. Any idea how to find the largest files on my system?



#8 Re: uploading database via mysql command
dan Posted on: 1/6 15:03
Try something like this:

mysql -u username -p"password" < database.sql

if you want to selct the datbase to import add

-D"database"

i.e.


mysql -u username -p"password" -D"database" < database.sql


#9 uploading database via mysql command
dan Posted on: 1/6 15:02
I am trying to upload a mysql file using the command line. Does anyone know what the command is for this?


#10 Re: clock speed 1and1 server out
dan Posted on: 2011/11/21 19:12
ok found this article:

https://forums.virtualbox.org/viewtopic.php?f=3&t=23703

Namely:

- patch RHEL/Centos 5.4 to latest version
- install VirtualBox Guest Additions
Guest Additions installation:
kernel-headers.x86_64
kernel-devel.x86_64
gcc.x86_64 (compilers)

- add the following to the kernel parameters in /boot/grub/menu.lst (less might be sufficient):
' noapic nolapic nosmp divider=10 nolapic_timer '

- once the guest is started, resync clock with prefered method e.g.:
/etc/init.d/ntpd stop
ntpdate pool.ntp.org
hwclock --systohc
/etc/init.d/ntpd start

Also here:

https://www.virtualbox.org/ticket/3135

Have tries this and see if it fixes the problem. So far seems to be working.



 Top
(1) 2 3 4 ... 31 »




Site Sponsor's