Ubuntu :: Web Script For Apache As A Simple File Sharing Server?
May 23, 2010
Quite often I need someone to transfer a file to my laptop, and it's often different OS to different OS, and setting file-sharing, sshd/ssh, ftpd/ftp, and whatever else not is often not worth it. A USB key is also not always handy or big enough.
But, it's easy to be on the same network, just hard to get service working on top of it in less than 3 minutes if you've never dealt with that person's computer before.
What I was thinking would be the simplest thing would be if I could run apache, and have a very simple web script that simply allows file uploads. Something that would serve a web page that has a "choose file" button which brings up the file dialog, pretty standard I guess. I wouldn't say no to a few more functions on top of that.
Given that, does anyone know of a simple apache modules, or a web server script (language doesn't matter) that would allow for this?
View 2 Replies
ADVERTISEMENT
Apr 11, 2011
On Godaddy's Simple Control Panel for their dedicated servers, the URL defaults to URL... I would like to change the location to URL....
View 1 Replies
View Related
Jul 19, 2010
Gentlemen/Ladies; I checked the existing information on this site and found that it is pretty widespread and confusing to me. I am a Linux Newbie so please be patient. I use Mandriva Linux 10.0 and want to setup a simple file server. I also want to connect a Windows XP computer to access files on the Linux server. I have a spare router I can use. My ultimate goal is to learn MySQL and PHP programming; I am pursuing a Web Development curriculum at a local University but am just starting out.
Am I making sense and can I do it with the equipment I have? Can you point me to some resources,documents, etc. I can use to accomplish this?
View 1 Replies
View Related
Dec 20, 2010
I would like to set the firewall in Ubuntu Server 10.10 up to be very secure but perform these tasks:
1. File server to windows 7 and windows xp machines both over ethernet and wireless via a router.
2. Print server for these 2 machines.
3. Auto backup these 2 machines.
So far I have set the server up with a static ip, do the 2 windows machines need static ip's as well? I don't need remote access to the server, only over the lan. I thought this may be all I needed to do:
Code:
$ sudo ufw default deny incoming
$ sudo ufw default allow outgoing
$ sudo ufw allow ssh
$ sudo ufw allow Samba
$ sudo ufw allow rsync
$ sudo ufw enable
But would this block auto updates to the server and auto backup of my files?
View 4 Replies
View Related
Sep 15, 2010
I am trying to deploy a very simple file server in my company's network.The goal is just to have a file server with DAT backup, nothing more.I managed to configure Samba to show a share visible in the Windows network, with free read and write to everyone. For this I configured "Autentication Mode = user", and read/write access to all users in the specified share.
Of course, I would like to have the possibility to establish permissions based in AD-users. For that, I tried to add my CentOS machine to AD.I followed the guide in:
[URL]
I can get the kerberos "kinit" command to autenticate in Windows AD: I can access the Windows machines in the network as administrator and "klist" shows the valid ticket.But, when trying the "join", I always get the "No logon servers" error.I googled around for this, and it seems that this is a common error and there is no "magic approach" for it...
So, my questions are:
- Can this be achieved only by the Samba configuration tool (Gui)? I think not, as we need to change kerberos settins
- What would be the correct settings for krb5.conf?
- Are there any other services/files needed to adjust?
View 1 Replies
View Related
Apr 8, 2010
I have two web servers. One is active and one is in reserve. I keep the user data (web pages) in sync by running rsync every 10 minutes or so. This copies any changes from the active machine to the reserve machine. But, it's slow, only gets changes every 10 minutes, bogs down the disk, does strange things to files that are changing during the rsync process etc...
I want something that will automatically copy any changes from the active server to the reserve server as they are made. IE I hit 'save' on the active server, it copies the file to the reserve server. Simple!
I've been looking around and I see GFS which is really vastly more complicated than I need. I'm happy with read-only access on the reserve host, so I don't need distributed lock management.
I could theoretically implement this by setting inotify watchers on every file and running an SCP or rsync command when a file gets saved. So, it can't be that hard.
I do not need a true networked file system, as in something I mount over the network. I just want something to keep my disks in sync.
View 3 Replies
View Related
Dec 7, 2010
I have two computers on my home lan I am trying to share files between...My desktop which is running Ubuntu Server 10.10 (x64) with a GUI, and my laptop which is running Ubuntu Desktop 10.04. I have tried a million different tutorials regarding SAMBA setup, but they never work.
In addition, most of those tutorials are geared towards hybrid Linux/Windows environment. I do not have any microsoft product in my home. I have created the share on my server, but I'm not sure how to connect to it from the laptop (once again at this point in the tutorials it explains how to access it from a Windows PC). I tried using the menu doing this:
Places-->Connect To Server-->Service Type-->Windows Share (for the server I tried my server hostname and IP) to no avail. Does anyone know of a recent step by step tutorial for setting up a complete Ubuntu environment? Is there a simpler method I can use since I do not particularly need to use SMB protocol?
All I want to do is share my music folder from my server so I can access it (from the same LAN) on my laptop...Arrrghhh frustrating.
View 8 Replies
View Related
Nov 3, 2009
I have a CentOS + Samba server and Windows XP client machines. Users, passwords and permissions are entered on the server machine.users and passwords ( same as on the server ) are entered in the XP client machine.When attempting to access a public file on the server using a XP client machine and the IP address of my server, I am asked a user name and password and none of the already entered seem to work. I cannot access the server file (prompted again and again to enter user name and password). What did i miss
View 7 Replies
View Related
Dec 6, 2010
Does anyone know of a simple gui for Apache that I can use to stop and start apache when I need it. I just installed apache on my laptop so I can work and test locally.
I tried webmin but it's to bloated.
View 3 Replies
View Related
Feb 25, 2011
i am able to set up samba server with adc it is working properly. also i set the GID and stikki bit permission in sharing so i can set only crater can delete the files. But i want some users have ability to delete permission for all files and folders in that sharing
I am not able to set that
View 3 Replies
View Related
Jul 7, 2011
Im using WPA with a TKIP pre-shared key...Can a client pc im sharing my key with access my files if im not file sharing? Router config?
View 2 Replies
View Related
Dec 16, 2010
my laptop seems to have a bad HDD, and I was thinking of trying to make it a "thin client." However since it is a laptop obviously I want to take it places. Is it possible to make a terminal server and "thin client" connect through the internet and not just LAN?The reason I quote thin client is because in my mind I am still going to need to use some HDD so I can connect to the internet and find my server.
To make things easier to read refer to the above as "question 1" and the velow as "question2" Thank you. And sorry for the inconvience. These topics I felt were to similar to make separate topics.I also have another question, the files I have on my server can be accessed by anyone on the network(added a second HDD and network shared it) how can I make it so that the LAN clients have to "login" (or it uses their computers login info to send them to only their files? And if that is possible can we expand it to allow me to use those logins through the internet?
View 1 Replies
View Related
Jul 19, 2011
How to configure File Sharing server which will be in the same network along with Windows DNS servers and others.Googling showed me that "Samba server" will do the job of file sharing . Okay samba server is configured on Ubuntu Linux machine but how to add this to the existing domain where windows machines are ? Do i have to really add this Samba server to windows Active directory or adding it in the network will do? Please also help me in configuring samba server security and the ease of user access of the data on the server.
View 2 Replies
View Related
Jun 16, 2010
Question for the sys admin types:So, say you want to do file sharing in an environment with a lot of Windows clients, but you want the shared data on a Linux server. You can use SAMBA, and that will make all the Windows clients happy (provided, of course, that you can get SAMBA working correctly). But is this your only option?I mean, obviously you can use ssh/sftp. But the Windows sftp clients I have tried don't make the file sharing process as simple for non-techies: you either just get a command-line, or you get some kind of two-pane application view like with filezilla or cuteFTP; it isn't as integrated into the desktop as what you get when using native SMB file sharing.So, is there Windows software you can install that can make the file sharing experience very non-expert friendly with some protocol like ssh/sftp or NFS?
View 1 Replies
View Related
Sep 7, 2010
I'm trying to decide on how to host and serve files to multiple operating systems (Linux, Mac OS X, Windows XP and Windows 7) over the internet. I'd like this to be secure (obviously), but don't want to use SSH tunnelling.Ideally, this would be something which could be persistently mounted on the client machine (a network drive in Windows, likewise in Mac OS X and Linux) and wouldn't require the installation of extra software on the clients. I thought about samba, but I'm not sure if it's secure enough to be internet-facing. Would FTP fit?resumably it's possible to have encrypted connections only and limit connections to a specified number of client IPs.
View 2 Replies
View Related
Feb 7, 2011
how one professionaly would solve the security and administration for the multiple webadmins, but firstly I give some general information.I spent 2 days searching and there are alot of good guides but I dont see my specific questions answered, not so I can understand them atleast.I have Ubuntu 10.10 64bit server edition installed.I am educating myself and am new to linux but use vmware and have installed Gentoo multiple times and a copy of Ubuntu server. This server is going to be setup on the 64-bit 10.10 Ubuntu virtual machine.
View 3 Replies
View Related
Feb 26, 2010
I've installed Fedora 12 Desktop in order to develop a simple website, which is going to use some PHP.
I will need:code editor to write html/css/php local apache server running php browser how to get me up and running in no time with least extra configurations.
Bonus: I'm going to run all this in a virtual box on my company computer. I'd love to be able to stay undercover with this, so if one of you can tell me how to configure the apache server not to be too visible to the company network/domain, that'd be excellent.
View 7 Replies
View Related
Feb 11, 2011
I am trying to setup samba to allow file sharing to: /home/kris & /var/www
I am trying the command smb://192.168.*.* from my MacBook & \192.168.*.* but when I enter "kris" & password: "******" it keep's on coming up "Incorrect Username &/or Password"
Here is my conf file:
Code:
[global]
workgroup = homegroup ;put your own workgroup name here
netbios name = intranet ; this should be your own too
server string = Intranet in Kris' Room.
; hosts allow = 192.168.1
[Code].....
View 15 Replies
View Related
Jan 28, 2011
**Edit: path for mount was incorrect Distro Server: CentOS 5.5
Clients:
Fedora(latest)
OSX(latest)
Backround I am attempting to setup a server in my house mostly(for the first time) for backups and file sharing. It is important to me that file permissions are preserved. So its my understanding that I must use idmapd in order for this to work. As of now I'm only working with the linux distros while osx will be dealt with once these two work together. portmapper is up and running, along with lockd on both machines. Firewalls are also down on both machines for now. The server side was all setup using the GUI interface with no extra options selected. Problem When attempting to "mount -t nfs4 10.0.0.2/$sharedfolder /mnt" I get an error operation not permitted with no error printing in /var/log/message. If I use "mount -t -o nolock nfs4 10.0.0.2/$sharedfolder /mnt" it mounts just fine. Ive checked both machines multiple times to make sure that lockd is up and running. In the idmapd.conf file I the domain as "localdomain" for both machines but I doubt that is right; like I stated above this is my first attempt at a server. I'm assuming the problem is a whole missing step that involves some kind of id mapping server I need to setup.
View 5 Replies
View Related
Mar 21, 2011
I have install Mandriva 2009 and install apache server but its not strating on default configuration file . What I should do for starting apache . i have tried /etc/init.d/httpd start but apache is not running .
View 1 Replies
View Related
Aug 19, 2009
I installed Apache server with Debian 5.0.2 Lenny. I am trying to write a script which would analysis web log files. I found the log files on /var/log/apache2. There is an access log file, `access.log`. My question is what configuration file determines the location and the name of the access log file. How can I change them? I used CustomLog in /etc/apache2/apache2.conf like below.LogFormat ": %h %l %u %t "%r" %>s %b" common
CustomLog /home/test/my_log_file common Apache2 generated /home/test/my_log_file. But no logs were written in the file even after I run `/etc/init.d/apache2 restart`. Ichanged the log file location. It still didn't work. However, Apache2 still wrote logs in the file `/var/log/apache2/access.log`
View 1 Replies
View Related
Oct 12, 2010
I currently have a debian hpc server unit of 10 p4 computers running under debian lenny in use for serving my home network via pxe. I was wondering if there was anything I could use to allow the same read and write acces that is on my pxe machines on my new palm pre plus. That would save me the hassle of syncing all my documents and movies etc to my phone every day or so.
So basically what I am asking is if I can use the current 5tb nfs raid and mount it some way to a remote ip that I can access fully on my phone without the need for a flash plugin. Btw the phone is homebrew app ready.
View 2 Replies
View Related
Nov 6, 2009
it may be a simple doubt i have but i really want to know this,in the httpd.conf file under the server root of apache server.they have instructed not to add a slash at the end when mentioning or giving the path for server root.I think both will still remain the same, then y is that mentioned that way?
View 6 Replies
View Related
Mar 3, 2010
I have a dozen huge folders loaded with files (images, and so..).. I was wondering if Apache marks the files it accesses..
Thus, in case I want to delete files which haven't been accessed or surfed for a long time.. is that possible?
View 8 Replies
View Related
May 13, 2010
I trashed my Karmic Ubuntu install and installed Lucid (I had heard that the boot times were much reduced and I didn't see any improvement in my normal upgrade). I reinstalled Drupal but find that my installation of Apache does not run the scripts, but rather passes the php text file to the browser. IIRC when I installed it apt configured Apache correctly without me having to edit .htaccess or /etc/apache2/httpd.conf which makes me think that I am missing a key dependency.
Does anyone know of a check list to which I can refer to make sure that I've installed everything? My installation has Postgres instead of MySQL. Failing which, in the event that my memory is faulty, where can I find which changes need to be applied to the configuration files above?
View 4 Replies
View Related
Dec 16, 2010
I created VirtualHost in apache configuration file.
Code:
NameVirtualHost 77.79.13.20:80
<VirtualHost 77.79.13.20:80>
DocumentRoot "/var/www/host"
ServerName host.t2p.lt
</VirtualHost>
[Code]...
View 1 Replies
View Related
Sep 22, 2010
I am trying to set up an ampache server using apache as the webserver. The instructions have the following line as one of the requirments: Your webserver has read access to the /sql/ampache.sql file and the /config/ampache.cfg.php.dist file..I have essentially zero experience with apache, and I'm not sure how to grant read access to a file.
View 1 Replies
View Related
Oct 14, 2010
I am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.
first, system info:
monitored server:
CentOS 5.3 2.6.18-128.1.1.el5
[code]....
View 7 Replies
View Related
Jul 11, 2011
I'm working on a side project where I would like to install three ubuntu server systems,each with only one task.So server0 would be the apache server, server1 would be the database and server2 would be the file server.which key terms I should be researching?
View 9 Replies
View Related
Aug 4, 2010
what is the role of /etc/sysconfig/httpd configuration file in apache server .
View 2 Replies
View Related