PDA

View Full Version : Plesk Web interface for Yum (Atomic-Yum)


atomicturtle
25th January 2008, 06:52 PM
This is to announce the first 0.1 release of the atomic-yum web interface.

Atomic-Yum is a web front end for the yum package manager used on CentOS, Fedora and Red Hat Enterprise Linux. The interface can install, remove, and update packages on the system, as well as view information on packages in the archive. It is currently available for CentOS5, RHEL5, Fedora 6 and 7. Versions for older installs are forthcoming.

Update: yum on RHEL4, CentOS4, Fedora Core 4 and 5 is now supported

Screenshots are here:
http://www.atomicrocketturtle.com/gallery2/main.php?g2_view=core.ShowItem&g2_itemId=1428

Atomic-yum can be installed from the [atomic] channel with:

yum install atomic-yum

It will automatically add itself to the Plesk interface, and is a GPLv2 licensed project. Volunteers needed!

Updated: Latest release is 0.4

BlueOryx
25th January 2008, 07:03 PM
do you think it will run on Redhat 4 ES???

thanks

atomicturtle
25th January 2008, 07:23 PM
It will soon yes, I just need to wrap up a dependency for CentOS4/RHEL4 and it will be ready to go.

lvalics
26th January 2008, 12:06 PM
GREAT ... consider me as a tester and volunteer.

As first problem

---> Package atomic-yum.noarch 0:0.1-3.f7.art set to be updated
--> Processing Dependency: yum-repolist for package: atomic-yum
--> Finished Dependency Resolution
Error: Missing Dependency: yum-repolist is needed by package atomic-yum

Philippe
27th January 2008, 08:43 AM
Hi,

On Fedora core 6 and Plesk 8.3, exactly the same message.

yum install atomic-yum
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package atomic-yum.noarch 0:0.1-3.fc6.art set to be updated
--> Running transaction check
--> Processing Dependency: yum-repolist for package: atomic-yum
--> Finished Dependency Resolution
Error: Missing Dependency: yum-repolist is needed by package atomic-yum

atomicturtle
27th January 2008, 09:47 AM
Yeah I know what that is, Ive personally only run this in CentOS4 and 5. I think on Fedora 6/7 that isn't a plugin, its a native feature. I'll get the rpm updated shortly for the fedora folks.

update: 0.1-4 is available now

Philippe
27th January 2008, 11:16 AM
Only one error about sudo package.

So i get it!

Now it's ok, very useful.

Many thanks

atomicturtle
28th January 2008, 10:23 AM
Thanks for the heads up! I'll add sudo in as a dependency too.

Xvirt
28th January 2008, 12:26 PM
Hi, can you help me to fix the sudo package problem?

Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package atomic-yum.noarch 0:0.1-4.el4.art set to be updated
--> Running transaction check
--> Processing Dependency: yum-repolist for package: atomic-yum
--> Finished Dependency Resolution
Error: Missing Dependency: yum-repolist is needed by package atomic-yum

Thank you.

atomicturtle
28th January 2008, 03:41 PM
Clean your cache (yum clean all) and try again, version 0.2 is out with CentOS4 support.

Farsus
2nd February 2008, 12:37 PM
NIce :-)

Only one question in the gallery you have a picture call " Initial mockup"
is this what you will end up with when finish ??
Because my installation of your yum-web-gui-mockup on Centos 5.(1) & Plesk 8.3 dont look like that .

Grettings

Farsus

atomicturtle
3rd February 2008, 10:03 AM
Thats actually a real gnome app, called yumex. I just hacked up a screenshot into what it would look like in a web interface. I have no idea if you could really do that in HTML or not.

Farsus
3rd February 2008, 10:19 AM
Thank you for the info

maybe some day it look some thing like that.

Ones again thanks for this nice lil' tools

atomicturtle
5th February 2008, 04:21 PM
Version 0.4 is out, this updates the template and improves the formatting to be more in line with the existing PSA XP template. We could use the help if anyone wants to take a crack at merging this in with the existing PSA templating system.

PixyPumpkin
8th February 2008, 07:17 AM
Works great Scott, Thx! :) only one litle thing after the YUM update I get an browser error page?

