LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

No Root For Coders

Posted 03-20-2015 at 05:22 AM by dijetlo (digital dijetlo)
Updated 03-20-2015 at 05:53 AM by dijetlo

I was approached by a Java developer who wanted to put a set of python scripts on one of the instances I'm responsible for. I asked for the script (it's just python) and he decided that he'd just pressure a Jr. Admin into it instead. So the moron (my Junior Admin) did as he was told because he didn't want to fight with Management and the Dev team so he loaded the scripts and put pointers into /etc/rc3 blind (he has no python skills), and he did it all with no reboot because the Jprogger told him...
Senior Member
Posted in Uncategorized
Views 163 Comments 0 dijetlo is offline
Old

Howto install selected Debian packages from other releases (apt-pinning)

Posted 11-11-2011 at 07:44 AM by bittner (Notes on Linux)

Mixing releases can be necessary when you need a more up-to-date version of a software in a system running on package management and not (yet) providing later package versions.

For example, we need the latest git on your Debian Lenny system, because you updated your Eclipse plugins, and now the git integration refuses to work with your old client. Shoot! Let's check what to do to fix this...

Things to do
  1. Edit /etc/apt/sources.list (or create/edit a file in /etc/apt/sources.list.d/
...
LQ Newbie
Posted in Uncategorized
Views 1499 Comments 0 bittner is offline
Old

How to replace letters with carriage returns on VIM

Posted 10-27-2010 at 12:35 PM by xri
Updated 10-27-2010 at 12:38 PM by xri (To add categories)

Problem:
A text file coms with a list comes with the items separated by commas, like:
Quote:
a,b,c....
We need them in column form, like:
Quote:
a
b
c
Solution:
:%s/,/{[Ctrl+v], then [Enter]}/g

Notes:
  1. The % before s, indicates that the range where the replacement is to take place is the whole document.
  2. Ctrl and v are pressed simultaneously, and then the character we mean vim to use (in this case Return).
  3. The g at the end of the
...
xri
Member
Posted in Software
Views 1068 Comments 0 xri is offline
Old

Howto automate interactive Debian package installations (debconf preseeding)

Posted 06-08-2010 at 07:44 AM by bittner (Notes on Linux)
Updated 06-08-2010 at 06:59 PM by bittner

Fully automatic installations make sense when you need to install a vast number of machines. For Debian (but not limited to it) there is the FAI project that helps you with those kind of undertakings.

When FAI uses Debian packages (i.e. .deb files) for installation the automatic installation process gets into trouble when such a package asks for manual configuration interactively. Really, this is not specific to FAI: The Debian installer (the installation wizard guiding you through...
LQ Newbie
Posted in Uncategorized
Views 6051 Comments 0 bittner is offline
Old

Howto build your own Debian repository

Posted 06-01-2010 at 05:04 AM by bittner (Notes on Linux)
Updated 06-07-2010 at 07:08 AM by bittner (added reference (background reading))

If you write software for Linux and you write them for Debian systems (Debian, Ubuntu, and others) you may want to provide your software as .deb installation packages. And one day eventually you will want to set up a repository so others can download and install your software without fuzz.

If you look at a Debian mirror (e.g. http://ftp.debian.org/debian/) you will find out one day that packages and meta information is split up into two main directories on the root level:
  • dists
...
LQ Newbie
Posted in Uncategorized
Views 13041 Comments 1 bittner is offline

  



All times are GMT -5. The time now is 05:24 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration