CentOS 5 :: Make A Folder Downloadable From Centos Server?
Aug 5, 2011Im running cent os 5.5 64 bit. I simply want to type in a url (In my browser) on my windows desktop, that downloads a zipped folder from my cent os server.
View 2 RepliesIm running cent os 5.5 64 bit. I simply want to type in a url (In my browser) on my windows desktop, that downloads a zipped folder from my cent os server.
View 2 RepliesBecause I had some difficulties to make awstats running (I'm not an expert!), I would share my experience with a MINI STEP BY STEP GUIDE. I would like also to discuss some details with experts thus at the end of the guide ,I'll make some questions to them:
I have installed a new server Centos 5.5 32 bit and configured 3 virtual hosts; at the end of /etc/httpd/conf/http.conf I have:
-------http.conf virtual host--------
ServerName 127.0.0.1
NameVirtualHost *:80
<VirtualHost *:80>
[code]....
I have CentOS 5.6 on a VPS and naturally have root access.But I tried everything to make JSP run on it, I installed (I think it did) Tomcat, and nothing happens and I am at a lost.
View 2 Replies View RelatedI wish a easy server with CentOS. I need only: ssh, ftp for backup , sftp for over the web, apache2 php5 mysql webserver, easy install printserver for a laserprinter with a com-port, and in the future a samba server. make a choice which version i need with CentOS. I am a beginner at all.I only know things about ubuntu server. I like to know the differences.
View 4 Replies View RelatedI'm using ssh2 a PHP extension to create a new folder on my server, however if I try and set the permissions of that
folder above the default of 0755 it creates the folder with that default setting.
It seems like there is some setting preventing me creating a folder with higher permissions e.g 0777.
Apache httpd.conf (with server identity info removed)
CentOs 5.4 system info
I have a problem I've been banging my head against for hours.
I can't get an aliased folder to turn up: I just get a 404.
I've chowned the folder to apache:apache and most of it is chmod to 755. I tell apache of the changes, and have even tried restarting a few times.
I'm expecting it to turn up like this yyy.com/laura_shop/
(within which is a php script to do a shopping cart)
The apache directives look similar to what I have on my dev computer (which is Windows, mind you).
The directory and alias are defined within my main virtual server which you can see here:
virtual host conf directives
(see at top of the message if you would like to see the whole httpd.conf file)
I realise this is more of an apache/linux problem but perhaps familiarity with CentOS may get me the right answer quicker.
'm a bit familiar with Centos as I have set up few website on this environment but I have never actually installed, and especially, configure ftp server. Now I need to do this. Simply I need to be able to create an access account for a user and then restrict access to only one folder within the website (idea is to allow this user to upload images via ftp). I did google for ftp servers and read about vsftpd but I couldn't find any tutorial on how exactly make it work with folders and specific users.
View 3 Replies View RelatedIs there a simple way to move the Sendmail queue folder? Presently it's at the default location on /var/spool/mqueue/ but when / recently ran out of space (my fault storing backups there), it was unable to receive any more mail. There is plenty of space at another partition. My /var/opt/scalix location lives on another set of discs with lots of room. I created a folder called /var/opt/scalix/sendmail/mailqueue/ but uncertain how to move the existing queue to it.
View 1 Replies View Relatedfor create an user I put:
useradd username
passwd username
I need to make a custom ks.cfg DVD for my centOS 5 install. I figured I would download the 5.4.iso. My question is will packages from previous version of centOS 5.0-5-3 work with my 5.4 centOS image?
View 3 Replies View RelatedI'm running a webserver and i've uploaded serveral .txt files. I want them to be downloadable... For example if someone opens: [URL], to start downloading, not just to open in the browser.
View 3 Replies View RelatedI have been searching in the forum and google but still not lucky enough to figure out yetI have a lighttpd server runningbecause apache consume so much CPU and memory) andqmailtoaster (just setup).Here is the configuration in cgi modules:
Code:
cgi.assign = ( ".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/perl",
[code]....
I have a USB drive of 4 GB and I want to make the drive as bootable. I used the command /sbin/mkbootdisk --device /dev/sdb1 "kernal version" ( sdb1 is my pen drive).When i ran this cmd,it gave me an error saying not enough space to write.
View 3 Replies View RelatedI have moved a site from a caps-insensitve server (OS X, Apache 1.3) to a default CentOS/Apache 2.2 install and run into problems.Actions:1) Made sure that mod_speling.so is loaded: LoadModule speling_module modules/mod_speling.so) Added CheckSpelling directive to Section 2: 'Main Server configuration'CheckSpelling on) Restart httpd
View 7 Replies View RelatedI am having a lil headache with it.
Some time ego i edited my /etc/bashrc file to add some aliases and colours for my ssh console.
Today i had a need to change few thing but for some reason i can't edit or delete this file any more.
I am logged as root.
rm bashrc
cannot remove, operation not permitted
chown and/or chmod fails as well with "not permitted" errors.
ls -Al | grep bashrc
-rw-r--r-- 1 root root 2514 mar 31 13:05 bashrc
Any ideas what's going on?
I'm trying to make a DHCP server work on my CentOS 5.4 box, but I have placed it on another subnet than the one that it is going to serve. I use a helper address on my router to make the the DHCP requests being routed to the DHCP server on the other subnet.
dhcpd.conf file:
ddns-update-style interim
ignore client-updates
ubnet 10.160.195.160 netmask 255.255.255.224
[code]...
I'm trying to execute script (java,php) on startup....before this we set it in /etc/inittab and it works find, but lately i found that the php script not startup as usual after we do yum update( although java script still run normally). code...
Another thing i want to ask is, if i have more scripts to run at startup, what should i do becoz there is limited terminal that i can use.
Someone told me that i can:
1)-put the script in /etc/init.d such that i can add it with chkconfig and run as service (not sure how to do this in details also)
2)-add a script in /etc/rc.local (not sure how?write what script)
how can i make 1000fps stable kernel
View 2 Replies View RelatedWe are running our website on a VPS Centos 5.6 box, and I am trying to set it up as an NFS client to a remote NAS server box. The script (remote_mount) I'm using (copied inline below) works fine when I run it on another Linux server box running Slackware, but when I run the same script on the Centos box I get the following error message. code...
View 4 Replies View RelatedI 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 RelatedI Have Configure Samba server in Centos, I need give permission like for some user(5User) can able to read and write the particular folder, and again i need give some another user(6user) can only read permission for same folder.
View 1 Replies View RelatedIs there any way to make a disk image of an active partition? I have to get a complete backup (partitions, MBR, all data files) of my server without bringing it down to do it. I want to have a backup that, in the event of a system failure of any sort, I can quickly restore onto a new, bare hard disk and have the system back up and running. The windows equivalent of this would be something like Drive Image XML, this is the functionality I am looking for.
View 4 Replies View RelatedI have CentOS 5.5 x86_64 with Apache, php and mysql.
I have just installed OTRS (helpdesk - trouble ticket system) on that server and no users.
This system works with perl, apache and mysql.
I notice that is slow to respond and at times unresponsive the apache welcome page. code...
I have installed centOS Server edition on my laptop and installed apache and mysql on server, i wanted to understand how can i make my server on line and host my website on my own server. I am using MTNL Broad band, and i have one static ip, How to make web server in centOS 5.5.
View 7 Replies View RelatedI am running a quad core centos 5.4 box that is having a strange problem with dovecot. The administration panel is able to send emails through dovecot but not any of the user accounts (ie with webmail). I've done a bit of research with what could be wrong but haven't had any luck so far I am also having a weird problem with apache: on a c++/php bittorrent application I was going to be running on a subdomain of my main site I get a 500 error every time I try to log in. The only way to get rid of the 500 error is to clear the chache (so its horribly broken somehow). The error generated in the log whenever I try to log in is that "ffmpeg is already loaded" (which I am running on the main site and is critical). Is there a way of either repairing my apache install or excluding ffmpeg on the subdomain in the conf or something?
View 2 Replies View RelatedI have a problem with compiling of mod_ruby-1.3.0 After a succesfull configure i get a error in the make, it say "make: *** [apachelib.o] error 1" . Here below you can find the results of de configuring and the make.I was following the roles in Howtoforge " The perfect server - Centos 5.3" everything goes perfect till mod_ruby-1.3.0
./configure.rb --with-apr-includes=/usr/include/apr-1
checking for a BSD compatible install... /usr/bin/install -c
checking whether we are using gcc... yes
[code]....
is it possible to join Windows Server 2003 to CentOS 5 Cluster?
View 1 Replies View Relatedwhen I reboot the server with centos 5.5 the SMB deamon doesn't start?
View 2 Replies View RelatedI have two servers, both running CentOS, but one running Cpanel as the control panel and the other running Webmin.
I would like to sync the web folders using rsync. However, when I sync the files from the Cpanel host the permissions look as follows:
Code:
But that doesn't work on the Webmin server which needs the following:
Code:
It seems the Cpanel install has the group as 'nobody' whilst webmin has it the same as the file owner. I can fix this by running:
Code:
But as the file transfers will be frequent, I don't want the files to be inaccessible until chown is run.
So, what I really want to know is - how can I change things on the 'webmin' server so that files with ownership owner:nobody will run?
I built a home server (NAS/WWW/SSH/media server etc) and chose CentOS 5 as the OS (stability, easy of configuration).I was just about to start tuning the power consumption when I realised that the kernel CentOS uses is so "old" that it does not support the latest reduced power consumption enhancements that Linux has achieved in big strides in the recent past (we are probably still talking 6-12+ months ago e.g. tickless kernel)..
So my questions; 1) I know CentOS was maybe not meant for home servers (certainly its not its primary purpose), but if it is, any ideas of what kind of power consumption it takes (I know its relative) and if there are particular power consumptions that are worthwhile?
2) Do you recommend me compiling my own 2.6.21+ kernel from kernel.org or am I just likely to have compatibility issues (I really did not want to do that) or when is CentOS 5.4 supposed to have a newer 2.6.21+ version kernel?
Was it wrong of me in principle to choose CentOS for a home server when I am power conscious? (I don't have a low-power VIA processor either but a P4 so I am really just hoping to make do with software changes).