pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Does anybody use pkgsrc on Centos/RHEL/Fedora on a daily basis?
On 11/28/17 07:08, Ottavio Caruso wrote:
I have just completed a fresh installtion of a minimal Centos 7
system. Rather than completing the installation with native packages,
I'd like to experiment and try to make a usable desktop system using
pkgsrc.
I'm not sure whether to start with the plain vanilla pkgsrc or the
forked pkgsrc-joyent from joyent (Maybe Jonathan Perkin can jump in
explain the difference, as I've been away from pkgsrc for some time).
If anybody is running it from inside Centos/RHEL or Fedora, please
share your tips.
Thank you
We use it extensively for research computing on CentOS 6 & 7.
We use the Joyent packages for a few system tools and basic userland
tools like editors, git, svn, etc. I add scripts to /etc/profile.d to
put /usr/pkg/*bin in everyone's PATH.
I generate separate packages from quarterly snapshots for scientific
software.
Detailed into here:
http://uwm.edu/hpc/software-management/
Most of our systems are headless servers, but I provide VM guests with
Gnome installed via Yum, and most userland tools via pkgsrc. I have not
tried running a desktop environment installed by pkgsrc, but it should
be feasible with some tweaking of the init/systemd scripts.
My half-baked script for installing Gnome below. See the link above for
pkgsrc setup wizards.
#!/bin/sh -e
ask_reboot()
{
printf "Reboot? [y]/n "
read reboot
if [ 0$reboot != 0n ]; then
shutdown -r now
fi
}
printf "Update network? y/[n] "
read resp
if [ 0$resp = 0y ]; then
vi /etc/sysconfig/network-scripts/ifcfg-eth0
service network restart
yum update -y
ask_reboot
fi
yum install -y man subversion rsync
printf "Install desktop? y/[n] "
read resp
if [ 0$resp = 0y ]; then
# CentOS 6
# yum groupinstall -y Desktop basic-desktop" "X Window System" Fonts
# yum groupinstall -y Desktop "Desktop Platform" "X Window System"
Fonts
# sed -i'' -e 's|id:3:initdefault|id:5:initdefault|g' /etc/inittab
# CentOS 7
# https://www.centos.org/forums/viewtopic.php?t=47088
yum groupinstall "X Window System"
yum install gnome-classic-session gnome-terminal
nautilus-open-terminal \
control-center liberation-mono-fonts
unlink /etc/systemd/system/default.target
ln -sf /lib/systemd/system/graphical.target \
/etc/systemd/system/default.target
ask_reboot
fi
if [ ! -e /usr/pkgsrc-1 ]; then
curl -O http://acadix.biz/auto-pkgsrc-setup
sh ./auto-pkgsrc-setup
fi
--
Earth is a beta site.
Home |
Main Index |
Thread Index |
Old Index