General :: HTML File Server Setup Using Ubuntu

Dec 9, 2010

I'm building a file server using Ubuntu. I want to setup an HTML based file upload/download system where I can create accounts for a few users and allow each user access certain folders. So that the user would open it like a webpage using a web browser and then uploads and downloads files, not needing special setup for the computer. Is there a ready made solution for that purpose? Will I have to code it?

View 1 Replies


ADVERTISEMENT

CentOS 5 Server :: Get A Simple FTP Setup To Var/www/html Folder For Canned Joomla Website?

Jun 28, 2009

I am having a time at trying to get a simple FTP setup to my Var/www/html folder for my canned Joomla website. I can log in anon with no write permissions, but it will not log in using any users I have setup on the server. I've googled a bunch, but nothing to correct my 530 authentication failure when I try to log in as one of my user accounts for the server.

View 2 Replies View Related

General :: Convert An HTML Email Saved As A Text File To A PDF File From The Command Line?

Aug 23, 2011

I need to be able to convert HTML email messages saved as text files (.eml or .msg) to PDF documents, one PDF per email, retaining formatting and images.

Are there any Linux tools that will allow me to do this from the command line (so it can be scripted)?

View 1 Replies View Related

Software :: Edit Index.html File Of Apache Web Server

Aug 16, 2010

Do I need to restart the webserver if I make any change in the file index.html? Or should the changes get reflected when I open the page again without restarting the service?

View 3 Replies View Related

General :: Convert A Html File Into A Text File?

Mar 8, 2010

i'm trying to convert a html file into a text file when i simply run "html2text <filename>" the output displayed is the way we want but when i redirect the same using "-o" or ">>" the file is having extra characters in it. i even tried -ascii,but no much use.

View 4 Replies View Related

General :: Setup A Hosted File Server For Wife's Windows Machine?

Aug 1, 2010

I would like to use an extra physical hard drive in my linux server to provide my wife a place to backup her Windows XP desktop.I am willing to format this drive as NTFS (or anything else) and have it dedicated to this purpose. I am wondering what is the easiest way to proceed?

View 1 Replies View Related

General :: Change The Index.html File?

Jul 1, 2010

I just installed linux. How can I change the index.html file?

my dir is var/www/index.html

it doesnt allow me to delete it the index.html (permission denied) I can't move a file into it either. (permission denied)

View 7 Replies View Related

General :: Viewing HTML File In Network?

Feb 19, 2010

I have indexnew.html file in /var/www/html. I have to view this file in the browser within the network and without using Apache server. Because, my Apache server gets the request to my application. I used http://localhost/indexnew.html to open the file, but it gets to my application.

View 5 Replies View Related

General :: File Still Unwriteable In /var/www/html After The Chmod Command

Jun 17, 2011

I've got some trouble while trying to install some applications on my linux system. It is said that the files in my /var/www/html/xxx directory, where I put them, is not writeable. The command chmod 777 xxx has been tried to make it work, but the error remains when I opened the applications again.

To be specific, I want to install phpFreeChat on my system, so I put those files in the /var/www/html/freechat directory, cd there and typed chmod 777 data/private, chmod 777 data/public on bash. Here's the result of list -al data:

drwxr-xr-x. 4 root root 4096 Jun 17 15:07 .
drwxr-xr-x. 13 root root 4096 Jun 17 15:22 ..
drwxrwxrwx. 2 root root 4096 Jun 17 15:07 private
drwxrwxrwx. 3 root root 4096 Jun 17 15:07 public

These all seemed all right to me, until I typed http://localhost/freechat in my browser. Here's the result:

phpFreeChat cannot be initialized,
please correct these errors:
/var/www/html/freechat/src/../data/private
is not writeable

[code]....

View 3 Replies View Related

General :: Counting Valid Paragraphs From A Html File?

Mar 28, 2010

I just wrote an html file, but somewhere on the write I lost count of the paragraphs.

In an html file paragaphs starts with <p> and ends with </p>

What I want to know is how to find the valid paragraph.

I used grep '<p>' file_name | grep -wc '</p>' . I dont know if this works.

