ok lets see if I can help here;
a). linux >> linux
zip or tar up the 'ut-server' folder including subfolder's like so;
in which case you could probably use the following;
Code:
tar -czpf ut-server.tar.gz /ut-server
log into the new server.
wget <path/to/old/server/ut-server.tar.gz>
^ that will transfer at speed the entire server from old server to new server.
*make sure that you have created a non root account on the new server first and have logged into it before transferring the files.
now extract the old_server.zip into your new account retaining file/folder structures. If done correctly you should have a blue folder named 'ut-server' on the new server.
extract ut-server.tar.gz on the new server using the following cmd;
Code:
tar -zxf ut-server.tar.gz
the cmd:
will list the files/folders on this server.
change-directory into the 'ut-server' folder by typing: cd ut-server
type again:
now you should notice all the file's etc from the old server in tact.
what I do now is basically re-install the ASU (normally the package is still there form the old configuration)
and / or do it from scratch like so;
Code:
wget http://ut-files.com/Entire_Server_Download/server_scripts/asu-0.6.tar.gz
tar -zxf asu-0.6.tar.gz
also note , after typing:ls you will notice different colours for each type of file/folder.
blue = folder's
red = compressed archives
green = executable files
grey = executable files that need to be chmod'ed.
etc
type the following cmds into the console window to ensure that the files will work correctly.
Code:
chmod +x ucc
chmod +x ucc.init
chmod +x asu.sh
^ that will ensure that teh current user has executable rights on the above named files.
next type: cd System [enter]
remove the old symbolic link file with the following cmd;
then create a new link with the following cmd;
Code:
ln -s libSDL-1.1.so.0 libSDL-1.2.so.0
ok now go back a directory by typing: cd .. [enter]
type: ls [enter]
and you should be inside the 'ut-server' folder.
side-step here;
remove the old ucc.init file by typing the following;
then run ASU like so;
select option 'i' and set the path to the current user.
if the path is correct then it will produce the paths to the various other items (.ini's) automatically in which case you just need to press enter , enter, enter.
configure the map/gametype and mutators etc.
for memory you may have to do the option 'd' as well ..
STML in my case.
whew think that covers it. There maybe an error or 2 in my explaination but I think you will get the idea.
'Murphy's Law' - 'If shit can happen . it will!' , in which case 9/10 times Murphy will intervene.
in some case's of murphy's law try the following;
Code:
su root
<root password>
chown <non root user name> ut-server
^ Basically assigns all privledges for the ut-server folder and I think subfolder's (maybe add -R for recurseively) to the ut-server folder and subfolders.
then;
^ switch back to non-root user profile.