atomicturtle
8th February 2008, 05:45 PM
We need to get some better process controls behind the scenes. Sometimes if a yum update takes a long time its going to time out in PHP. Thats where the backend needs to be worked on, so we can manage those threads cleanly. Plus locking... and template support... support for multiple servers... the list goes on. :P

atomicturtle
13th February 2008, 04:02 PM
Enterprise support is almost complete in the Yum interface. This will allow you to manage the software installs/updates for multiple Plesk or even non-plesk servers. The way it is put together right now there are no limits on the total number of servers it can support (think rows in a database). This will allow you to browse the packages installed on other systems, and see what is available to install or update.

We might be able to use this to perform backups and restores too. Its a pretty flexible system.

PixyPumpkin
21st February 2008, 09:40 AM
Good work Scott!, please let us know when it is finisched :)

kazodev
4th March 2008, 08:08 AM
This is to announce the first 0.1 release of the atomic-yum web interface.

Update: yum on RHEL4, CentOS4, Fedora Core 4 and 5 is now supported

Updated: Latest release is 0.4

Are you planning for el5 too?
Error: Missing Dependency: yum-repolist is needed by package atomic-yum

atomicturtle
4th March 2008, 01:41 PM
Kinda, I dont have any RHEL5 systems. From what Ive seen the yum implementation on rhel5 isnt quite up to what is available in centos 5.

spaceout
19th March 2008, 01:31 PM
I'm getting the same error on EL5

Error: Missing Dependency: yum-repolist is needed by package atomic-yum

atomicturtle
19th March 2008, 05:07 PM
Yeah looks like the RHEL folks will need to use that from CentOS. I believe its in the yum-utils package.

GARMTECH
14th April 2008, 07:05 PM
There's somekind of bug with repos list? (CentOS 5 64bit)

Repo ID Name Status
addons CentOS-5 - Addons enabled
addons CentOS-5 - Addons enabled
atomic CentOS / Red Hat Enterprise Linux 5 enabled
atomic CentOS / Red Hat Enterprise Linux 5 enabled
base CentOS-5 - Base enabled
base CentOS-5 - Base enabled
extras CentOS-5 - Extras enabled
extras CentOS-5 - Extras enabled
rpmforge Red Hat Enterprise 5 - RPMforge.net enabled
rpmforge Red Hat Enterprise 5 - RPMforge.net enabled
updates CentOS-5 - Updates enabled
updates CentOS-5 - Updates enabled

atomicturtle
15th April 2008, 08:30 AM
Good question, I hope not. Have you checked with the centos folks?

GARMTECH
16th April 2008, 02:56 AM
I mean every repo displayed two times on page.

dragnovich
14th May 2008, 11:22 PM
I cant install it ( I try to: yum clean all Too):

# yum install atomic-yum
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Loading "security" plugin
Setting up Install Process
Setting up repositories
rhel-i386-server-vt-5 100% |=========================| 1.2 kB 00:00
plesk 100% |=========================| 951 B 00:00
rhel-i386-server-5 100% |=========================| 1.2 kB 00:00
atomic 100% |=========================| 951 B 00:00
rhel-i386-server-suppleme 100% |=========================| 1.2 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 41 kB 00:00
################################################## 149/149
primary.xml.gz 100% |=========================| 81 kB 00:00
################################################## 235/235
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for atomic-yum to pack into transaction set.
atomic-yum-0.4-2.el5.art. 100% |=========================| 71 kB 00:00
---> Package atomic-yum.noarch 0:0.4-2.el5.art set to be updated
--> Running transaction check
--> Processing Dependency: yum-repolist for package: atomic-yum
--> Finished Dependency Resolution
Error: Missing Dependency: yum-repolist is needed by package atomic-yum

atomicturtle
15th May 2008, 07:52 AM
Yeah that package is available from CentOS 5. Looks like RHEL5 is still the red-headed stepchild of the yum world. :P

brainlag
21st May 2008, 05:51 AM
Hello scott, i am looking on your work for many years now ! You always have great projects !

