I have dual booted my laptop with windows and ubuntu. I want to use the windows maven project from ubuntu. I have installed maven in ubuntu apt repository. But when I check the .m2 folder of ubuntu, there is only org folder and nothing else. Here is the screenshot of my .m2 folder of windows and ubuntu. The first one is .m2 of windows and second one of ubuntu.
Windows .m2 repository
Ubuntu's .m2 repository
This is probably because because of your user permissions. Have you tried listing all files in your .m2 using your "root" user?
It may not be an issueuntil you hit some maven phase or goal, i.e. you run the mvncommand with some argument so it will resolve your dependencies and download them.
From the time this snapshot have been captured, it seems that only some artifacts whom group names begin with org have been downloaded; It might be:
org.apache.maven.plugins
org.codehaus.groovy
org.mongodb
... or any atifact alike
Related
i have Linux red hat installed on my system as virtual machine
i have already installed Load runner community edition on my windows host and i want to install it on Linux guest virtual machine
i red the guide bu got so lost with first 4 steps .. changing directory especially .. how and where to i have to change it ? i need alot of explain on this step
Kill any Load Runner agent process that may be running on the machine. Type:
cd /opt/HP/HP_LoadGenerator/bin;./m_daemon_setup -kill;su -;
Change to super user.
If you have an earlier version of the load generator installed on the machine, you must first
uninstall it. Type:
cd /opt/HP/HP_LoadGenerator/;cd _HP_LoadGenerator_Installation/;sh ./Change_HP_
LoadGenerator_Installation;
Change directory to //InstData/Linux/VM. The is any path that contains the Web_Installers folder, for example /tmp/Web_
Installers. Copy the installation folder to this location
I've been deploying VMs with kickstart files and OSes like CentOS7 and Oracle Linux 7 in Spacewalk, I even update the VM with a yum update in the post installation kickstart script, which is amazingly cool. After installation though, it doesn't really keep up to date with the latest version of the operating system, I'd have to download and upload the .ISO to Spacewalk every time an update comes around or do a yum update on the VM itself. Then I found out you can link and schedule an OS repository. I already have a setup of this kind for CentOS7 in Spacewalk.
This works for me:
CentOS7 repository for spacewalk channel example
The link to the CentOS7 repo
However, I haven't found any public repos for OL7. Does this kind of repo simply not exist for Oracle Linux 7?
Also, is there perhaps a better solution to this problem? I'm planning on using Puppet with this setup for the software aspect.
Thanks in advance.
From: Oracle® Linux Administrator's Guide for Release 7
https://docs.oracle.com/cd/E52668_01/E54669/html/ol7-downloading-yum-repo.html
2.3 Downloading the Oracle Linux Yum Server Repository Files
Note
The following procedure assumes that yum on your system is configured to expect to find repository files in the default /etc/yum.repos.d directory.
To download the Oracle Linux Yum Server repository configuration file:
As root, change directory to /etc/yum.repos.d.
cd /etc/yum.repos.d
Use the wget utility to download the repository configuration file that is appropriate for your system.
wget http://yum.oracle.com/public-yum-release.repo
For Oracle Linux 7, enter:
wget http://yum.oracle.com/public-yum-ol7.repo
The /etc/yum.repos.d directory is updated with the repository configuration file, in this example, public-yum-ol7.repo.
You can enable or disable repositories in the file by setting the value of the enabled directive to 1 or 0 as required.
Oracle provides publicly accessible yum repos at yum.oracle.com. They even have their own build of Spacewalk available to customers.
Further, I added ULN support to Spacewalk a while ago, so you can configure it to sync content from ULN if you're a customer. See the Oracle Spacewalk Client Life Cycle Guide for more info: https://docs.oracle.com/cd/E52668_01/E71078/html/swk24-crreposwc.html
Alright REW and Djelibeybi both gave me good answers, instead of using the repo file though I opten to fully use Spacewalk and use the links in the repo file to update the channel. In hindsight I can't believe I didn't come up with this sooner because I knew of the yum public file.
The link to repo file was wrong,
I instead should have just used the links in the repo file to create multiple Spacewalk Channel repositories.
Thank you all, I'm very happy with this solution.
I installed Instasearch from the MarketPlace, and wanted to do some configuration on it. So I started looking for the installation directory but couldn't find it. I have searched all the eclipse and system directories and still no luck. So generally speaking, where do apps installed from the eclipse marketplace get installed on a linux system?
Eclipse traditionally puts plugins in the Eclipse install location in a 'plugins' directory.
If that location is not writeable then a .eclipse directory in the user's home directory is used.
For newer Eclipse installs using the Oomph installer a .p2 directory in the user's home directory is used.
Note: directories starting with . are usually hidden by Linux.
I have Ubuntu 9.10, and Im not a root. This server contains JDK, but I need some updates (change local policy), and its easy for me to use package Java. E.g. on Windows I downloaded jdk1.6.0_05, set JAVA_HOME, and didn`t have any problems.
Is it possible to download full JDK to my home directory, export $JAVA_HOME without any installation manipulation?
Download the jdk Linux "bin" version from Oracle's web site. Wherever directory you run the shell script, it will install the jdk. Very similar to unpacking a .tar.gz.
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Update your JAVA_HOME and PATH, etc, and you should be good to go!
You can download the JDK from here. If you are able to modify the server's environment, you can try to modify the $JAVA_HOME. If your server is running with lower privileges under another user, you have to do this with this user.
Download the java .deb package and unpack it with
dpkg -x <deb> .
You will get a /usr dir with subdirs and java distribution.
Copy it to wherever you like and set JAVA_HOME.
I am trying to use tortoiseSVN to manage some files that I need to transfer between my computers at work and at home. Do I need to install TortoiseSVN on the USB key that I use to transfer the files? Or will TortoiseSVN work without me having to do so? If I need to install to the key, is that possible? The .msi installer I downloaded doesnt' allow me to specify the directory for installation.
TortoiseSVN is a shell extension, you can't run it from a USB key. You can run other SVN clients using just the binary - most notably the command line client.
You should install TortoiseSVN on both machines, then simply update your files by first checking out and doing an svn up on each machine when you have commited changes.
Do you have access to the SVN server from both machines?
It is not clear to me what you are trying to achieve, but you can put a repository or working folder on the key without installing TortoiseSVN to the key.
Where is your repository located? Is it accessble from both work and home?