LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs > Spock's Brain
User Name
Password

Notices


Uncategorized Entries with no category
Old

So, I bought an iMac

Posted 09-29-2017 at 01:13 PM by Habitual (Spock's Brain)
Updated 10-03-2017 at 02:13 PM by Habitual

27" iMac.
So, I will be even less inclined to participate here at LQ.

Couple of annoyances on this new host, but NBD for a Professional.

Why? You may axe.
One reason, Siri is fully integrated into the desktop. I can speak and it responds.
23 years in IT and I am tired of typing.

Peace Out!
LQ 5k Club
Posted in Uncategorized
Views 375 Comments 2 Habitual is offline
Old

Extract package .deb to $temp/

Posted 08-23-2017 at 11:03 AM by Habitual (Spock's Brain)
Updated 08-23-2017 at 11:35 AM by Habitual

Target for this example is apache2, or "what were the defaults?"

Code:
mkdir -pv /path/to/temp/
dpkg-deb -x /var/cache/apt/archives/apache2_2.4.18-2ubuntu3.4_amd64.deb /path/to/temp/
Below /path/to/temp/ is
Code:
/path/to/temp/etc/
/path/to/temp/lib/
/path/to/temp/usr/
/path/to/temp/var/
remove all but etc, so
Code:
rm -fr /path/to/temp/{lib,usr,var}
and there they are!

Code:
/path/to/temp/etc/apache2/sites-available/000-default.conf
...
LQ 5k Club
Posted in Uncategorized
Views 157 Comments 0 Habitual is offline
Old

Eclipse2017

Posted 08-21-2017 at 06:33 PM by Habitual (Spock's Brain)

Missed it.
Turdpress migration.

I may run out of sun, but never work.
LQ 5k Club
Posted in Uncategorized
Views 410 Comments 1 Habitual is offline
Old

The Loss of a Pet

Posted 03-18-2017 at 08:02 AM by Habitual (Spock's Brain)
Updated 03-19-2017 at 06:53 AM by Habitual

Dear Friends:

I woke up this morning to one of my "sugar gliders" laying on the bottom of the cage.
I could not tell, but I think it was the female, "Sweetie". She seemed to have been
struggling as of late moving about the cage.

If you don't know what a Sugar Glider is, I encourage you to go to images.google.com
and search for
Code:
sugar gliders
or see the attachment.

I can't be a complete asshole, my...
Attached Images
File Type: jpg Sweetie.jpg (43.9 KB, 16 views)
LQ 5k Club
Posted in Uncategorized
Views 1428 Comments 3 Habitual is offline
Old

Scripting a Wordpress rollout - Method II

Posted 11-30-2015 at 01:50 PM by Habitual (Spock's Brain)
Updated 11-30-2015 at 04:21 PM by Habitual

Now even shinier!
It's a rude and crude script, but it works for experienced admins who knows what they are doing,
and where they are doing it.

Code:
#!/bin/bash
### 11/30/2015 
### jj/Habitual

clear

do_work ()
{ 
    BASEDIR=/var/www/html
    mkdir -pv "$BASEDIR"/"$DOMAIN"/
    cp -pr /var/www/wordpress/* "$BASEDIR"/"$DOMAIN"/
    cp "$BASEDIR"/"$DOMAIN"/wp-config-sample.php
...
LQ 5k Club
Posted in Uncategorized
Views 2433 Comments 0 Habitual is offline

  



All times are GMT -5. The time now is 08:10 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