I installed the atomic-yum but i get the following error on Plesk UI:

Error in exec command!
/usr/bin/sudo /usr/bin/yum list updates

[I installed the atomic-yum on VPS running CentOS release 4.6 (Final) with PHP 5.2.5 ]

Please let me know what am i missing !

Best Regards,
Alexandros aka Brainlag.

atomicturtle
21st May 2008, 10:21 AM
Does sudo exist on your system? And does "/usr/bin/yum list updates" work?

Thanks!

brainlag
21st May 2008, 02:31 PM
Thank you for your reply !

[root@xxxxxx ~]# /usr/bin/yum list updates
Loading "repoheader" plugin

repo id repo name status
======= ========= ======
addons CentOS-4 - Addons enabled
atomic CentOS / Red Hat Enterprise Linux 4 enabled
base CentOS-4 - Base enabled
extras CentOS-4 - Extras enabled
update CentOS-4 - Updates enabled

Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
atomic 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
[root@xxxxxx ~]# whereis sudo
sudo: /usr/bin/sudo /usr/share/man/man8/sudo.8.gz
[root@xxxxxx ~]#

should i only use the atomic channel ?

thank you again for your kind reply !

Best Regards,
Alexandros

atomicturtle
21st May 2008, 09:58 PM
You should be using them all, does /usr/bin/sudo exist?

brainlag
22nd May 2008, 02:59 AM
Thank you for your kind reply. The /usr/bin/sudo exist on my VPS:

[root@xxxxx ~]# ls -alh /usr/bin/sudo
-rwxrwxrwx 1 root root 92K Feb 22 16:17 /usr/bin/sudo

Thank you again for your help.

Best Regards,
Alexandros

atomicturtle
22nd May 2008, 02:13 PM
Ah, the permissions are wrong on it. Someone make it word writable and took the setuid bit off of it. Thats why its not working. It should look like:

---s--x--x 2 root root 166200 2007-04-12 04:34 /usr/bin/sudo

brainlag
22nd May 2008, 03:57 PM
hello it worked like charm !!!

thank you for your valuable help and software and i am sorry if i spamed the topic.

Best Regards,
Alexandros.

jasondon
28th May 2008, 12:34 AM
HOw to use the POST REPLY button?

axxs
9th November 2008, 05:38 PM
what does clicking under the installed tab, one of the select boxes, and submit do?

I now have an innaccessible server :\

axxs
10th November 2008, 01:41 AM
be very careful with this application.

I corrupted a whole server, unrecoverable, by clicking submit on the 'Installed' tab.

I updated with YUM fine to start, everything went well, except ssh would not come up, even after a reboot.

I went into the web interface, clicked on the installed tab, selected openssh to view details, and clicked submit. Next thing I know the whole server packed up and died.

Examining it as much as we could, even cp and mkdir no longer worked, so something drastic was done from this page by the selection .. it's not clear what the actions do. I assumed I could view details of the chosen application, apparently not! :\

maybe a little on-screen documentation?

atomicturtle
10th November 2008, 03:47 PM
Sure, the source is right here:

http://3es.atomicrocketturtle.com/packages/atomic-yum/

axxs
10th November 2008, 04:50 PM
ok thanks ART, obviously a suggestion of on screen docs on the pages is a little too much .. I've tried to work it out to post here for others, but not so good with PHP/smarty, I can't quite see what the interface.tpl is sending on POST as the query action="/yum/global/post.php?action={$query}" or where it is getting it from .. yum_class.inc has some comments, but not really documentation, so pretty clued out as to what function was called on the 'Installed' page without re-installing the application again and checking the source of the resulting page to help me ...

However doesn't matter, the server is now debian, a good excuse to finally move it from those pesky rpm formats :)

atomicturtle
11th November 2008, 01:07 PM
I didn't do the GUI parts of myself, so I couldn't help there exactly. I know the whole smarty part is supposed to separate the PHP logic from the interface chunks. So I would assume that you'd do whatever kung foo you normally do for mouse-overs or whatever (seriously, Im totally out of my element with interface stuff) to the .tpl files rather than the .php files.