CentOS 5 :: Install Java In Home Directory?
Aug 22, 2011Is it possible to install java in my home directory and that only i can use it ?
Because i dont have root access.
Is it possible to install java in my home directory and that only i can use it ?
Because i dont have root access.
I have installed CENTOS / PHP 5.1.6 / JAVA 1.5.0_20. Now i want to install JAVABRIDGE for PHP and JAVA title should list in the PHP_info page.
View 1 Replies View RelatedI have an interdependent collection of scripts in my ~/bin directory as well as a developed ~/.vim directory and some other libraries and such in other subdirectories. I've been versioning all of this using git, and have realized that it would be potentially very easy and useful to do development and testing of new and existing scripts, vim plugins, etc. using a cloned repo, and then pull the working code into my actual home directory with a merge.
The easiest way to do this would seem to be to just change & export $HOME, eg
cd ~/testing; git clone ~ home
export HOME=~/testing/home
cd ~
screen -S testing-home
# start vim, write/revise plugins, edit scripts, etc.
# test revisions
However since I've never tried this before I'm concerned that some programs, environment variables, etc., may end up using my actual home directory instead of the exported one. Is this a viable strategy? Are there just a few outliers that I should be careful about?
To be clear: I searched and used the button above to find similar topics, but my solution wasn't there.
I was very busy with work the past months, so my quest to become a Linux Crack hasn't borne too many fruits yet So I am still a ...
So here is my problem:
I have 3 users on my CentOS VPS:
root
user1
user2
For security reasons I only log on via public key, root access is denied. Admin is user1. user2 is a regular user.
I want user1 to be able to additionally access user2's home directory, when I log in via SFTP using FileZilla, because occasionally I want to move files from user1's home directory to user2's home directory. But I need user2 to still be able to connect to his home directory via SFTP, too (everything I tried up to now always "breaks" his account).
How do I do that?
user1 is in the wheel group in order to be able to become root if necessary.
user2 is in the user2 group.
I tried adding user1 to the user2 group, but that alone doesn't seem to give him access to user2's home directory.
I know this must be about rights and permissions, maybe group permissions? I sit on it about 8 hours now and don't see no light at the end of the tunnel. When I think I got it I suddenly can't log in with user2 anymore (neither PUTTY nor FileZilla).
I have attached a 2 TB LUN to the HP Blade Server running CentOS 5.3 via a Qlogic HBA. To provide the cluster users with sufficient storage areaa, I want to move only the home directory from the default partitioning schema to the attached storage and leave the remaining partitions on the main harddrive of the server. So, having copied user directories & files to the new location, i.e.,
/cluster/home2 on the new storage partition, what modification(s) should I make on the server?
/export/home is the default location for the users.
/cluster/home2 is NFS shared directory serving as the new home location for the users.
I would like to move a user's home directory to a different disk. Is there a "clean" way to do this? Specifically, is it safe to just copy all the .* files to the new destination and then change the home in the user config? Or are there maybe environment entries with absolute paths which will cause problems with this strategy?
View 5 Replies View RelatedI have a problem from time to time. Now is such a time. Nautilus is not able to read/enter my own home directory. It can enter/read ANY other directory, but my own home directory. Killing the Nautilus process, doesn't help. Logging out doesn't help. I need to reboot to get nautilus to read my home directory. Sometimes, it suddenly appears after a couple of minutes, but not always. What is taking so long time or causing the hanging? What should I do?
View 4 Replies View RelatedI am new to deb package. I have read some docs, but did not know how to specify the destination for to-be-installed files. For example, I want to install under user's home directory. How to specify that?
View 7 Replies View RelatedI get this error when I boot opensuse default and fail safe. It takes me to a console log in, which works. This happened after new kernel install in Linux Mint, which is unbootable atm. I can boot windows, bsd but no Linux.
View 9 Replies View Relatedhave the home directory encrypted after the initial installation? I know on a clean installation you can set this up.However, is there an easy way to do so after? Ubuntu Karmic x64
View 1 Replies View Relatedam having to reinstall 10.10 and putting on it's own drive. Even though I can't get my system to boot properly, my old home directory is still intact on a different drive. How can I get the new install to point at the old home directory? I have read the tutorials, but it just isn't clicking for me.
View 9 Replies View RelatedI have a user account on a server that runs debian. I do not have the root or superuser password b/c i am not the local system admin, but I want to install a program (djvu2pdf and djvulibre-tools). I did some searching on the internet and found some useful information, but nothing to really tell me what to do.My question, if it compiled succesfully, did it install? Where am I at in the install process? I want it to put the executable files in my /home/usr_acnt/bin/ folder, how do I do that?
View 2 Replies View RelatedI have just followed the instructions here: Upgrade/Supported - openSUSE to upgrade from version 11.1 to 11.2. When it was upgrading the system, by using: It had problems with a couple of rpms (one oppenofice extras and the other i cant remember). I went away for a moment and when i returned the computer was blocked. I whaited to no avail. I pushed the power button and turned of the PC. I started it again, and in the boot menu it still said version 11.1, but the background was not that of 11.1, but that of 11.2. I booted but did not started X windows, worse still my /home/ directory is empty!
View 1 Replies View RelatedI am trying to open an encrypted home directory from opensuse 11.2 with opensuse 11.3. This means i have a user.img and a user.key So far i have done:
losetup /dev/loop3 user.img
cryptsetup luksOpen /dev/loop3 home
Enter passphrase for /dev/loop3:
No key available with this passphrase. At this point it will not accept my passphrase.
A luksDump reveals:
cryptsetup luksDump /dev/loop3
LUKS header information for /dev/loop3
[code]....
When i try to use the key file, i get:
cryptsetup luksOpen /dev/loop3 home --key-file home.key No key available with this passphrase.
I am having a problem setting up an encrypted home directory with openSUSE 11.3. I used Yast User and Group Management to edit an existing user to encrypt the home directory and the user.key and user.img files were created in the /home directory. I tried it out and logged in as user and created a new file. I logged out and logged in as a different user and was able to see the newly created file in the first users home directory.
I figured I did something wrong so I went back to Yast and deleted the user. I deleted the /home/user directory using file manager su mode. I tried again to create a new user with an encrypted home directory using Yast and now when Yast tries to write the changes I get an error: "pam_mount is already setup for user. Use --replace to replace the
existing entry." I do not know how to proceed from here except to try with a different user name as I do not understand what the error message means and what command to use --replace with.
My machine telling me that my home directory is running out space,It is said 95% in usage.Try to delete the big unwanted files in users (just two user in my machine),df ing, but the home usage status keep on 95%.
View 9 Replies View RelatedI love KDE4 now, but I still want KDE3, so I I want to build KDE3.5.10 and install it to my home directory, sort of like konstruct does, but the current version. I've built almost an entire KDE3 before, so I'm pretty sure it's doable, but what do I do different to point the installer at ~. If the answer is in the man page for make I couldn't see it.
View 9 Replies View RelatedI want to do something that would make my life easier. Problem:
1. I use OpenSUSE as my main OS for over 2 years now. BUT I like playing with a flavor of the month OS.
2. Virtual OS installs are not my cup of tea. a) You don't get a "true" feeling for the OS without it being installed on metal. b) I have a OLD cpu and virtual anything is painfully slow.
Solution: Split the /home directory into three partitions.
1. Shared /home partition holding all visible data files
2. OpenSUSE /home partition having all the hidden .files and .directories for its configuration.
3. Flavor of the month OS /home partition having all the hidden .files and .directories for its configuration.
Reasoning:
I can therefore install another OS or Distro and just format and install to 2 partitions. I still have all my documents and files in a separate shared partition.
Issues:
1. I understand why they made the configuration files in /home for multiple users, but when someone wants to keep trying out different things it causes problems. 2. I don't want to place my files on my NAS. I have the same issue. My config files are saved in the NAS/home/and I can't share it without headaches. Doesn't solve my issue. 3. A symbolic link (soft) won't work since it will not update itself if files are moved.
4. Drop Box won't solve my issue and just take up space. 5. Syncing the /home/ folders between the two would take double the space. Just an issue with videos music and pictures. 6. If I make any changes won't this causes issues with the operating system and applications placing .config and defaults to the wrong place?
Solution I can't figure out how to process:
1. Save my .config files on a separate partition.
2. Making a link for each folder from the SUSE or Flavor of the month's /home folder to the storage /home folder located on a separate partition.
I just installed suse 11.3 on formatted partitions (5GB swap, 30GB / and 500GB /home). Just after the installation, My computer showed 25.2GB of /home to be used. When I do:
Code:
dyn-0a2a1f40:/ # df -h .....
That seem to be roughly correct because since yesterday I've been running a program that constantly writes logs and other data files and plots, which might have accumulated a few GB's. It is also collaborated by the output of
Code:
dyn-0a2a1f40:/ # du -sk /home
10548452 /home
I'm not hard-up on space right now but storage has been dear until the recent past. Also out of curiosity, the size of the /home partition is shown as 493 instead of the 500GB allocated while the swap also lists only 4GB instead of 5GB. Below is the output for fdisk -l in case anyone needs it:
Code:
dyn-0a2a1f40:/ # fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x219b052d .....
I have Linux 2.6.34-12-desktop x86_64 and KDE 4.4.5 (which I had previously used in 11.2 without any problems) and 4.0GB RAM.
I've created a guest user in the group "user." I'd like to limit its read access to its own home directory. However, by navigating through File system>home it's able to read my home directory. I was under the impression that users were limited to their own home directories. Am I missing something, or is there a group I can assign this guest to, to limit its read access to its own home directory? I've read about Pessulus (I use Gnome), but that seems to be geared toward limiting access to applications, not directories.
Ideally, I'd like to create a group that cannot navigate through any files except its own home directory. But it seems that if I try to do that, the guest user will not be able to execute any applications. I've read all the posts (and other forums) I could find about creating such a limited account, but the chroot jail is beyond my understanding. I get the feeling that it's geared toward networks.
I have a dual boot windows XP/OpenSuse 11.3 system running from a hard drive. They are both 32 bit in spite of the fact that the system can run 64 bit.
I would like to upgrade to Windows 7 64 bit (the wife insists, not yet a Linux possibility) and OpenSuse 11.4 64 bit, but having the programme files on an SSD for faster loading, with my data files on the existing hard drive.
I'm happy with the notion of getting the SSD going as a dual boot system. With Windows, as I understand it, it can tell it fairly easily where to look for the "my documents" folder on the hard drive.
However, the Home directory in Linux is not quite the same. How (if it's possible) could I run the SSD but use my existing Home directory on the hard drive?
Using SUSE 11, I'm trying to change my existing login user id HOME directory to use encryption. I use YAST to do this, just by clicking the ENCRYPTION box inside the USER AND GROUP MANAGER tool.I receive this error message -- "Not enough disk space left to copy existing data".Which file system do I need to add space to?Here are the filesystem existing sizes --
Filesystem: / Size: 6g Used: 3g
Filesystem: /home Size: 1.8g Used: 65m
I'm trying to relocate my home directory which currently resides at the default, root location /home/user.
My Systems Specs:
Karmic64
Root resides on a Raid0 LVM MD0
NEW Drive resides on Raid0 LVM MD1
I installed a new disk on a LVM(Logical Volume Manager), and now want to move my default home directory to the new location. I did rsync my home directory from the OLD to the NEW. When I do update my /etc/fstab with the NEW home location, I recieve errors upon rebooting, that certainly relate to permission issues, including some from Nautilus that mentions permissions issues...
I also tried to update the USERS/GROUP Manager with the NEW location but after reopening the USERS/GROUP manager, I can see the original location has been reverted back. I can create a new user and succesfully map their home directory to the NEW home location on my MD1 LVM. Any links on home to remap their existing HOME directory to a new location?
I am using the latest version of Cont OS 5.I installed Sun Java into the Firefox browser and it works fine for web content but not for accessing my office Windows Desktop remotely. It seems that I have to install Sun Java at Root (I think).installing the latest version of Sun Java for the purpose of accessing my Windows Desktop?
View 1 Replies View RelatedI have a centos 5.5 server. When I do a java -version it says command not found. So it means java is not install right. What are the steps for me to install java into my machine?
View 8 Replies View RelatedHow to install /download java 6 plugin for Centos. Although I got java runtime for centos but can't find any plugin.
View 1 Replies View RelatedI have a strange problem when I do SSH to a FEDORA9 based Linux Server.
[Code]....
When I login using "adah" username in TELNET I am automatically directed to my home directory at location "/media/disk-1/home/adah". But when I use SSH to login using the same username I get the following message Code: Could not chdir to home directory /home/adahaj: Permission denied
I have a dual-boot macbook with an OS X partition and an ubuntu partition. When I first installed ubuntu, I changed my home folder to my OS X home directory to synchronize all my files from both. My home directory is now /media/sda2/Users/username/. In a regular home folder, the icons for Documents, Music, Pictures, Movies, etc. are different (not just with emblems, but actually different icons). But when I changed my home folder, these subfolders' icons stayed the same as regular folder icons and I can't figure out a way to change that default setting. I know how to change the icons for each folder manually, but these changes don't appear everywhere (i.e. nautilus, places, etc). Furthermore, every time I change my icon theme, I would have to manually reassign icons for these folders. Is there a way to globally change the folder icons for these folders?
View 2 Replies View RelatedI have a secondary disk which holds a /home directory structure from a previous install of Linux. I installed a new version on a new primary drive and mounted this secondary drive as the new /home. Problem is, even though the users are the same names and I can access the home directories for the users, I cannot login directly to their home directories, as I get the following error: -
Code:
login as: [me]
[me]@[machine]'s password:
Last login: Wed Jan 6 18:34:33 2010 from [machine]
Could not chdir to home directory /home/[me]: Permission denied
[[me]@[machine] /]$
Now, since the usernames are correct and the users are in the passwd file with the correct home directory paths, could it be user ID's that are different or something else? It's not as though I cannot access the home directories for the users, simply that I cannot log directly into them from a login prompt.
Is there anything special about a home directory before users' home directories are stored there, or is just as typical as any other "empty" folder?Let me just cut to the chase, but please no ear ringing about the folly of messing around as root, particularly with directories at root level. I know it's considered stupidity, but I deleted my home directory.
Is there an easy way to restore a working home directory? I tried copying /etc/skel under root, but I'm not sure what a home directory should look like once it has been restored. Besides . & .., there were .screenrc & .xsession in my home directory when I copied /etc/skel. Are these files suppose to be in "/home" or "/home/~" or both?