Server :: Change The Name On Zip Files?
Mar 8, 2010
I have a question about zip file.How can I change the name of a folder after the folder is ziped,
Example: I have a 'test' folder, and it includes test1.txt and test2.txt
test/test1.txt
test/test2.txt
[code]...
View 10 Replies
ADVERTISEMENT
Jul 17, 2009
I use CentOS 5.3 and trying to change limit of max. open files.I added in /etc/security/limits.conf
root soft nofile 50000
root hard nofile 50000
View 3 Replies
View Related
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
Jan 11, 2011
How can I change the "Scan this dir for additional .ini files", as it is no showing up when I run "php -i"Scan this dir for additional .ini files => (none)I on SUSE 11PHP was installed using RPM packages,
View 3 Replies
View Related
Apr 29, 2011
What would be a nice, simple command to go through all files in a directory (no sub-directories), and change all the MP4 Video files I have to MP3 audio files (keeping the original filenames except for changing the "mp4" extension to "mp3")?
The files in question were videos taken with one of those Flip cameras, but I only need the audio off of it.
View 3 Replies
View Related
Oct 26, 2010
I had used test desk program to restore my files ,the files that recovered was saved in home folderthe problem is that these files are become root permission only ,so i cantcopy , move theme
View 3 Replies
View Related
Apr 3, 2011
I have spent the most part of 5 hours trying to fix this issue. For some reason I cannot change the background image to any of mt .jpg wallpaper files (and .png files). I've tried using the Ubuntu-Tweak application, but I end up getting a purple screen (default) or a black screen (default). So then I tried using the terminal method by making the Appearance window appear when I would log out. That works, except when I go to use my background image, it shows as a question mark for the image preview, and the icon for the file is a gray box. All while doing this my background images that I tested are all in the /usr/share/backgrounds location. Please help! I really want to get rid of the default images and use my images... :/ My desktop/screen in 1440x900, and most my background images are around that size. They work with my regular desktop for my account.
View 3 Replies
View Related
Jan 8, 2011
i have been trying to complete the following project1) Configure a FTP server where we can upload and download files.........2) server must run at 9 pm & stop at 9 am automatically ............although the first task was easy ,i have no idea how to accomplish the 2nd task(not to mention I'm a new user)
View 5 Replies
View Related
Jun 1, 2009
I have just configured CentOS server my new office. This is the first time I am using CentOS.
Whenever I am trying to change the webroot of the httpd server, it usually say "directory doesn't exist". whereas which can't be the case as it is home directory of the user.
To achieve this, what Do I need to do?
The second issue, I am facing that whenever I am adding new directories to public_html folder, it is not accessible. as the error page 404 is shown. I have changed the permissions to 0705 and ownership is also transferred to other user. What else is required to make new directories accessible by the web?
View 2 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
Jan 17, 2011
I tried posting to this SOLVED thread, but suspect that was the wrong thing to do! [URL].... Basically, the thread shows how to strip the first 2 lines of a text file, but because I have quote a number of folders on the desktop each needing the same treatment, I wondered how to do this in one step. I figure I might learn something rather than just do the grunt work of switching from folder to folder.
View 9 Replies
View Related
Apr 21, 2010
I'm trying to change a line of a bunch of xml files (more than 800).What I want isto change this line:
Code:
<variable name="reliability" size="1">96</variable>
to
[code]...
View 1 Replies
View Related
Feb 25, 2010
I am setting up a Demo website that I am hosting in a Debian Lenny VM, I have installed Apache, mySQL, and PHP5 I know the php server is working because if I place an info php file I can see it in the browser. However, I downloaded phpfusion, as well as phpmyadmin and they are on my desktop, I open a superuser file browser (also added write access to /var/www to everybody and copied the files over as me) and copied over the files. Once in the www folder they are no longer seen as "valid" php files, if I try to access them with iceweasel, IE, Konquerer it asks me if I want to download the file. If I look at the files on my desktop they have different icons. I have attached a screenshot. I can't tell what the difference is, but obviously there is one otherwise the icons wouldn't be different. Does anyone have any idea what's going on here or a way to rectify it?
View 9 Replies
View Related
May 23, 2010
I run Ubuntu 10.04 and I've just installed Python. Now I've installed the python-scitools package from the command-line: sudo apt-get install python-scitools.
My question is the following: Where i can find the location of theses files? I need to change a scitools.cfg files and I can't find it!
View 2 Replies
View Related
Jun 12, 2010
trying to send email from php I'm hosting a website from my pc. LAMP is installed, and php and mysql is running fine. i want the web site to send automated e-mails i found the code mail($to,$subject,$message,$headers); but its not working. I'm pretty sure i need to configure the php.ini file, but the problem is I have 2 php.ini files, and I dont know what one to change, or why I have 2
the two files with path are :
/etc/php5/apache2/php.ini
/etc/php5/cli/php.ini
why is there two?
what one do I need to change?
(i have other questions, but first things first)
View 5 Replies
View Related
Jan 26, 2011
what files does firestarter change? I would like to know so I can look at the files so I can learn to do the same thing without firestarter.
View 3 Replies
View Related
Apr 4, 2011
I've been using Ubuntu for a few years and I am having issues trying to load .jar files and .exe files in Wine. I keep getting an error message that says my computer doesn't have permission to load these files. I've done some research and found people saying to enable the file as executable in the files properties, to enable executable in the permissions folder, and to allow source code on the Ubuntu Software screen, but whenever I try to check these boxes, they immediately revert to having a line through them instead. I remember when I was running Ubuntu a few years ago I was able to completely disable this restriction in terminal, but I can't remember what I did.
View 5 Replies
View Related
Apr 20, 2011
Im in a live CD session right now and copying the main ubuntu partition to a new partition. basically im doing this to install windows and have a separate partition for STUFFs like videos etc. since i cant have more than 4 primary partitions. win7 takes up 2 partitions and ubuntu takes 1 and an extended which will have swap and "STUFFs". i know how to reinstall the grub but i dont know the other stuffs.
View 3 Replies
View Related
Jul 12, 2011
Can I change the destination for hidden files that are in the Home Directory? I'd like to put all the hidden files in my Home directory into a seperate folder inside of Home. (10.04)
View 9 Replies
View Related
Feb 11, 2011
I need to change folders to 775 and files to 664 recursively, but this bash does not has find command (?). How can I change them recursively?
View 3 Replies
View Related
Jun 2, 2010
I compile the c,c++ programs using gcc compiler in ubuntu.And i am using geditor to write a program.when i open a new gedit text file to write a program,by default it is opened in my home directory.but i want to save my all programs in another drive..But i dont know how to change the path ,so that new gedit file open and save in that particular drive or folder where i want it.
View 1 Replies
View Related
Aug 30, 2010
how I can monitor a folder and get the name of newly created files or files that their size is changing? (in Perl or Linux shell script)
View 5 Replies
View Related
Jul 14, 2011
I've a popular vbulletin forum (10k max in vbulletin stats 'whos online') runnin in two servers like this:
1) Web server running vBulletin.
Dual Intel E5620 @ 2.40GHz (shows 16 cpus)
12 GB RAM
2 x 500 GB SATA (one for system/web and other for backups)
CentOS 5.6 64 bit
Apache/2.2.17
PHP 5.2.16
2) MySQL 5.server
Dual Intel E5620 @ 2.40GHz (shows 16 cpus)
16 GB RAM
2 x 500 GB SATA (one for system/web and other for backups)
CentOS 5.6 64 bit
MySQL 5.0.77
Web server connects to MySQL using private LAN.
Web-php server works with xcache as recommended by vBulletin.
Image/avatars and other static files (css, js, etc) are on a CDN
MySQL server uses Memcached for caching common queries.
The problem I'm facing, is from time to time (let's say one or two times a week) the Web server goes into read only mode... then the server has to be rebooted in order to get online normally and be able to work. From the logs I've seen this:
Code:
This is a new server, and in the old server the 'read only mode' issue happened very often too... so I guess it's not a HD issue.. it's just the HD have a heavy I/O usage. What do you think?
I am thinking about this solutions to improve the webserver performance:
1) 75% of the vbulletin users are anonymous users, so I've been thinking about using Cloudflare as a cache for all that traffic, that would reduce the php-webserver process a lot.
2) Using an external email server is a good option I guess... as right now the webservers also handles the email notifications for all the vbulletin users and it is constantly sending email everywhere. So, email will be stopped to gain server performance.
3) Mounting partitions with 'noatime' at /etc/fstab seems to improve I/O performance.
View 3 Replies
View Related
Aug 21, 2010
If I understand everything right I can use simple cd to create an install of my system then config everything and create an archive of /etc,/var,/usr and that give me a backup of my changed files. but what I am not able to do is create a script to replace the files with the archived version of the config files automatically. I need it to be ran as a post intall script or to configure the conf files as part of the install. what I configure on every reinstall. apache,proftpd,mysql,php,and wordpress. Since I am still learning I reinstall a lot and standard backups have not been working for me. But I can put the whole install including backup on one cd. Is there a way replace only the change files from the archive. or getting a list of just the modafied files on my system.
View 1 Replies
View Related
Jun 7, 2011
On my Laptop, I installed Debian under the file "/" and the partition on which I have all my files under "/var". While this isn't really a big issue, when I originally installed Debian, I had the intention of having all of my files on a partition that I would auto-mount later so that when I upgrade my system by reinstalling it, I would only have to change the system partition and let everything else stay the same.. I can live without changing my /var if I can only do so by a re-install...
View 2 Replies
View Related
Nov 11, 2010
How do i chance the owner and group from multiple files at ones.
How to change the rights for all at ones i know!
View 1 Replies
View Related
Mar 10, 2011
For example /dev/loop*, /dev/raw/*, etc., they are automatically reset to root/root after rebooted.Change the owner/permission of device files maybe not a good idea, though. I just want to know if it is possible and how?
View 1 Replies
View Related
Jan 18, 2010
After burning files to DVD+RW, the owner is changed to root, and all permissions are read only. I want to periodically open these files, update them, and save to the DVD again, but I no longer have permission and cannot change the permissions since I am no longer the owner. I tried sudo commands, but get responses "Read only file system". I have erased and reformatted the DVD and started over but get the same results.
I have Ubuntu 9.04, and have tried Brasero and Nautilus and get the same problem. Am I using the wrong kind of DVD/CD?
View 3 Replies
View Related
Jun 14, 2010
I need to change the config in a folder and can not due to it being owned by root. How do I change the permissions.
Folder = /etc/stunnel/
file = /etc/stunnel/stunnel.conf
View 4 Replies
View Related
Oct 13, 2010
I've been using Ubuntu for over 5 years. This time I decided to upgrade UNR to the latest 10.10. I am now running it from USB to try it before installing. Excuse my ignorance, but whatever happened to the Terminal? I cannot find it anywhere! I think this release is not going in the right direction if one of the most important tools in Ubuntu is hidden from an average user.
Also, how do I change to the root directory in the files and folders? or at least to the higher directory structure.I won't be installing UNR 10.10 unless I figure out these BASIC things.
View 2 Replies
View Related