Ubuntu Servers :: Saving To /var/www Directories From Aptana
Mar 30, 2010
Designing a website locally on Ubuntu for the first time, Apache 2, PHP, MySQL, and PHP My Admin are all up and running fine.
I have been using Gedit to modify pages by opening them after navigating to the /var/www folder using gksudo naultilus. This works fine but I decided this morning that I wanted to use Aptana instead..
Aptana runs fine but when I try to save to anything under /var/www I get a permissions error. I tried giving myself read/write permissions both via terminal (chown) and in gksudo nautlius.. no change.
How can I write to these folders from Aptana? Also, is there any way to link to /var/www from my home folder so that I don't have to keep going there "the long way?"
View 5 Replies
ADVERTISEMENT
Nov 22, 2010
#the file temp contain a path to a directory int the first line
a= `head -1 temp`
bash: /home/ram/linuxTraining/scripting/testDir/test1Dir/test2Dir: is a directory
View 4 Replies
View Related
Jul 4, 2011
Is there anyway to install Aptana Studio in Ubuntu 11.04 other than eclipse plugin, like an actual install into the system. Currently all I can do is run it from a folder but that is starting to get very tiresome.
View 1 Replies
View Related
Jan 18, 2010
I've downloaded a program called Aptana to my Ubuntu system it is available as a plugin for eclipse, but Eclipse would not install it this way so I got the stand-alone version. I unzipped it to a folder in my home folder called Aptana and I set up a launcher to launch it from the menu.This works just fine, but it might be helpful if instead of the launcher icon I could use the icon that came with the program. It is stored in the Aptana folder.
View 2 Replies
View Related
May 10, 2010
I have upgraded to Lucid and I am using the Ambiance theme. Its all great apart from aptana's code suggest seems to be a bit odd. I have seen this thread but cannot reply to it. [URL]. Is there any update? Is this an ubuntu theme thing I need to edit or can I change one of the hundred aptana options?
View 6 Replies
View Related
May 18, 2011
I am planning to make a home made NAS running ubuntu server 10.04 LTS. Nothing fancy, simple samba with open access for all and openssh for admin access over the network. The NAS will not have heavy traffic, two home computers with occasional access, just to serve as central location. I am in doubt which CPU to use and I am after both budget and power saving solution.
1. I have an old Athlon Clawhammer I can use but the TDP of 90W is putting me off. I can also use existing 2x512MB DDR-400 memory with it. The board would be new.
2. I would rather invest in new mini-ITX board with built-in dual-core Atom D525 (TDP 13W), VGA and Gb ethernet. I would add 2GB DDR3-1333 memory.
Since I would need a new board for the Clawhammer too (current one doesn't have SATA), I am more attracted to option 2. Would the dual-core Atom be enough running this simple home NAS? I think it should but my experience with ubuntu server is limited.
View 4 Replies
View Related
Jul 13, 2010
I connect with ssh to an Ubuntu server to edit some files in /var/www witch I have set the setgid bit:
# sudo chgrp -R www-data /var/www
# sudo chmod -R 770 /var/www
# sudo chmod -R g+s /var/www
I have added the user "user" to www-data group. Now I connect using ssh as user "user" to my server with nautilus. When I copy files using nautilus file get the group permission 'www-data' as they should. But if I edit a file using Gedit and save it, the file's group get changed to "user" group ?
View 2 Replies
View Related
Feb 9, 2010
So I've set up a Samba server through the gui. When I've labeled my shares as accessible to everyone, I can get to it no problem. However, when I tie it down to a specific samba user, I can't.
By all indications, it appears that it isn't saving the password because every time I go to edit users, it has the exact same string in the password field.
View 1 Replies
View Related
Feb 1, 2010
I'm trying to find a way to sudo or su - from an IDE such as netbeans or aptana when I remote login to a SUSE 10.0 server. I need it for web developing because logging in with putty and using vim (as i do now) is not my style
View 2 Replies
View Related
May 18, 2010
have had a server running for a very long time using Ubuntu Server 7.10, and I think it's passed time that I upgraded.I'll be installing fresh, and I've already backed up /var/www (as well as a home directory with a few files)I've only used this as a Web / SFTP / file server. Might there be any other directories that would be good to backup? I set it up so long ago and have made a few changes along the way.
View 1 Replies
View Related
Sep 27, 2010
I am trying to copy the files from my WHS disk to my Ubuntu Server disk. I have the windows disk mounted at /media/WINDOWS and I want to transfer to /storage so I ran;Code:sudo cp -r /media/WINDOWS /storageIt takes about 4-5 seconds and is complete, but there is about 500 GB worth of data there so I know it didn't really copy everything over. When I look at the files in console it shows them, but when I look at the /storage through SAMBA on my Windows machine, it only shows the directories.?
View 9 Replies
View Related
Feb 8, 2011
quickest way to create directories from a .txt or .csv file. A single command would be great but I can use a script as well.
The windows equivalent would be:
FOR /F %n IN (newfolders.txt) DO MKDIR %n
View 7 Replies
View Related
Apr 26, 2011
I have a perplexing problem that I was hoping some of you might help me solve. My servers run 10.10 and also serve as standalone LTSP hosts - none of this is terribly relevant I hope. Recently, a user complained of permission problems and so I ran a simple command:
Code:
chown -R username:username /home/username/*
and
[code]...
View 4 Replies
View Related
Mar 28, 2011
I have a requirement. I need to write a shell script which will compare two directories residing in two different servers (SERVER A and SERVER B) and list out the discrepancies if found any. Script will be running from SERVER A.
View 3 Replies
View Related
Feb 7, 2010
In my desire to learn, mess around and set up something useful on my home network, I'm looking for something that can do centralized login and remote home directories. When someone in my family logs in to a computer, windows or linux based, I want them to be able to use their credentials, then have their remote drive mounted and ready for use. I've looked over ldap solutions, attempted to set up an OpenLDAP server and realized I have no idea what was going on. Is an ldap implementation the proper way to go for my desired solution or am I barking up the wrong tree? I've just now set up OpenDS on a VM for testing but I need to do some research there.
View 7 Replies
View Related
Mar 22, 2010
At work, using SambaKerberos and ActiveDirectoryWinbindHowto, I joined my machine to our ADS network. Again using ActiveDirectoryWinbindHowto, I modified both common-account and common-auth with these settings.
file: /etc/pam.d/common-account
account sufficient pam_winbind.so
account required pam_unix.so
file: /etc/pam.d/common-auth
[Code]....
According the the doc, when I first log in as a domain user, it should create the home directiroy /home/<whateverdomain>/<theusername>, but it doesn't.
View 2 Replies
View Related
Apr 16, 2010
I currently have samba setup and connecting. What I am trying to do is have multiple users with access to different directories. For example , let's say there are folders A B C on my Linux machine. I want one guy to see A and C and another guy to see B and C and a third guy to see them all. But I want each user to have access to change delete or execute the files within these directories that they have access to
View 4 Replies
View Related
Jul 28, 2010
I have my home server setup, running 10.04 x64. The OS is installed on a 300GB WD Blue drive, and I have a RAID5 array md0, consisting of 4x 2TB WD Green drives, mounted as /home. I am sharing the home directories using samba and using them to back-up the other computers in the house. I have created a user account+password for each computer, giving it its own "/home/computername_backup/" directory to store it's backups in.
Computers being backed-up:(750GB) Gaming PC running Win7 Ultimate x64
(30GB + 2TB) HTPC running Win7 Home Premium x64
(32GB) Netbook running Win7 Home Premium x32
(250GB) 2 Macbook Pros Running OS X 10.6.4 (tweaked to allow time machine to recognize the samba share as a time machine volume
Question: 5.37TB of /home seems good for now, and I haven't run into any problems so far, but I don't want to have to keep checking. I'd like to put a size cap on each user's home, to prevent one of the computers from gobbling up all the space. Is there an easy (or hard) way to configure this type of thing? My Macbook, for example, only has a 250GB HD. I could give it 3-400GB of space for its home and that would be plenty - whenever it filled its /home/, it would start erasing the oldest backups. If there is no size limit, I believe it will just continue to grow until all the free space is gone.
Considerations: Right now, the HTPC is storing all its media locally (on the installed 2TB drive). However, I've already used 3/4 of the space and the HPTC enclosure can only hold one drive. My plan moving forward is to have /home be used to store media files (iTunes music for all computers and tv/movies for the HTPC), which is another reason I'd like to ensure that the backups don't take up all the space.
I realize I could create a partition for each computer, but I'd prefer not to go down this route. This would seem an untenable tactic if I added another computer next month, or if I realized that the partition was too small.
View 2 Replies
View Related
Nov 7, 2009
I have it set right now to be open so that there's no need to type in username and password information. It works great. I can type \*IP Address* on my WinXP laptop while on the network, and it brings me to the Public folder that I'm trying to share. But, when I click on the folder to open it up, it just sits there and eventually will give a userid/password prompt or will give me an access denied error.
Here is my smb.conf:
#SMB.CONF
[global]
[code]....
View 2 Replies
View Related
Jul 28, 2010
What is the name of two servers that allow you to share directories between systems?
what is NetworkManager? What does it do when you install a new NIC?
View 1 Replies
View Related
Jan 8, 2010
I'm trying to mount the home directories of the users on the server to the respective desktops. I would like to use the libpam-mount module. do you guys know, how make it run? I am using 9.10 both server and desktop and the most recent pam-mount module. I know that the /etc/security/pam_mount.conf.xml needs to be edited. I added the following to it:
Code:
<volume user="username" fstype="cifs" server="IP-Server" path="/home/username" mountpoint="/media/server" />
View 9 Replies
View Related
Apr 12, 2011
I want to password protect say a subdirectory, or a subdomain via vhost, with a username/password, but use the systems users and passwords as logins -> I want go avoid any and all .htaccess... as everyone should be doing anyway How would I go about doing this? I know my way around the apache configs fairly well, so I'm not a total newb -> I now I can use .useraccess and .pwaccess but that's flat file driven, not based off of the systems users/passwords.
View 1 Replies
View Related
Feb 19, 2010
I have a vary unique problem with file and directory ownership. I need to change the ownership of multiple files and directories under a specific subdirectory.Under this directory structure there are files and directories owned my different users and groups. I need to change all files and directories owned by "user1" to "user2". but if any are owned by "user3" I need those left alone.Is there a simple way to do this or will I need to traverse the structure and change things one at a time.
View 3 Replies
View Related
Mar 30, 2010
Need help maintaining permissions across multiple directories. Have Ubuntu 8.04 Hardy Heron. O/S installed, updated and running with no problems.Why is it that my administrator user id doesn't seem to have root permissions to create directories? I am trying to setup hosting 3 separate websites and therefore create 3 separate directories to manage all associated files for the 3 websites. Also, I am attempting to read through the tutorials located at:URL...
View 4 Replies
View Related
Apr 8, 2011
So I finally managed to get my Samba file server working () but now I have a question. On the server I have 4 folders, each being used for a certain topic. How would I set the folders as read only but not the contents, so that way remote users can read/write to the folder but can't delete or rename the folder itself? Also, if I restart the Linux box it will cease to show on the Windows Network unless I delete the Samba share and remake.
View 1 Replies
View Related
May 28, 2010
I want to automaticly set the group ownership of user home directories to a group that the user is not part of. This is so that Apache can be part of this group and can access user public HTML directory, but other users are not able to access in any way the files in the users home directory. What I have seen that works manually is adding the user and then changing the group for the home directory. But I want to automatically set this when the user account is created. WHat I see happening is that when /etc/skel is copied, it automatically sets the group and ownership of everything to the users default group and ownership. I've seen some suggestions on setting permissions, but these don't seem to work because it seems that users are able to cd into a directory and not list it, but if they know the file name they can access the file.
View 1 Replies
View Related
Dec 19, 2009
i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.
View 14 Replies
View Related
May 15, 2011
I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.
I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.
I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?
View 2 Replies
View Related
Feb 4, 2010
Having openSUSE 11.2, Firefox (latest release) is having some issues when comes to "saving image as", it fails to offer "saving window"? Konqueror works normal, what could be the problem with Firefox?
View 4 Replies
View Related
Mar 23, 2011
I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.
for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh files
like that and my requirement is the (1- directory is moved to one new directory(dir) which we are given in the script)and (2 .txt files are moved to another new directory(test) which we are given in the script)and ( 2 .sh files are moved to another new directory(bash) which we are given in the scrip)finally the directory anish should be empty..using bash script.how it is possible !!
View 7 Replies
View Related