
hardstatus alwayslastline "%{-b ck}%?%-Lw%?%{bg}%n*%f %t%?(%u)%?%{wk}%?%+Lw%? %= %{r} %H %{g} %D %d/%m/%Y %0c "
WebDisk lets you push CIFS to HTTP via an application server.
Here's an example install on RHEL 5.3 x64 / Tomcat using Sun Java JDK.
Instalation is very much identical on Windows (Replace with C:/tmp/webdisk for example).
In this example we assume an application server gets installed on 192.168.1.4 and 192.168.1.2 is the CIFS server.
Create the tomcat users:
useradd tomcat
passwd tomcat
su - tomcat
Download and unpack tomcat:
wget http://apache.mirrors.evolva.ro/tomcat/tomcat-5/v5.5.28/bin/apache-tomcat-5.5.28.tar.gz
gtar zxvf apache-tomcat-5.5.28.tar.gz
Add the tomcat manager role (replace with your password).
ed apache-tomcat-5.5.28/conf/tomcat-users.xml
27i
Add the following roles (inside tags of course):
role rolename="manager"
user username="tomcat" password="tomcat" roles="manager"
Setup Java
Download and innstall Java (if not installed) - Java SE Development Kit 6u16 from http://java.sun.com/javase/downloads/index.jsp
chmod +x jdk-6u16-linux-x64-rpm.bin
su -c ./jdk-6u16-linux-x64-rpm.bin
rpm -ql jdk-1.6.0_16-fcs | grep bin
echo "export JAVA_HOME=/usr/java/jdk1.6.0_16" >> ~/.bashrc
. ~/.bashrc
echo $JAVA_HOME
/usr/java/jdk1.6.0_16
Start TomCat:
./startup.sh
Login: tomcat:tomcat
Install IntegraTUM WebDisk
cd ~
wget http://downloads.sourceforge.net/project/webdisk/webdisk/0.44/IntegraTUM_WebDisk_0.44.tar.gz
gtar zxvf IntegraTUM_WebDisk_0.44.tar.gz
mv IntegraTUM_WebDisk_0.44 ~/ba
Create ba.xml:
ed ~/apache-tomcat-5.5.28/conf/Catalina/localhost/ba.xml
Create web.xml:
cd /home/tomcat/ba/webapp/WEB-INF/
cp web_default.xml web.xml
ed web.xml
1,$s/YOUR_SERVER_IP/192.168.1.2/g
Create /tmp/webdisk:
mkdir /tmp/webdisk
chmod 777 /tmp/webdisk/
Restart Tomcat:
cd ~/apache-tomcat-5.5.28/bin/
./shutdown.sh
./startup.sh
You should now see ba Display Name: IntegraTUM WebDisk in http://192.168.1.4:8080/manager. Make sure it's started.
Access your application: http://192.168.1.4:8080/ba/base/
You login with the username / passsword on the CIFS server OS. Make sure a "username" folder is shared.
You may also want to check out Davenport WebDAV SMB Gateway:
b -fl 0,1 dka0(Replace DKA0 with whatever is appropriate for your installation)
regsvr32 "C:\Windows\SYSTEM32\Macromed\Flash\Flash10a.ocx" /u
about:config
network.proxy.socks_remote_dns
/usr/bin/tput colors
256
Running the
sudo select-editor
command now allows you to pick which editor will be used by default to edit documents.
I mean, seriously. 6 months for a new "server" version and that's all they could come up with? Probably only has "nano, pico, joe, kedit, gedit and Vigor" as options anywho. And most likely depends on Python and GTK2.
This release also featuring the all improved one of a kind "Uncomplicated Firewall". Apparently it just has an "on/off" switch.