How to install jre on gentoo? [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am trying to install jre on gentoo
I use:
emerge virtual/jre
My problem is that this does not work
Resolving ftp.gentoo.mesh-solutions.com... 213.203.218.123
Connecting to ftp.gentoo.mesh-solutions.com|213.203.218.123|:21... failed: Connection timed out.
Retrying.
--14:37:13-- ftp://ftp.gentoo.mesh-solutions.com/gentoo/distfiles/portage-utils-0.1.29.tar.bz2
(try: 2) => `/usr/portage/distfiles/portage-utils-0.1.29.tar.bz2'
Connecting to ftp.gentoo.mesh-solutions.com|213.203.218.123|:21...
Infact the server tries to get some packets from ftp.gentoo.mesh-solutions, but this site seems to be down.
Any other alternative for gentoo ?

Go ahead and download the package manually and put in /usr/portage/distfiles. Then re-emerge, portage will skill the download step and the install should continue as normal.
That said, usually portage will not be dependent on a single mirror site - it will check several mirrors. To ensure there isn't an issue on your side, run emerge --sync again and look through /etc/make.conf to see if you have the proper settings for retries/number of mirrors/etc.
It's not that unusual for java packages to have requirements to manually download the distfiles due to license issues, but this would normally be stated via emerge -pv and emerge would print a message and exit when run.

Related

network security in apt-get, rpm [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Basically my question is relation to every package manager. I'm interested to know that in package manager like apt-get,rpm etc., is there any network security while downloading any file, if yes what kind of it is and is it really required in os like linux
There are security measures, yes, obviously.
All packages in a repository are signed on the server side by a key in an asymmetric manner. That signature is checked by the client (your system) when downloading / installing packages. Only if it can be verified the package is accepted, otherwise an error is thrown. You certainly have seen that already a few times, for example when a repository got updated right whilst you download. Happens. But it is secure in that aspect.
You can very easily verify that yourself: setup your own repository (there are tutorials for that), import the key. Then replace a package stored there by some other file on file system level. Now try to install that file. You will see that it gets rejected because it cannot be verified.
The question whether that really is required is pretty strange. Why would one not want to secure that process? That would leave you vulnerable like the process of installing software on MS-Windows based systems!

Full Apache config migration [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I searched alot and didn't find an applicable answer.
I have a working LAMP setup on Ubuntu machine and I have to migrate to a new server in a different country.
The old server is 11.10, the new server is 12.04LTS.
My problem is that I simply can not remember the steps I followed when I configured the current server which is not the basic LAMP install.
It is Apache with FastCGI, SuEXEC, a GD library, worker MPM and all sitting on top of a mhddfs system. There are also other configs I've changed and I can not recall what they are.
Because of the complexity of the setup, my attempts to migrate to the new server fail. I get permissions errors, cgi problems etc.
Therefore my question is :
Is there a sane way to simply tar a full backup of the current web server installation, including MySQL, Php amd the apache server with all configs, and then move it to the new machine?
I shall be forever thankful on any advise. So far non of thise I found here gave me an answer.
Thanks!

Can we Install a plugin or software from browser? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
We are developing a website which is required some software to install for first time like flash player for youtube...
but the question is without asking the user can we install it?
i found this some where but link ., but i dont want to ask the permission from user/OS. By calling the website only software should install if it is not installed on the perticular machine....
Is it possible?
This is not a good question, i know but we want to develop an inhouse website, the website will not go to live for remote users. if any security settings we need to change in our systems we are ready to do.......
No. It's not possible. Browsers are meant to run in sandboxes to prevent remote execution of arbitrary code. So you will need to ask the user for permissions.
If you are on java world you can use JavaWebStart. Otherwise, you could run a FLASH SCRIPT to provide the extra functionality you need for your WebSite. But since you didn't provide extra information on your issue, it's difficult to give you proper recommendations.
Do you mean installing it as in launching the install without the user having to click a "INSTALL" button or do you mean install the software without the user noticing you've done anything at all.
The second is not possible for security reasons.

Error when trying to install Ubuntu [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I been trying to install Ubuntu for my new laptop for ages now. Always getting the same error the very last second of the install.
Here is a screenshot and a the log of the install.
LOG : http://pastebin.com/sHr1x7C7
Screenshot: http://i40.tinypic.com/160vi88.jpg
Used the windows installer. Tried to reboot multiple times. But the OS is not showing up on the list on boot.
First, the distrib is ubuntu, not ubunto.\
Secondly, I recommand you to use a live CD or a USB stick if you want to try the system, and if it works well and/or you like it, install the system using that same medium.
There are plenty of howto on the internet, so I won't explain here, but the principle is to reduce windows partition (or allocating a full hard drive for linux) and manage the partition scheme throw the installer.
Hope this helps, at least a little :-)
First, it's ubuntu, not ubunto. From my google searches your problem is a pretty common one with no apparent solution. Burn the ISO to CD and install that way, it is the most reliable method. If you cannot do that, try the USB or netboot options, but the CD is the best way.

Installing Git on a Linux VM (RHEL) [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
We need to set up a Git server in our team.
I have decided to first go with a VM, and expand in the future if needed.
I've gathered Linux would be the easiest setup.
Problem is, i have very limited experience with Linux, some questions that i'm trying to answer are:
What is the actual procedure for installing the Git package? is it a simple matter of RPM installation ?
Following the installation, i'd need to map the Git repo to some net share. how is this done? i believe that i need to configure xinetd.d, looking for exact steps.
How is authentication is set up for various users to access this machine?
Which version of Linux makes any difference? we have the RHEL 5 64 bit here.
Anything else i'm currently missing?
Haven't used RHEL 5 but yes, any modern distro should have git available in a package. I'm guessing that "yum install git" would do it.
Depends on the type of net share. Google it.
See http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way
Shouldn't.

Resources