View 7 Replies View Related

General :: Finding (HTML) File Size To Display In Summary

Dec 7, 2009

Need to find the size of a file (html), and display it in a summary file. (Have tried du, ls, size, but none of these work).

View 6 Replies View Related

General :: Shell Script Which Will Search And Remove A Javascript From All Htm, Html And Php File?

Feb 21, 2011

I need a shell script which will search and remove a javascript from all htm, html and php file.

Code:
<script type="text/javascript"> if (navigator.cookieEnabled) {var user = getCookie("seostop");if (user !=1){winchristop();setCookie("seostop", "1", 7,

[code]....

View 14 Replies View Related

General :: Remove Index.html File Alone In Every Directory Via Bash Script

Jul 7, 2011

I want to remove the index.html file alone in the every directory via bash script, for example i have 5 directories in the path /var/www/vhost

anish
kumar
linux
question
friend

each directories have index.html file now i want to replace the index.html file alone from the other directory /var/tmp/vhosbak

anish
kumar
linux
question
friend

How we can do this using script?

View 5 Replies View Related

Ubuntu Servers :: HTML PHP Email Configuration / Squirrelmail Setup

Sep 1, 2011

I'm having problems with emails containing HTML content. When Google downloads the email messages via POP3 from my squirrelmail server, the message does not display using HTML. I'm not sure if this is Google's fault or Squirrelmail's fault, but I've never had problems before on other servers running the same script and using squirrelmail. If I login to squirrelmail, I have the option to download the email message as an attachment. The attachment, if opened by my local browser, shows up as HTML content, and it is properly formatted. However, I'm using Google to download my emails and file them under my Gmail account. After Gmail downloads the messages, it shows up like this:

From
To admin@domainRemoved.com
Date Sat, Jul 30, 2011 at 6:07 PM
Subject Pending Registration

Content-type: text/html; charset=iso-8859-1
From: Name Removed <admin@domainRemoved.com>
Message-Id: <20110730234302.6B6FEDC08BA@eric-desktop>
Date: Sat, 30 Jul 2011 17:43:02 -0600 (MDT)

<p><b> After registering your client via your server, please visit the following URL to send them confirmation: </b></p>

I really need it to show up properly once Gmail downloads the messages, as it takes a long time to login to Squirrel mail and download each message as an attachment. My PHP Code Headers Look like this:
$headers = 'MIME-Version: 1.0' . " ";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . " ";
$headers .= "From: $uname <$email>";

Someone suggested that I remove the from my script. I did, and now the email shows a from sender as www-data www-data@domain.com. Before, the from field showed up as empty. However, my PHP script is designed to change the sender's information to the clients that contact me. Thus, if customer A contacts me, the email should be from customer A <custa@whatever.com>. However, it's not being changed by the PHP script. It works on every other server but mine. I think my postfix configuration isn't setup properly? What needs to be configured on it?

View 3 Replies View Related

Ubuntu :: Setup Mod_perl With Scripts And Html Files In The Same Directory?

Apr 27, 2011

I have mod_cgi working perfectly. However, it turns out there are features of mod_perl that I'm trying to use. I have followed all the documentation I can find on using Ubuntu's mod_perl install with Apache2. There seems to be some type of problems with the mod_perl's documentation, as it doesn't work as it's defined. However, I found a modification to make it work, but only is designated directories. If I tried to use in a directory with my other HTML files the regular HTML files will fail.

Using these steps (but using apt-get's install rather than compiling the tar ball). I did as follows:

[URL]

placed this in the httpd.conf file (which was basically the same as "a2enmod perl".

httpd.conf line:

Code:
LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
Alias /perl/ /home/web/perl/
<Directory /home/web/perl>
SetHandler perl-script

[Code]....

View 7 Replies View Related

General :: Using Lynx To Create Html Page With The File Structure Of A Local Directory

Oct 10, 2010

I'm working with a dual-boot laptop running Ubuntu 10.0/Windows 7 and a Debian 5 VPS while the OS's shouldn't have much impact on my question.

What I would like to do is create a html page that I can upload to my VPS which lists all of the files/folders on my local 2TB hard drive (Specifically media such as Movies, Music, TV Shows...). The media obviously will not reside on the server, but I would like to at least have a list which will allow me to select, for instance, a bands artist so that it redirects me to the albums in the directory below.

Ultimately, I'm looking for Open Directory Browsing without actually having the media on my server. I have been attempting to create something to this effect using lynx, however, I'm not sure if it can be done with this command or if it's even possible for that matter.

View 1 Replies View Related

Ubuntu Networking :: Setup A Server 10.04 Lts As File Server?

Apr 3, 2011

I set up a ubuntu server 10.04 lts as file server in a network filled with xp, win 2003 and win 2008.

I noticed that if from any bill's SO machine i copy a file (for example a vob file of 1gb, or a lot of doc and pdf files) in the samba server, while the copy is in progress if in another windows I browse other folders shared in Samba, the copy process stops and say ' the name in the network is no more available( or something like this). It seems that samba pay attention on the fact that a user is browsing the share and doing so it seems that Samba forget that in one of its share there was a copy in progress, very annoing. A file server cannot do that, in this way is useless.

View 1 Replies View Related

Server :: Parse The Bunch Of Values Displayed By The Socket Program Into The Php File So That Further It Can Be Displayed In HTML Page?

Apr 15, 2011

How to parse the bunch of values displayed by the socket program into the php file so that further it can be displayed in HTML page

View 1 Replies View Related

General :: Unable To Change - Edit Html Files In New Ubuntu 9.04 - Apache Server

Oct 20, 2009

I suspect that this has come up numerous times, but I am new to Linux and I am setting up a new in-house server using Ubuntu 9.04 and Apache, etc. I can see the welcoming "It Works!" message when I log in via Firefox. I can see "index.html" when I FTP the server with the site name and password at /var/www. I can also see the -rw-r-r-- attributes, but I can't edit the HTML file or replace it. When I try to rename the "index.html" file.

I get the following message: "Request denied. Verify that the file or folder exists and that you have the necessary permissions on the server to perform the requested operation."

I haven't been able to determine where to enter the password or what changes I need to make to be able to work with the /var/www directory via FTP.

View 4 Replies View Related

Server :: Setup A Simple File Server With Mandrake 10.0?

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

General :: Setup A SMS Server, Appropriate Distribution To Setup A SMS Server?

Oct 22, 2010

How to setup a SMS server using Linux, also want to know the appropriate Linux distribution to setup a SMS server.

View 2 Replies View Related

OpenSUSE Network :: Setup Fast Apache - Launch Static Html Pages

May 22, 2011

I would like to set-up a pretty fast a running apache. I would like to use him so to launch a pretty small web site of 10 static html pages. At this time there is no security concerns (even though I want to do it right) , because the computer has not even ethernet cable. I have some experience, 8 years ago I Was setting up virtual hosts in fedora, so this process is not a blackbox for me.

View 9 Replies View Related

Ubuntu Servers :: Secure File Server Setup

Dec 29, 2010

I am going to set up a file server on Ubuntu. I have searched a while, but can't seem to find a guide to what I want. The requirements specifications are the following:File server: possible to upload, change and download files.Linux (Ubuntu) clients, Windows clients if possible.Access restriction to deny access to other than registered users.Only the user should be able to read the content of the files.Ideally root should not be able to see the individual files, but in worst case it is ok for root to see the files.Root should not be able to open the files.Point 1-3 is easy to find out how to set up. But I can't seem to find a way to deny root to view the files. The only solution I can think of is to encrypt files or a whole folder, but I don't know how to set it up.

The setup is for a home network, but the server used as a file server will have a web server as well. If someone manages to get access to the server I don't want them to be able to read the files.

View 5 Replies View Related

Red Hat / Fedora :: Convert Plain Text File To Html File Without Using Perl?

Jun 9, 2010

I am looking for some source package which will convert plain text file to html file without using perl.

I mainly need to do this on an ARM platform, so if I get sources I can cross compile it.

View 5 Replies View Related

Programming :: Converting A HTML File To A PNG File Through Python Script?

Jan 29, 2010

I have managed to create a HTML file inside python code,convert this to a PNG file through a Python script ?

EDIT: Details added: I have a python script which generates map-legends in the form of an html file. The legend generated have to be pasted on a map which is in a png format. A png format file can be pasted on another png format file easily. But because the legends generated are in a html format I cannot paste it on the map file !!

EDIT: Details added: I did Googling first but it resulted in various soft wares for above purpose which I don't want !!

View 12 Replies View Related

Ubuntu Servers :: Setup A File Server For A Small Office?

Mar 8, 2010

I am trying to setup a file server for a small office but have hit a couple of hurdles, is there a step by step guide how to setup a network for windows and mac computers to use it? I had setup a share etc but once I restarted the server all the files disappeared which I had in the home folder? Also when I setup users how can I use passwords that I select as everytime I set one it encrypts it and uses that instead of my one?

View 2 Replies View Related

Ubuntu :: Setup File Server - USB Terabyte - Folder Management

May 28, 2010

I setup a file server using Ubuntu Server edition following the guid by Xam @ [URL]. With only a few exceptions to minor tweaks the guide worked perfectly. The difference is I use a USB terabyte for data storage but that's not an issue. It works FANTASTIC right now. I can manage files from any computer in the house (vista xp linuxmint, ubuntu etc).

The USB is mounted as /dev/sdb1 /media/store ntfs 0 0 in my fstab file. It's sharing the root directory of the disk and users have access to the entire thing. Now that it's all working, I want to know if anyone knows a way I can not let the entire disk be shared but only select folders off the root for example /media/store/Music or /media/store/Videos.

View 2 Replies View Related

Ubuntu Servers :: Setup A File Server For Local Network?

Aug 15, 2010

I'm trying to setup a NAS for my network, the only problem is that I can't figure out how to do it. On my network I have about 3 computers however only I only use 2 of them so I thought that maybe I could use the third computer in such a way that I could access it 24/7 from the internet as a server for all of my files (school papers, music etc etc...). The only problem is that I don't know where to get started. Both of the computers I'm currently using are Windows and the one that I,hopefully, can turn into a server is running on Ubuntu.

View 4 Replies View Related

Ubuntu :: Setup Home Network With A File/internet Server

Aug 23, 2010

I'd like to set up my home network with an Ubuntu file/internet server. In addition, I would use this server to monitor internet traffic. What hardware/software would be required?

My current network is as follows:

Laptop 1 Ubuntu 9.1
Laptop 2 Vista
Laptop 3 XP
Desktop Ubuntu 9.04 (would be used as server)

All connected thru linksys wireless router to cable modem.

View 2 Replies View Related

Ubuntu Installation :: 10.04 64-bit Server With Vmware And SSD - Setup The File System On Each Partition?

Apr 24, 2010

I have just bought two SSD, Intel X25-M 80GB, to install Ubuntu 10.04 64-bit server with vmware on a computer with 8GB RAM. I have tried to find out how to set up the system, but is somewhat confused on the setup. The idea is to use software raid to aviod data loss if one SSD is giving up in the future. When installing I have thought about using tree partitions.Swap Root Vmware vhd When reading about how to optimize vwware I found this:

Quote: Disks, Disks, Disks: I always attempt to put my guest OSs on their own partition and I format that partition thusly because VMWare server reads guests in huge blocks (/dev/sdb1 is the partition my guests reside on): mke2fs -b 4096 -R stride=8 /dev/sdb1

Then I set the block readahead value to somewhere around 16384, but you can go as high as twice that value (in my case this is an entire disk array, so I dropped the partition indicator): blockdev �setra 16384 /dev/sdb

How should I setup the file system on each partition? When using an SSD, each partition should be aligned. How do I do that? Let say I would like to have 4GB swap, 60GB root and the rest for vmware. At last, I have fount out that full support for TRIM is supported by kernel v2.6.33. Ubuntu 10.04 is using v2.6.32? If so, for full TRIM support I must upgrade kernel to v2.6.33.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved