Obsolete Releases > SME 8.x Contribs
Installing Contribs in sme without internet access
janet:
mealogav
You have to save the files to a folder on your sme server.
As suggested an ibay is a good idea because you can access that from a workstation and copy the rpm files to there (including the main package you want as well as all dependency rpms).
Then you need to login to the sme server console (the command prompt), either at the server or using Putty remote ssh access program from a workstation.
Create the ibay and copy the required files there into the files subfolder
You then login, change to that folder and run the install commands
ie
Login as root or a suitably privileged user then do
cd /home/e-smith/files/ibays/mycontribs/files
to see a list of files there do
ls -al
then do the install
yum localinstall smeserver-phpmyadmin
usually you need to do
signal-event post-upgrade;signal-event reboot
but follow any instructions at the end of the yum install
mmccarn:
You may want to do this:
- Setup a virtual copy of your SME server on a laptop or another computer (with internet access)
- Setup a yum local repository
- Use the virtual SME to identify and download updates and packages you need
- Copy the packages from the virtual SME to the physical SME and install them.
Or, if your network admins provide a proxy, you can configure yum to use it:
http://wiki.contribs.org/SME_Server:Documentation:FAQ:Section01#Yum_.28system_updates.29
Or, if your network admins allow you to create ssh connections from your SME server to system that does have internet access, you may be able to use tsocks to do updates (specific documentation lacking):
http://wiki.contribs.org/SME_Server:Documentation:FAQ:Section01#ssh.2C_ftp.2C_telnet
mealogav:
Hi Folks,
That's great. Mary that was exactly what I was looking for - the simple step by step guide.
The http proxy is interesting - it's possible that I might be able to make that work - but the external proxy is also a http filter - and it does block a lot (the server is in a school).
Thanks everyone for your help. Gavin
mealogav:
Hi again. At last I've got round to upgrading my home sme server to sme8 (quite a trial in itself findng out the correct bios settings needed to get 2 SATA drives to software raid correctly!!). Now I'm trying out the local install of phpMyAdmin and mcrypt that I was asking about back in March.
(Sorry Janet for calling you Mary - I've no idea why I thought you were called Mary!)
I've run into another problem - help would be appreciated ....
I've downloaded all the packages that I think I need and copied them to an iBay on the sme server.
smeserver-phpmyadmin-3.5.2.2-6.el5.sme.noarch.rpm
phpMyAdmin3-3.5.8.1-1.el5.noarch.rpm
php53-php-gettext-1.0.11-3.el5.noarch.rpm
php53-mcrypt-5.3.3-1.el5.i386.rpm
libmcrypt-2.5.8-4.el5.centos.i386.rpm
BUT when I do the "yum localinstall" I get dependancy errors ("depsolving problems"). It seems to me that
phpMyAdmin3-3.5.2.2 is being requested / expected, BUT the only version I can download from the Contribs site is
phpMyAdmin3-3.5.8.1-1.el5.noarch.rpm (which I assume is the latest version?)
Any suggestions as to how I get round this problem? - please ...
Here is the output that I get ....
[root@databox2 files]# yum localinstall smeserver-phpmyadmin-3.5.2.2-6.el5.sme.noarch.rpm
Loaded plugins: fastestmirror, protect-packages, smeserver
Setting up Local Package Process
Examining smeserver-phpmyadmin-3.5.2.2-6.el5.sme.noarch.rpm: smeserver-phpmyadmin-3.5.2.2-6.el5.sme.noarch
Marking smeserver-phpmyadmin-3.5.2.2-6.el5.sme.noarch.rpm to be installed
Loading mirror speeds from cached hostfile
* base: anorien.csc.warwick.ac.uk
* smeaddons: mirror.canada.pialasse.com
* smeextras: mirror.canada.pialasse.com
* smeos: mirror.canada.pialasse.com
* smeupdates: mirror.canada.pialasse.com
* updates: anorien.csc.warwick.ac.uk
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Resolving Dependencies
--> Running transaction check
---> Package smeserver-phpmyadmin.noarch 0:3.5.2.2-6.el5.sme set to be updated
--> Processing Dependency: phpMyAdmin3 >= 3.5.2.2 for package: smeserver-phpmyadmin
--> Finished Dependency Resolution
smeserver-phpmyadmin-3.5.2.2-6.el5.sme.noarch from /smeserver-phpmyadmin-3.5.2.2-6.el5.sme.noarch has depsolving problems
--> Missing Dependency: phpMyAdmin3 >= 3.5.2.2 is needed by package smeserver-phpmyadmin-3.5.2.2-6.el5.sme.noarch (/smeserver-phpmyadmin-3.5.2.2-6.el5.sme.noarch)
Error: Missing Dependency: phpMyAdmin3 >= 3.5.2.2 is needed by package smeserver-phpmyadmin-3.5.2.2-6.el5.sme.noarch (/smeserver-phpmyadmin-3.5.2.2-6.el5.sme.noarch)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
I get a similar thing when trying to install mcrypt ....
The command ...
yum localinstall php53-mcrypt-5.3.3-1.el5.i386.rpm
gives the error ...
php53-mcrypt-5.3.3-1.el5.i386 from /php53-mcrypt-5.3.3-1.el5.i386 has depsolving problems
--> Missing Dependency: libmcrypt.so.4 is needed by package php53-mcrypt-5.3.3-1.el5.i386 (/php53-mcrypt-5.3.3-1.el5.i386)
Error: Missing Dependency: libmcrypt.so.4 is needed by package php53-mcrypt-5.3.3-1.el5.i386 (/php53-mcrypt-5.3.3-1.el5.i386)
The libmcrypt files that's available is "libmcrypt-2.5.8-4.el5.centos.i386.rpm"
Thanks for any help ... maybe local installation is just too difficult for anyone other than an sme expert - this experience is just frustrating for an amateur!
Gavin
TerryF:
Dpendency check on smeserver-phpmyadmin
[root@sme8vmcontribs32 ~]# rpm -qp --requires smeserver-phpmyadmin-3.5.2.2-6.el5.sme.noarch.rpm
e-smith-base
phpMyAdmin3 >= 3.5.2.2
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(VersionedDependencies) <= 3.0.3-1
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version