222

You can use: yum -y install packagename The "-y" implies "yes".


218

Absolutely you should. It's not just common sense from a security POV, it should also be practice as matter of business ethics. Let's imagine the following scenario: Alice leaves, and her computer is transferred to Bob. Bob didn't know it, but Alice was into illegal shota porn and left several files tucked away outside of her profile. IT wipes her profile ...


66

To get Docker running on the AWS AMI you should follow the steps below (these are all assuming you have ssh'd on to the EC2 instance). Update the packages on your instance [ec2-user ~]$ sudo yum update -y Install Docker [ec2-user ~]$ sudo yum install docker -y Start the Docker Service [ec2-user ~]$ sudo service docker start Add the ec2-user to the ...


65

If you have CentOS 6.x, and have enabled the EPEL repository, you can use yum to install node/npm: $ sudo yum install npm After the installation is complete, check to make sure node is setup properly: $ node -v (Should return something like v0.10.36). If you want later versions of Node.js (e.g. 4.x, 5.x, etc.), you can use the Nodesource yum repository ...


43

You should definitely reset/reinstall the computers. There could be malicious programs on it that would put the business at risk. Those could be viruses or trojans or something the former employee left there intentionally (not everybody leaves on good terms). All reasons in @axl's reply are valid, too. To make your life easier, create a snapshot/image/...


27

I'm not an IT admin, but my feeling is that you should reinstall for a couple of reasons: Local admins can take ownership of the previous user's files. You're less likely to have to deal with problems arising from system changes made by the old user. The old user's personal applications would still be available in Program Files. If you don't have local ...


23

There are two components at play - Installshield's engine and the MSIExec/Windows Installer engine. In later versions of Installshield's Setup.exe bootstrapper, the /debuglog flag was introduced. To log both, try: Setup.exe /debuglog"C:\PathToLog\setupexe.log" /V"/L*v c:\PathToLog\SetupMSI.log" Make sure the user has write permissions to the paths ...


18

Initdb should only be run once. It will create the directory where you'll keep the config files and (usually) the actual database. You've obviously already done that already; otherwrise there wouldn't be any pg_hba.conf for you to edit. So, just don't run postgresql initdb again, unless you are doing a complete reinstall.


18

Yes. This can be done using native Windows commands like diskpart, bootsect and copy (xcopy). Here are the guides that cover the topic exactly: https://www.starwindsoftware.com/blog/how-to-create-bootable-windows-server-2016-usb-thumb-drive-for-installing-os http://itproguru.com/expert/2016/05/create-bootable-windows-server-2016-usb-thumb-drive-for-...


17

With Python 3.4 and later, you can use the ensurepip module to install pip on FreeBSD and elsewhere. python3.4 -m ensurepip should install pip as pip3.4.


17

The way to import a software collection into your current shell (not launch a sub-shell) is to source the "enable" file. For example for rh-php56 on a Redhat 7 machine... source /opt/rh/rh-php56/enable You can now run "php", or read manpages "man php" as normal. that will add the appropriate environment variables to the current shells environment. ...


16

From here: If you're completely wiping & reinstalling a Postgres DB, when running initdb like: service postgresql-9.2 initdb -E 'UTF8' --pgdata="/foo/bar/" you can encounter this service error: Data directory is not empty! [FAILED] To fix it (and this is the nuclear option -- all db data is wiped!) On Amazon Linux (2014-x): rm -rf /var/lib/...


16

It seems your libgcc.x86_64 has a different version than the libgcc.i686 you are trying to install (4.4.7-3 vs. 4.4.7-4). Try to update the x86_64 lib together with the installation of the i686-lib: yum install libgcc.x86_64 libgcc.i686


15

Quick Summary Need-for-speed properties to tweak: MSIFASTINSTALL (try it, maybe 3 or 7) FASTOEM (think twice, must read documentation) DISABLEROLLBACK (understand what it means, can cause custom actions in MSI package to fail to run! It depends on the MSI design - look for commit- and rollback custom actions) Security software can be suspended to speed ...


14

That should be possible. Mount ISO image, say drive letter is x: Mount USB Drive, letter y: Run elevated cmd Run diskpart wipe the drive and create an active partition: Caution, this will wipe your disk! list disk, select disk <nr. of pendrive>, clean, select partition 1, active, exit Copy bootsector -> x:, cd boot, bootsect /nt60 y: Copy everything ...


13

For CentOS yum install gcc-c++ make git cd /usr/local/src/ git clone git://github.com/joyent/node.git cd node ./configure make make install


13

You need to create a database first: kdb5_util create -s -r myrealm


13

The actual Windows OS is language-neutral since version 6.0 (Vista/WS2008); the various localized installation media simply have a pre-installed default language pack, to which you can add additional ones later. If you don't install any additional language pack, you can only use the language that has been pre-installed. Installing from an English media and ...


12

If you want yum to behave like apt-get (not to update the metadata by each run), edit /etc/yum.conf and put there: metadata_expire=never or metadata_expire=7d in case you want to update the metadata after a week. If you run yum makecache, your metadata will be updated like by apt-get update in Debian. But keep in mind that if you use "never" in the ...


12

You shouldn't be having these problems... I tried to search for nice, canned binaries of a current version of ImageMagick. I couldn't find any that didn't have odd prerequisites... So I spun up a CentOS 6.3 virtual machine and built the newest ImageMagick SRPM file. You may want to enable the RepoForge repository (formerly RPMForge) as well. The build went ...


12

You have an error in the mirror URL (and extra x at x64) it should be http://mirrors.kernel.org/centos/7/os/x86_64.


12

From command prompt: "C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user This should trigger the Update GUI. You can also do this silently by adding displaylevel=false forceappshutdown=true: "C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user displaylevel=false ...


11

It's super easy to download the source and compile it yourself, I even found RPMForge method kind of cumbersome. Download Git 2.11 source and make configure ./configure --prefix=/usr make all sudo make install install-doc install-html I needed to install a couple of dependencies before make fully succeeds. sudo yum install libcurl-devel ...


11

Yum will follow the directions given in the RPM that it is installing. If you want to find out where something got installed, use, for example, 'rpm -ql apr' to see where those files got installed.


11

Summary The directory %SystemRoot%\Installer and its contents must never be meddled with. An unserviceable system almost always results. Same goes for WinSxS, Driver Store & GAC. Using administrative installations (please skim linked answer) is a general purpose measure to reduce the size of the %SystemRoot%\Installer folder for future deployments. ...


11

You should use your distribution's packages unless you have a good reason not to. Using the distro's packages gives you important benefits: It's less work to install and uninstall the packages, and keep them up to date. The packaging system will automatically install the software's dependencies, and keep them up to date too. Security updates are provided ...


11

This is because you created /mnt/home before mounting something to /mnt. When you did that, the "home" directory is hidden by the newly mounted /mnt filesystem. You need to: (after unmounting everything above) mount /dev/sda2 /mnt mkdir /mnt/home mount /dev/sda3 /mnt/home


10

I use JuJu which basically allows to have a really tiny linux distribution (containing just the package manager) inside your $HOME/.juju directory. It allows to have your custom system inside the home directory accessible via proot and, therefore, you can install any packages without root privileges. It will run properly to all the major linux distributions,...


10

As noted above, "tchol.org" is gone, leaving CentOS folks looking at either abandoning use of a package manager, or switching to another OS. I made a pact with myself against every doing the former (again) on all but experimental / dev boxes. Fortunately, there are rpms still available at: http://patches.fedorapeople.org/oldnode/stable/el6/x86_64/ Just ...


10

Here's what worked for me: Enabled RPMForge yum install yum-plugin-priorities # install the yum priorities plugin via Enabled the RPM Forge Extras repo by editing /etc/yum.repos.d/rpmforge.repo and changed enabled to 1 in the rpmforge-extras section. I also bumped up the priority of both rpmforge repos to 1 by adding priority = 1 to both sections. yum ...


Only top voted, non community-wiki answers of a minimum length are eligible