Server :: After Moving PHP Files To /var/www They No Longer Are Seen As Hosted Php Files
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?
I have limited experience in terminal, but let me first explain what I am trying to do to see if there is some easier way to do it. Basically I want to change the skin in aMSN. I downloaded the new skin but am unable to unzip or move it without /root permissions. I don't know how to acquire this without being in terminal. So I figured there had to be some way to go into the terminal and use it to move the unzipped folder from the desktop to the aMSN skins folder.
I get a SD card. Put in the SD reader. It's empty. I go to my super-important-pictures-to-a-monthly-relatory folder and select all files. Select them for MOVE. Paste them on the SD card. When the move/paste process is finished, i click on the "Eject" button on top of the SD card name. Card's ejected. I can't access the card anymore. I take out the card and put on my other computer. From 300 pictures, there are only 10 available, the remaining ones are there, but with 0bytes and unrecoveable. I panic. I go back to my main computer, my pictures are not there anymore. The pictures were on the Home folder. I panic again. I reset the computer and boot on the LiveCD. I install foremost, scalpel, photorec and about everything till my USB drive complains about being filled up. I run everything and I can't recover my files. I'm in the danger of getting fired. Things like that makes Windows sounds more appealing. When you securely remove a pendrive, things get REALLY pasted there before screwing everything up with a removal.
I'm moving my site to a new VPS and need to learn how to move the files from my current server to the new one. I'd rather not download everything to my computer and then re-upload everything... seems like a lot of wasted time. There has to be a way to copy between the two servers, but how? I have heard someone mention rsync... is that a program I could use? If so, how?
I was moving a folder using Nautilus from an internal drive to a USB drive when suddenly, the power failed and the system rebooted before the UPS could go into backup. After I booted the PC again, half the files are are in neither of the drives. Do they go into a temporary folder first? There's nothing in /tmp and there's no Lost+Found folder. Is there anyway to get back those files? I'll always copy and delete from now on instead of moving.
I have a RAID5 array created with mdadm from four 1.5 TB WD15EADS formatted XFS and shared with samba. I recently upgraded it (fresh install to a SSD) from an old -stable 2.6.18-6 to a fresh -lenny 2.6.26-2, and since the upgrade, I've noticed I can't stream high bandwidth video off of the array over samba anymore. The video stutters like it's out of bandwidthI've tried using mpc-hc64 in Windows 7 and my newly arrived Boxee Box.
Everything is wired gigabit ethernet (Boxee Box isn't, but the other two and the switch all three run through are), and I can copy the file at 30-35 MB/s to my desktop, which is significantly more bandwidth than streaming a video consumes. Looking at CPU usage on my desktop and the debian file server, there is plenty of headroom on both. Lower bandwidth files play perfectly fine, either SD or smaller HD.
Since I installed to a new boot drive, all the other hardware is the same, and the array of data is independent of the OS installation, I can boot off the old system, and I can verify that it indeed does not have the streaming problem. Everything plays perfectly smoothly like you'd expect. It even appears to copy slightly faster (35-40 MB/s versus 30-35 MB/s).Is there something in the configuration of the system or samba that I can change?
im switching. Vista is......yeah nothing needs to be said. Anyways i only have a few things preventing me from switching, biggest is Ubuntu is currently partinioned on 10gigs of my hard drive, the rest is mostly crap. All i want off vista is music, pictures, and a few videos. how do i get them onto the ubuntu side, or allocate more space to use a friends external harddrive. I know Wine is used for WoW(problem solved) but how about ventillo and the rarely played EvE online? also if possible i need to bring those over as well. other than than Ubuntu kicks the **** out of any windows or mac OS ive ever used. but thats not sayin a whole lot.
I am using a touch command to setup a specific range of names, identifiers, etc. Now I am trying to move the files from a certain range to another directory I created. Sorry to post just can't remember how to do this but I know it is fairly simple for you guys. I have the output set as fred*_[!g].* and I am trying to get these files to my created directory.
I feel like this is probably a dumb question but regardless, I don't know the answer and my eyes will start bleeding if I keep trying anymore. How do you move files between folders? Dolphin's layout (unless I'm not figuring it out, which is probably the case) doesn't seem to let you drag from one folder to another and there's no other pane to see another folder to drag to.I have an mp3 file in my download folder that I want to move to my music folder but I can't get it to move.
F15 Gnome edition. I am trying to move files, no big deal, except they keep moving themselves back again about 4-5 seconds later. This happens in nautilus, gnome-commander, or even at the command line. See the following output. The volume is NTFS, but I have ntfs-3g installed, and i've never had this problem before with NTFS volumes.
Code: [root@kermitfed store]# ls animalstore Cymande Groundation Mutiny
i want to copy files from a local ubuntu 10.04 machine to a remote XP machine on a LAN.using gnome terminal server client i'm able to copy text but not files!is this possible to achieve with terminal server client or do i need to use another program? if so whit and how?
After updating to 10.10, I started getting hard freezes on a regular (read: every 10 min.during use) basis. A bit of diagnosis showed me that it was only a problem during periods of intensive I/O activity (moving files, downloading, etc.).A bug report started with:BUG: soft lockup - CUP#0 stuck for 61s! [kswapd0:26]I reinstalled 9.04, and was able to successfully copy 15gb from one drive to another. I upgraded to 9.10, and copied it back.Upgraded to 10.04 and copied it again. 10.10, it copied a few mb and froze.
I have windows 7 and am soon to partition a large amount of my drive over to linux. I'd rather all of my computer be linux but I'm unsure how to get my files to my other partition, I don't have a thumbdrive and my email doesn't have much space. I have 300 gbs of room, 150 will be linux, how do I get the 100 gigs moved from my windows partition to my linux so I have more space on my linux.
I downloaded some backgrounds from Gnome Art and am having trouble moving them to the backgrounds folder. I've been trying this: sudo mv desktop <filename> usr/share/backgrounds.I moved to the desktop to make it easier.
I'm trying to move files from one directory to another. I only want the files that start with a capital and within a certain range. Say all files that start with a capital between A-K. I've googled this and they all say to use: [A-M]*. But it moves all files A-M regardless if they are uppercase or lowercase.
Here is a dumb question (For some reason I can never remember Linux commands but can always remember DOS commands). I don't know what it is, but I think it's the "everything is a file or a directory" nature of Linux that I can't remember it.
Anyhow, I have an instance running on Amazon EC2. I have noticed recently that FreePBX (an Asterisk GUI) is warning me of shortage of disk space. So here is the output:
I'm trying to copy files from my external hard drive to the desktop and instead of the usual copy or move to options, I get a widget menu! How do I correct this so I can copy files?I'm running opensuse 11.3 KDE 64bit
Is there a command for moving a certain amount-or all files-of a certain type? I know how to move files around but I can't find anything that explains how you would move multiple files at once.Writing this, I wonder, is it possible to move files by their size-moving all files under or over a certain size-rather than by type or name? I've looked but can't find how to do this, or if it's possible. Can't find anything on google with any combination of search terms.
I have a directory tree with lots of folders. I need to gather all files of same type, say .txt, and place them in a different folder all by themselves.
I know I can use the mv command, but it won't let me go through all the subdirectories of my folder, just the current one. How can I search through all subdirectories for all .txts or whatever and move them to a folder of my choosing?
from several problems with ubuntu/linux distros, just to have the compuer with main windows OS, Ubuntu as a second and backup and puppy too after a week of madness codes sudos gedits installing reinstalling 2 3 may be 7 times.the system is now quite stable (i had to erase the lucid lynx because nobody was able to help me with the problem of the missing panels. ill have to wait for a fix..
now i have a fresh install of 8.04 (i had to uninstall it because i move partitions ad grub wents down, i tried EVERYTHING and nothing but reinstalling it)i used puppy linux to extract my files (home folder) and save it int a new ext3 partition, then when this ubuntu8.04 was OK, i tried to move my files back. i tried to doit from ubuntu, and i saw a little padlock on the folder, i tryed to move it, and i cant, then i restart to tryit form puppy, i was able to doit from puppy, then i restart again back to ubuntu, now with the folder in ubuntu partition i now have to put each file/folder where it was supposed to be, but again i saw some older with the padlock icon and with the same problem, that i can't move it because i have no permission. i tryed to find some help before opening this thread but all i want was to open a gksudo nautilus on terminal, but that doesnt fix anything, because that open a wibdows and i only can move "locked" files withing that folder, and those are my files i need to move it all the time, i can't open a gksudo nautilus every time i want to move one of my files.
I have encountered the following error, taylor@ubuntu:~/Projects/Slicer4/Applications/CLI/Multiply/Data$ mkdir Baseline taylor@ubuntu:~/Projects/Slicer4/Applications/CLI/Multiply/Data$ svn mv ~/Projects/Slicer4/Testing/Data/Baseline/CLI/MultiplyTest.nrrd Baseline svn: 'Baseline' is not a working copy
I am simply trying to move a file (MultiplyTest.nrrd) into a new directory (Baseline) in order to make the program (Slicer4) more organized. I googled my error and found a few like it but they all involved installing SVN so none of the solutions apply to me. And I have tried deleting Baseline and remaking it.
i have about 2 TB of 700mb avi files as data on disc want to spread it across two 2TB ext usb drives (sata 3.5 inside the housing) obviously i have to rip them to the laptop and then move to the ext hdd (omg laborious little task) am i better doing the ripping in meerkat or in a windows machine? files need to be accessible by W7, XP, and meerkat to vlc player. what should i format the discs to?
I'm in the process of moving /tmp out of the root filesystem to it's own (larger) partition. From a LiveCD I've:
1. Created the new part (ext4 format and is /dev/sda4) 2. Mounted the installed OS root filesystem (/dev/sda1) as /slash 3. Mounted /dev/sda4 as /newtmp 4. Using gksudo nautilus I'm trying to copy the contents of /slash/tmp to /newtmp
I have 4 files that won't copy - returning the error "Can't copy special files". These are related to ORBit it seems:
Questions are: a. Will GDM or ORBit fail if I start up without these? b. Or will they just be recreated on the fly if found to be missing? c. What's the best way to proceed?
I am not sure if this is posted somewhere else, if it is sorry. Anyways I downloaded files to my desktop from firefox and i need them to be in usr/local file, but if i try to put it in there it tells me permission denied. Is there anyway around this?
I'm running Ubuntu 10.10 on a partitioned dell laptop which I plan to replace soon. Then I hope to install Ubuntu in a partition, same as at present. What is the best way to transfer my software and files to the new machine? I can follow simple command line instructions but am a GUI slave at heart.
I'm just beginning to grow from using ready made distros (running Mint8 64bit as main system) to configuring my own. I'm trying Debian Lenny with the Xfce desktop and so far it's good but Thunderbird and Firefox are apparently taboo. Firefox is no problem because iceweasle accepts my bookmarks etc. Icedove doesn't want to import my email and address books from the thunderbird folder I've copied from the main PC.Has anyone had experience with this and be prepared to advise an elderly tyro?