Difference between revisions of "Debian"
Rootadminacc (talk | contribs) m |
Rootadminacc (talk | contribs) m |
||
Line 10: | Line 10: | ||
deb http://ftp.uk.debian.org/debian sid main | deb http://ftp.uk.debian.org/debian sid main | ||
== motd == | |||
http://wiki.debian.org/motd | |||
== MySQL == | == MySQL == |
Revision as of 08:54, 16 April 2013
Broken package
initscripts : Breaks: nfs-common (< 1:1.2.5-3) but 1:1.2.2-4squeeze2 is to be installed
If you're on Debian 6 (squeeze) do:
vim /etc/apt/sources.list
Make sure there are no lines like the one below:
deb http://ftp.uk.debian.org/debian sid main
motd
MySQL
It is commonly easier to use this to dump and restore MySQL, instead of using mysqldump on the new server via .sql files:
mysqldump --default-character-set=binary --user=root --password=EnterPasswordHere databasename > dbdump.txt
mysql --silent --local --password=EnterPasswordHere DatabaseName < dbdump.txt
Transmission
The easiest way to get this working is by doing:
vim /etc/apt/sources.list
Add in this line:
deb http://ftp.uk.debian.org/debian sid main
Do apt-get update , then do:
apt-cache show transmission-cli | grep Version apt-cache show transmission-common | grep Version apt-cache show transmission-daemon | grep Version
apt-get install transmission-cli transmission-common transmission-daemon
Then, to edit the files without it overwriting /etc/transmission-daemon/settings.json
Stop the service, edit the file, backup the file and then start the service.
/etc/init.d/transmission-daemon stop vim /etc/transmission-daemon/settings.json cp /etc/transmission-daemon/settings.json /root/settings.json.backup /etc/init.d/transmission-daemon start
Check /etc/transmission-daemon/settings.json is the same file you edited and that it is owned by debian-transmission:debian-transmission