Install DrFTPD 3.0 Automated Scripts

Generic questions and request for help of DrFTPD 3.0

Moderator: developers

Install DrFTPD 3.0 Automated Scripts

Postby m0rph1as » Mon Dec 21, 2009, 3:36 am

So I have a friend who has been trying and trying to setup DrFTPD 3.0 on his system so he can test it out and he has been having issues compiling it. If he has been having issues with doing such a thing, I am sure other people are having similar problems.

I started this thread to make automated scripts for installing DrFTPD 3.0 on different operating systems.
Here is my plan:

- Installing on 32 bit Debian/Ubuntu servers [done]
1) Download DrFTPD3.Debian.32bit.Build3.zip and extract it to your /home
2) Run "sudo sh installdrftpd3.sh" in terminal
3) Enjoy!
# Tested in both Debian 5.0 Sid and Ubuntu 9.10 on 12.20.09

- Automated script for 64 bit Debian/Ubuntu servers [done]
1) Download DrFTPD3.Debian.32bit.Build3.zip and extract it to your /home
2) Run "sudo sh installdrftpd3.sh" in terminal
3) Download wrapper-linux-x86-64-3.3.9.Repack.tar.gz
4) Extract this into your /DrFTPD installation
5) Enjoy!
# Tested on Ubuntu 9.10 on 12.21.09

# Starting back up on development on these scripts
- Automated script for Windows servers (32 and 64 bit) # Starting development on this 1.23
- Automated script for 32 bit FreeBSD servers # Working on scripts in this order as follows
- Automated script for 64 bit FreeBSD servers
- Automated script for 32 bit Redhat/Fedora servers
- Automated script for 64 bit Redhat/Fedora servers

# After all the scripts are finished, I am going to be developing a Java application to detect OS type and do a better installation of
DrFTPD 3.0 onto these types of server setups. It would be a console based application but would suffice being most server users don't have a graphical user interface.



Okay. I was looking into some issues people were having by just running ./build.sh as a standalone.

For linux distros using bash:
$ gedit ~/.bashrc
add the following lines to the file:
export ANT_HOME=/usr/share/ant
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk

- save the file and re-open terminal. the build will work now.
You do not have the required permissions to view the files attached to this post.
Last edited by m0rph1as on Sat Jan 23, 2010, 7:20 am, edited 14 times in total.
m0rph1as
 
Posts: 4
Joined: Sat Dec 19, 2009, 8:48 pm

Re: Install DrFTPD 3.0 on Ubuntu based server (32 bit only)

Postby teslafan1971 » Mon Dec 21, 2009, 6:16 am

I can confirm this does work as i have tried it. :)
teslafan1971
Node's little helper
 
Posts: 152
Joined: Fri Dec 03, 2004, 9:12 am
Location: South Carolina

Re: Install DrFTPD 3.0 Automated Scripts

Postby Indigo » Wed Aug 18, 2010, 4:39 pm

any updates on this?
Indigo
 
Posts: 17
Joined: Wed Aug 11, 2010, 8:58 pm

Re: Install DrFTPD 3.0 Automated Scripts

Postby trool » Sat Oct 09, 2010, 9:33 pm

i am having an issue there

Launch installer in GUI mode (y/n): n
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/******/trunk/trunk/lib/libTerminal.so: /home/********/trunk/trunk/lib/libTerminal.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
trool
 
Posts: 28
Joined: Sat Dec 11, 2004, 9:20 pm

Re: Install DrFTPD 3.0 Automated Scripts

Postby erich » Sun Oct 10, 2010, 11:55 am

trool wrote:i am having an issue there

Launch installer in GUI mode (y/n): n
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/******/trunk/trunk/lib/libTerminal.so: /home/********/trunk/trunk/lib/libTerminal.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)


Don't use this automated script. Use the documentation instead: http://drftpd.org/index.php/SVN_installation
erich
Node's little helper
 
Posts: 579
Joined: Mon Nov 29, 2004, 12:50 pm

Re: Install DrFTPD 3.0 Automated Scripts

Postby trool » Sun Oct 10, 2010, 1:57 pm

i tried oth way's and always getting error avec the "chose gui install"
trool
 
Posts: 28
Joined: Sat Dec 11, 2004, 9:20 pm

Re: Install DrFTPD 3.0 Automated Scripts

Postby PingPong » Sun Oct 10, 2010, 6:15 pm

Trool, you need the 64bit libTerminal.so

PingPong
PingPong
 
Posts: 48
Joined: Sat May 16, 2009, 11:21 pm

Re: Install DrFTPD 3.0 Automated Scripts

Postby debian » Sat Oct 30, 2010, 7:53 pm

running debian 5.0 64bit
getting:
BUILD FAILED
/home/dr/dr3/trunk/installer.xml:46: /home/dr/dr3/trunk/lib not found.

Total time: 0 seconds
Exception in thread "main" java.lang.NoClassDefFoundError: org/drftpd/tools/installer/Wrapper


after chosing /home/dr/dr3 as install dir.

----edit----
fixed it myself.
install script adds mirror specification to the download location via bla.zip?...usedfn, file gets named like that on downloading -> script does not find it.
simply removed the mirror specification in the script -> works
debian
 
Posts: 39
Joined: Fri Sep 04, 2009, 11:47 pm

Re: Install DrFTPD 3.0 Automated Scripts

Postby eric » Thu Jun 23, 2011, 10:30 pm

i get this error

Code: Select all
BUILD FAILED
/home/eric/trunk/installer.xml:46: /home/baster/trunk/lib does not exist.

Total time: 1 second
Exception in thread "main" java.lang.NoClassDefFoundError: org/drftpd/tools/installer/Wrapper
Caused by: java.lang.ClassNotFoundException: org.drftpd.tools.installer.Wrapper
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.drftpd.tools.installer.Wrapper. Program will exit.
Renaming all .conf.dist files to .conf...
mv: Aufruf von stat für »*.conf.dist« nicht möglich: Datei oder Verzeichnis nicht gefunden
./installdrftpd3.sh: Zeile 39: cd: conf: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für »*.conf.dist« nicht möglich: Datei oder Verzeichnis nicht gefunden
./installdrftpd3.sh: Zeile 41: cd: plugins: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für »*.conf.dist« nicht möglich: Datei oder Verzeichnis nicht gefunden
./installdrftpd3.sh: Zeile 43: cd: irc: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für »*.conf.dist« nicht möglich: Datei oder Verzeichnis nicht gefunden
Script complete.
use sudo chown -R #yourusername #drftpd to give ownership to your user
eric
 
Posts: 26
Joined: Thu Jun 02, 2011, 12:48 pm


Return to General questions

Who is online

Users browsing this forum: No registered users and 2 guests

cron