LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-11-2020, 08:58 PM   #181
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled

Quote:
Originally Posted by upnort View Post
OK. Thanks.

Gitlab pages don't load unless JavaShitScript is enabled?
Some Adblock lists as well unfortunately. However, I trust GitLab more than GitHub.
 
Old 07-05-2020, 11:28 AM   #182
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 196

Rep: Reputation: Disabled
Skaendo, thanks for Pi-Hole 5.0
I run it and Pi-Hole 5.0 works well.

1st. What I did manually
Code:
useradd pihole
# https://github.com/pi-hole/pi-hole
cd /tmp
git clone https://github.com/pi-hole/pi-hole.git
cp -a /tmp/pi-hole/advanced/ /etc/pihole/
# WTF with .pihole? /opt/pihole/gravity.sh is have this path:
# source "/etc/.pihole/advanced/Scripts/database_migration/gravity-db.sh"
ln -sf /etc/pihole /etc/.pihole
pihole -g -r
In your pi-hole-5.0-x86_64-1endo.txz /etc/pihole/advanced/ directory is missing with all scripts:
Code:
# ls -1 /etc/pihole/advanced/Scripts/
COL_TABLE
chronometer.sh*
database_migration/
list.sh*
piholeARPTable.sh*
piholeCheckout.sh
piholeDebug.sh*
piholeLogFlush.sh*
query.sh*
setupLCD.sh*
update.sh*
updatecheck.sh*
version.sh*
webpage.sh*
wildcard_regex_converter.sh
2nd in /etc/sudoers.d/pihole not added this line:
Code:
apache ALL=NOPASSWD: /usr/bin/pihole
 
Old 07-05-2020, 12:56 PM   #183
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by TurboBlaze View Post
In your pi-hole-5.0-x86_64-1endo.txz /etc/pihole/advanced/ directory is missing with all scripts:
Code:
# ls -1 /etc/pihole/advanced/Scripts/
COL_TABLE
chronometer.sh*
database_migration/
list.sh*
piholeARPTable.sh*
piholeCheckout.sh
piholeDebug.sh*
piholeLogFlush.sh*
query.sh*
setupLCD.sh*
update.sh*
updatecheck.sh*
version.sh*
webpage.sh*
wildcard_regex_converter.sh
This is because they are in /opt/pihole and the pi-hole main script is adopted this way. The scripts that are not included (/database migration, piholeCheckout, setupLCD, update, etc) is because they are not compatible with Slackware and are left out intentionally (aside from piholeARPTable, which I need to look into). Pi-Hole is mainly developed on Debian based derivatives and not "officially supported" upstream for Slackware.

Quote:
Originally Posted by TurboBlaze View Post
2nd in /etc/sudoers.d/pihole not added this line:
Code:
apache ALL=NOPASSWD: /usr/bin/pihole
I do not understand what you mean with this.
 
Old 07-06-2020, 12:38 AM   #184
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 196

Rep: Reputation: Disabled
1st. pihole/advanced/Scripts/database_migration/gravity-db.sh is work for me and
Code:
pihole -g -r
did not start without him.

If it have /opt/pihole path, why /opt/pihole/gravity.sh is have another path like this
Code:
# source "/etc/.pihole/advanced/Scripts/database_migration/gravity-db.sh"
?

2nd. Probably I'am wrong about
Quote:
Add Apache to sudoers using visudo:

apache ALL=NOPASSWD: /usr/bin/pihole
and need to tweak /etc/sudoers

Anyway, thank you so much for the
Code:
        .;;,.
        .ccccc:,.
         :cccclll:.      ..,,
          :ccccclll.   ;ooodc
           'ccll:;ll .oooodc
             .;cll.;;looo:.
                 .. ','.
                .',,,,,,'.
              .',,,,,,,,,,.
            .',,,,,,,,,,,,....
          ....''',,,,,,,'.......
        .........  ....  .........
        ..........      ..........
        ..........      ..........
        .........  ....  .........
          ........,,,,,,,'......
            ....',,,,,,,,,,,,.
               .',,,,,,,,,'.
                .',,,,,,'.
                  ..'''.

Last edited by TurboBlaze; 07-06-2020 at 12:39 AM.
 
Old 07-06-2020, 05:29 PM   #185
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
I'll have to look into it, but I don't really have the time at the moment. I will get to it as soon as I can.
 
1 members found this post helpful.
Old 07-15-2020, 07:34 PM   #186
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Ok, so I updated the SlackBuilds for version 5.0 to include the other scripts and DBs. I didn't test them, so report problems here.

Now they have released version 5.1 and this brings about major changes including dependencies and the build system has been changed to cmake.

I am going to look into updating the SlackBuilds again, but promise nothing.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] slackware 14.2 - Anybody managed to install spotify??? jhsdcsjdcvbdj Slackware 8 03-12-2017 07:43 AM
Has anyone managed to get a Webcam (or PC CAMERA) working in Slackware 13.0? Norseman01 Linux - Hardware 1 11-03-2012 02:22 PM
managed to make files owned by 1016 and cannot delete, i'm using slackware 12 The_spacekadet Linux - Software 2 02-25-2008 04:01 AM
managed to make files owned by 1016 and cannot delete, i'm using slackware 12 The_spacekadet Linux - Newbie 2 02-25-2008 01:09 AM
Look at what I managed to do today with slackware! cereal83 Slackware 22 04-01-2006 02:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:48 PM.

Main Menu
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
Open Source Consulting | Domain Registration