Change php path
I’ve a server running Centos 5. Yesterday I upgraded php to 5.4.10 throught remi repository. Operation was successful ( I’ve checked updated information in phpinfo()) Today I figured out that php launched from shell, displays a different version (5.2.16). This version is the previous one. If I do which php output is: /usr/local/bin/php while the new php 5.4 binary is /usr/bin/php From what I understood, php was manually compiled in the system and there are [...]
Continue Reading »stop Centos 6.3 loading ‘Text Mode Setup Utility’ at restart
I’ve just puppetted a virtual machine and from scratch (based on Centos 6.3 minimal). That install process does a variety of things, but one annoying side effect is that when the VM reboots, it automatically opens a tool called: Text Mode Setup Utility 1.19.9 (c) 1999-200 Red Hat, Inc. Is says “Choose a Tool” with options for “Authentication configuration”, “Firewall configuration”, “Keyboard configuration”, “Network configuration”. I don’t think it serves a purpose as the VM [...]
Continue Reading »NginX installation-source best practice
I’d like to install NginX as a reverse proxy on CentOS. I know three different ways to install NginX: Compile itself Install over EPEL Install over official NginX package repository Which way would you recommend for production use? Are there any cons for installing NginX over the official source? Asked by thde Installing from your distro’s package manager is usually more convenient, but you’re at their whim as to what version that you are going [...]
Continue Reading »Ubuntu: apt-get -f install lighttpd does not install
I’m trying to install lighttpd. When running sudo apt-get -f install , I’m getting this error : ~/dev/downlaod$ sudo apt-get -f install lighttpd Reading package lists… Done Building dependency tree Reading state information… Done You might want to run `apt-get -f install’ to correct these: The following packages have unmet dependencies: codeblocks-contrib: Depends: libwxsmithlib0 (= 10.05-1) but 10.05svn8059-0ubuntu1~lucid is to be installed Depends: codeblocks-contrib-common (= 10.05-1) but 10.05svn8059-0ubuntu1~lucid is to be installed Depends: codeblocks (= [...]
Continue Reading »Linux (or Anaconda) installation, RAID 5
I having trouble with installation of Fedora and/or Centos. On first steps of installation, on step What type of devices will your installation involve, whatever I choose, same thing happen: I get window with message An unhandled exception has occurred. This is most likely a bug. Please save a copy of the detailed exception and file a bug report. In Details window there are lots of messages. At the end there are: ERR kernel:[ 81.854179] [...]
Continue Reading »dpkg can install from a file, apt-get can resolve dependencies, can anything do both?
I’m looking for a command line tool that can install a package from a file and automatically resolve dependencies via download. Does such a thing exist? Asked by Stu You are probably looking for the tool gdebi gdebi lets you install local deb packages resolving and installing its dependencies. apt does the same, but only for remote (http, ftp) located packages. Answered by Zoredache Check more discussion of this question. Bookmark on Delicious Digg this [...]
Continue Reading »Installing git with no idea about machine configuration
I have a user account on a Linux server (x86_64-unknown-linux-gnu, according to this). It apparently has no package managers in the $PATH (yum, apt-get, pkg, pkg-add, emerge, pacman), and it does not have cc. (edit by the way, this is a shared hosting server. so the tech support people were just following scripts when I tried to ask them for advice. they also wanted to upsell me to their VPS package, which I don’t need [...]
Continue Reading »Linux installation analysis
“Ending company IT Admin relationship” has a good checklist for taking over an existing IT system, but I’m wondering as it relates to Linux: What is the most effective way to assess the scope of existing custom configurations, installs, scripts, etc done? Is there any software that will check if the kernel, system files, etc mirror the default files for the version installed? At this point I don’t know what distro of Linux the server [...]
Continue Reading »Are Previous Microsoft SQL Installations Needed After SQL 2012 Upgrade?
Are the older installations of Microsoft SQL Server needed after you installed Server 2012? I’ve been doing some cleaning and noticed I’ve a whole list of SQL Server installation. When I installed Server 2012, I clicked the upgrading option but previous versions are still present. I’m guessing they are needed but I want to be sure. Asked by reaper_unique This is a hard question. Many of us keep the older instance running for some reason [...]
Continue Reading »Trouble with installing npm and supervisor package on Amazon Linux AMI
I’m running an Amazon Linux AMI and successfully installed node.js by wget‘ing the source, untarring the file, and running ./configure and then sudo make install. When I installed npm: curl http://npmjs.org/install.sh | sudo sh It outputs: npm cannot be installed without nodejs. Install node first, and then try again.Maybe node is installed, but not in the PATH? Note that running as sudo can change envs.PATH=/sbin:/bin:/usr/sbin:/usr/bin But node is clearly installed (running node -v shows its [...]
Continue Reading »


