Ubuntu :: How To Save File In Htdocs
Feb 27, 2011
I have my final project and that is. 3 laptops connected to each other using switch and each of it is running ubuntu. One of the laptops is used as a web server. I installed already the xampp but my problem is I don't know how to save file in htdocs. In addition, I have no idea how my website in webserver can be viewed by 2 other laptops. It's just an intranet no need to be viewed through internet.
View 1 Replies
ADVERTISEMENT
Jun 3, 2010
I'm new at using Ubuntu, I really need to use XAMPP / LAMPP for testing my websites. The problem is that, I can't save files to the HTDOCS of my XAMPP.
View 1 Replies
View Related
Dec 2, 2010
i was trying to move xampp's root directory from /opt/lampp/htdocs to /home/private/htdocs (in order to use Ubuntu One) but when i restarted apache i got "permission denied" when i tried to load the index page.so i said to my self...hey..let's chmod
i entered this three commands in terminal:
Code:
sudo chmod -R 755 /home/private/htdocs
sudo chmod 755 /home/private
sudo chmod 755 /home
('private' is my username)
after a couple of seconds everything begun to disapper, shortcuts on my desktop, my wallpaper...all.i even tried to execute another command with sudo but i got a nice error message that said i don't have permissions to execute bla bla.now i can't even log into my user.
View 4 Replies
View Related
Sep 10, 2010
i'm a new Ubuntu user and starting with programming, i've already installed XAMPP for LINUX at /opt directory and the Eclipse app to code php, java etc.When I try to write or create a file inside htdocs XAMPP directory the Eclipse outputs this message to me:"Parent of resource: /opt/lampp/htdocs/site/includes/include.php is marked as read-only./ opt/ lampp/ htdocs/site/includes/include.php (Permission denied)"Whats the matter with this possible error?
View 7 Replies
View Related
Jul 6, 2010
I've installed Apache 2 on Ubuntu linux 10.04 as a simple LAN site for testing PHP scripts. But even though I've deleted the default index.html file in htdocs, changed the index file to index.php, put an index.php, chmoded to 775, and gave ownership of the folder to my account, it will not update any of the files. Any time I go to 127.0.1.1 or 127.0.0.1 (Both work, somehow), it has the "It works!" page instead of the page I put there. And yes, I've tried restarting apache, restarting my computer, etc. What's the problem and/or how do I fix it?
tl;dr: Apache keeps displaying the "It works" page even though I've replaced it. How do I fix it?
View 2 Replies
View Related
Mar 22, 2011
Now i install the Ubuntu 10.4 64 bit on Sunfire X4170I want to save the file via SSH to this server.But i m not sure how to configure.
View 4 Replies
View Related
Feb 28, 2011
My employer issues pdf files with everyones work schedules. I copy the content and save it as plain text in a file called unformatted (hope to be able to automate this step someday). Im working on a SED script that reduces unformatted to only display what I want to see and saves the result in a file Iïve named formatted. After that I have to manually copy formatted and save it with that days date as a filename e.g. 2011-02-25 or whatever day is scheduled in the pdf, for use on a mobile device (Nokia N900). I noticed that the date occurs on certain lines in the file so I added a line like:
sed -n 's/^Date: (201[1-9])/([0-1][0-9])/([0-3][0-9]).*/1-2-3/p' < unformatted >theDate
That creates a file theDate with the date in it that I wish to use as the filename for this particular instance. So I would like to skip the file formatted all together and have the sed- script write to a new file using the content of the Date as a filename, but how do I make that happen? And of course it would be more elegant if I could skip the intermediate theDate file as well.
View 4 Replies
View Related
Feb 1, 2010
I am trying to extract the phpmyadim zip to the htdocs folder. Every time I extract the files to the folder, it does not extract anything. I also tried extracting the file to another folder with success, but when I tried dragging and dropping the folder to the htdocs folder I had no luck. I cant write to the folder.
View 1 Replies
View Related
Mar 1, 2011
Is there a guide somewhere that covers installing Trac? [URL]That one doesn't cover how to link Trac to Apache with mod_python,configuring authentication, or using htdocs to host static content (like the logo image I want to use. Does tracd support authentication and htdocs?
View 1 Replies
View Related
Apr 27, 2010
I've setup both a http server and svn server and have a SVN project residing in the "/srv/svn/kdrepos/THOR/" directory. I would like this project to automatically do a checkout into the /srv/www/htdocs/ on update/commit. Is this in any way possiblely? Some sites (xp-dev) for example offer an option to have a repository automatically 'added' to a webserver. Does anyone know how is done? I'd xp-dev if it wasn't for the fact that I also need full access rights on the machine
View 1 Replies
View Related
May 1, 2011
I am have problems with: gedit, abiword, mv, cp, touch, and rename.The text file was created with 'gedit' and save out of frustration with the title of 'Unsaved Document 1'.I now wish to give it a name and save it.'gedit' and 'abiword' will not save it with the name "Annie Street Arts Collective Play List 5/11", they will save it as 'Unsaved Document 1'. gedit' has work flawlessly for me up until this incident.I've never run into this before, I don't know what to start looking for. What do I look for to fix what is broken?
dave@dave:/media/seagate_/AnnieStreet$ id
uid=1000(dave) gid=1000(dave) groups=4(adm),20(dialout),24(cdrom),44(video),46(p lugdev),104(lpadmin),115(admin),120(sambashare),10 00(dave)
[code]...
View 3 Replies
View Related
May 15, 2010
I created the document in gedit and save button is disabled. It says "Changes to document 'Unsaved Document 1' will be permanently lost. saving has been disabled by system administrator"
View 9 Replies
View Related
Dec 3, 2010
I was trying to install Ubuntu on a USB stick. So I went to the ubuntu site and downloaded Ubuntu. Now I have the .iso file on my computer but if I click on it, it asks me to burn but I want to save it on a USB stick. I did that with Universal USB-Installer. It goes smooth but when its finished its not the .iso file thats in it but just some documents and stuff. How do I get the .iso ? (I want to use it with VirtualBox but you need the .iso for that...)
View 6 Replies
View Related
Mar 12, 2010
My wife works in administration and is always writing letters. Finally got her to use openoffice but she was very upset no one was able to read her letters. Did I miss a step? As new, did I get her to use the wrong program for her work? I am trying to transition the family toward linux but composing letters may be a setback. How do we save files viewable for any PC?
View 1 Replies
View Related
Mar 13, 2010
When I try to save a file that I have edited using gedit I get a error Could not save the file /etc/pwrstatd.conf.You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again.Is this something to do with not being logged on as root? If so how do I log on as Root or edit the file as a root user?
View 4 Replies
View Related
Apr 17, 2010
i want to save my file as gbk encoding with gedit,gedit can't do it, see the attachment
View 1 Replies
View Related
May 18, 2010
I have a flash file that i cannot save. I want to save it in a folder on my desktop.
View 7 Replies
View Related
Jun 11, 2010
Cannot write to preference file "matlab.prf" in "/home/jiangmi/.matlab/R2010a".Check file permissions.every time i run matlab by typing matlab in the terminal,i see this error messagei can run some m files, but i can not use ctrl+A to copy, etc.when i view the permission, i find below:
jiangmi@jiangmi-laptop:~/.matlab/R2010a$ ls -rl
total 1368
-rw-r--r-- 1 root root 1265183 2010-06-05 20:04 toolbox_cache-7.10.0-2356054188-glnx86.xml
[code]...
View 1 Replies
View Related
Nov 18, 2010
I mounted a remote directory using sshfs and I can't save files using gedit, while saving same file using vi works. Changin permission to o-r (640) allows gedit to save files OK. Is there a way to change sshfs connection to make gedit work without chmodding every file? (I use -o uid=`id -u` -o gid=`id -g`, so that remote files seem to be owned by me)
Code:
$ touch test.txt
[!] test.txt appears
$ vi test.txt
[!] :wq -> saves just FINE
[Code]...
View 4 Replies
View Related
Mar 15, 2011
I sometimes stick my neck out and provide somewhat detailed, and often risky, "Mr-fix-it" remedies for boot problems. Now, I know it's possible to amend each command with "whatever_command > whatever.txt" in which case it'll place the command output in a file in /home.
But if you're directing someone to run a lot of commands as I did here is it possible to save the output of all commands to a .txt file without amending each command?
Or is it already saved somewhere that I'm not yet aware of? I wouldn't be surprised if the latter were true, I just haven't yet found it
View 4 Replies
View Related
May 16, 2011
my ubuntu laptop have crashed and all I get up is a terminal that report that it is a "read only file system". is there any way to move these files to a usb memory or to at least read them?
View 3 Replies
View Related
Jun 13, 2011
Is there a file manager that I can use for Ubuntu which has a "session restore" feature. Think of a sort of "save all these tabs" feature except applied to the file manager only.And for additional clarification: I run several desktops and each one has a file manager on it with several tabs of the file manager open. Each set of tabs are related to a topic I am working on.
View 2 Replies
View Related
Oct 21, 2010
I would like to save the input of gtkterm ( what is displayed from its window) to a file, and this iautmatically. Because from GTKterm you can rsave raw file by clicking "save every to raw file manually". As it's say on the readme file, you can use "gtkterm -f filename.txt", but i tried and any file is created on the current directory.
View 1 Replies
View Related
Mar 10, 2011
I have a bash script that i created for a colleague to configure the servers he installs. It does package installations, modifies some config files, creates directories.
The problem is sometimes he says that the script skips some steps. There are some steps that require user input and i think he chooses wrong option. (i have tested the script and it works fine).
My question is how can i save the output in a file (or log) so i can check if there are error? I know about the ">>" operators but will this "script.sh >> output.txt" still bring the dialogs for user input (like read input from shell and mysql password dialog from install package)? And how can i record everything he inputs?
I read about logger, but since there are a lot of commands do i have to log every command or can i just log the whole script.
View 3 Replies
View Related
Jun 17, 2011
CanoScan LiDE 210 running under 10.10 on a Tosh Tecra M11-130 laptop.Currently trying out xsane to archive some paperwork in monochrome, as the bundled Simple Scan utility can only save in either colour or greyscale. The problem is that the same A4 page saved as monochrome has a file size about three times larger in Ubuntu than in Windoze.
The scan mode options are either 'Colour', 'Greyscale' or 'Lineart'. There is no 'halftone' setting available, as shown in some of the xsane manuals. Don't know whether this is significant to this issue. Xsane's main option window shows 3508 x 2480 x 1 bit for a 300 dpi A4 monochrome scan when 'lineart' is selected, but the intermediate file size is 8.3MB instead of just over 1MB before packing for the PDF. This is consistent with each pixel not being recorded as a 1 or a 0, but as a greyscale 11111111 or 00000000, i.e. monochrome/halftone, but stored in an eight bit field. how to tweak xsane for true monochrome intermediate .pnm files and saved PDFs?
View 5 Replies
View Related
May 10, 2011
im trying to create a repo file and im not sure how to save it.
Code:
# vi /etc/yum.repos.d/playonlinux.repo
then i added in:
[code]...
View 6 Replies
View Related
Jun 6, 2011
Have just installed 11.4 Linux 2.6.37.6-0.5-default. I find that saving data does not enter the folder. Attempting to file once more, the folder selected shows that data is already there and gives the option to overwrite. Closing the folder and reopening again, data has still not transferred. Only after rebooting does the data appear. I am wondering whether I have insufficient RAM (512K)
View 1 Replies
View Related
Feb 14, 2010
I am trying to install Ubuntu to a computer with out an Internet connection and I need a way to get the updates on it. So I have a two part question how do I backup or save the updates I normally get from the update manager to a file or disk and how do I install them on the computer without the internet connection?
View 1 Replies
View Related
Apr 5, 2010
I have some japanese music files stored on a flash drive that the titles of which are in japanese originally. While in the flash drive, when I go to Properties -> Audio, the title is written in japanese. It does not allow me to edit the file, no matter what permissions I have on it, therefore I can't change the name to english. So, I tried Rhythmbox instead, and transfered the file there. I could change the name, however there is STILL a huge problem.
I have around 300 japanese music files, all of which have to be renamed into english.
I did all this for all of them in Rhythmbox, and clicked "quit" when I was done. When I came back to transfer the files to my MP3 player like usual, I opened Rhythmbox, and...
ALL OF THE FILES WERE STILL IN JAPANESE! It didn't save any of the work I did on editing them. But, I calmed down and thought "oh, you can save playlists! I am sure that if I save them on one, it will keep the edits!" I did this, and it saved nothing. It took me 2 hours to finish the renaming, just to find out that it can't save information edits at all.
View 9 Replies
View Related
May 17, 2010
I want to copy location of every .avi , .jpg file present in a folder or in subfolder present in a direcotry and save in a textfile how to doex : /home/username/Desktop/bookofeli/video/book.aviit should give full locaiton of path how to do
View 2 Replies
View Related