apache - How to allow perl cgi-bin script to run system ...

Beta v1.2066 release [18th September 2020] (Non Pro update)

Hi all, this is a pretty big update to the free containers/packages, thanks for your patience:
- Beta v1.2066 release [18th September 2020]:
- Hide 'Low CPU Priority' toggle if running in Docker (prevent bug "pgrep cannot allocate 4611686018427387903 bytes" - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955697)
- Reduce worker slider limits automatically when shutting down workes
- Some UI changes
- Fixed worker launch bug
- Fixed FFmpeg worker percentages not showing in some cases
- Fixed CCExtractor dependency error
- Beta v1.206 release [17th September 2020]:
--------IMPORTANT----------------
- New lean database to reduce RAM usage.
- Files are only scanned with FFprobe (and optionally CC Checker) during a library scan - the initial scan time is now much faster
- This scan data is then stripped down to contain only the necessary data which Tdarr needs
- Files are then scanned more thoroughly before plugins are executed so that full FFprobe and ExifTool data is available
---------------------------------
- Revert queue building being in separate process (reduce RAM issues)
- Fixed bug whereby plugin validator wasn't running when toggling between "Community" and "Local" checkbox
- Now no need to refresh plugin stack page after adding a new Local/Community plugin to the plugins folder.
- Now no need to refresh page when saving an edited plugin on the "Plugins tab"
- Now no need to refresh page after pressing "Copy to Local" on a Community plugin
- Now no need to refresh page after creating new plugin in Plugin Creator
- Some styling changes to pages to make more use of space (For example the library nav bar has been moved above the settings to give more width for the plugin stack and schedule)
- Schedule now highlights current schedule block to make scheduling easier
- Added warning if library source folder or transcode cache are empty
---------v1.2061
- Click on file name on any of the tabs on the Tdarr tab to show full file details (on-demand file scan is carried out)
---------v1.2062
- Fixed bug with worker percentages during FFmpeg health check
---------v1.2063
- Fixed 'Scan on start' file scanner bug
- Fixed RAM displaying incorrectly
---------v1.2064
- Fixed slowness bug when 'Library prioritisation' enabled
- MediaInfo scan re-added
- Beta v1.2051 release [6th September 2020]:
- Add 2 second delay before deleting/renaming/moving files to prevent 'lock' permission errors after transcode
- Add worker spawn delay
- Prevent transcode workers from requesting item while queue is being built
- Beta v1.205 release [20th August 2020]:
- Clean-up/reduce size of files' log and history on start-up
- Add resource stats to dashboard for process and OS used/free memory as well as OS CPU%
- Beta v1.204 release [10th August 2020]:
- (NVDEC) FFmpeg thorough health checks now show percentages and ETA
- Quicker chown when first starting Docker container
- Fix file scanner not exiting when finished (due to new cancel scan button)
- Fix workers temporarily running out of items when doing quick health checks
- Beta v1.203 release [9th August 2020]:
- FFmpeg thorough health checks now show percentages and ETA
- Export txt file of files which have failed health checks
- Button added to cancel a scan
- Fixed schedule bug (Tdarr not processing files when library is in schedule)
- Fixed FFmpeg and HandBrake processes not exiting when shutting down a worker
- Fixed worker percentage bar sometimes disappearing/reappearing
- Some UI changes (nav bar collapases earlier when compressing screen)
- Beta v1.202 release [8th August 2020]:
- Sort queue by codec
- Fixed queue sort UI bug where selected sort doesn't show correctly
- Removed old FFmpeg binary (3.4.5) and removed switch on Options tab to enable it - can no longer use due to FFmpeg dependency update for 4.2
- Updated FFmpeg and HandBrake binary paths - can now set own binary paths using env variables (FFmpegPath and HandBrakePath)
- Some UI changes (Logout button, release notes, plugins, workers)
- Health check option with nvdec
- Beta v1.201 release [5th August 2020]:
- New authentication system (can now log in with Discord if you have the 'Patreon: Supporter' role)
- New container (thanks to Rox) - testing this week
- Container features:
- Much smaller: 1.9GB to 0.61GB (Compressed)
- Can set PUID/PGID
- FFmpeg supports vaapi, quicksync, nvenc, npp and cuda
Beta v1.200 release [30th July 2020]:
- Queue builder moved to own thread (now 4-5x faster)
- More robust stat and queue building process
- Worker UI (Key elements highlighted in worker details + tidier process reasons)
- MediaInfo added to file scanner (best option for bitrates, accessed at file.MediaInfo)
- Priority Tdarr container for Patreon supporters
- Fixed bug with Tdarr tab tables
- 5 video tutorials
submitted by HaveAGitGat to Tdarr [link] [comments]

List of New Supported Games and FAQ.

Hey guys! Here is a list of all the new supported games, you can download the Nucleus Co-Op scripts from the app now, the games listed here that are clickable link you to a guide but all are supported. You can also see all available scripts from the app now by pressing the view all option.
10 Miles to Safety
20XX
100% Orange Juice
200% Mixed Juice!
Abyssal Zone
Acceleration of SUGURI 2
Accel World VS. Sword Art Online Deluxe Edition
A Hat in Time
Air Missions: HIND
Alien Breed Impact
Alien Breed 2: Assault
Alien Breed 3: Descent
Aliens Colonial Marines
Aliens vs Predator
Alien Swarm: Reactive Drop
Among Us
Aragami: Shadow Edition
ARK: Survival Evolved
Ashen (steam version only)
Astroneer
Attack on Titan 2
ATV Drift & Tricks
Barony
Battle Grounds III
Binary Domain
BioShock 2
Bit Dungeon III
Blades of Time
Bladestorm: Nightmare
Blood and Bacon
Bob Was Hungry
Borderlands
Borderlands 2
Borderlands: The Pre-Sequel
Borderlands GOTY Enhanced
Borderlands 3
BrainBread 2
Broomstick League
Brütal Legend
Bulletstorm: Full Clip Edition
Bunch of Heroes
Call of Duty: Black Ops II
CastleMiner Z
Clandestine
Cladun Returns: This is Segoku
Chivalry: Medieval Warfare
Citadel: Forged With Fire
Code of Princess
Conan Exiles (16 june 2020 update added Funcom Live Services and now the game is online only effectively breaking the splitscreen script. You need to downgrade to the previous version.)
Contagion
Contra: Rogue Corps
Counter-Strike: Source
Craftopia
Cube World
Cyberdimension Neptunia: 4 Goddesses Online
Daemon X Machina
Damnation
Dark Souls: Prepare to Die Edition
Day of Defeat: Source
Day of Infamy
Deadfall Adventures
Dead Island
Dead Island: DE
Dead Island Riptide: DE
Dead Rising 2
Dead Rising 2: Off the Record
Dead Rising 3
Dead Rising 4
Deathtrap
Debris
Deep Rock Galactic
Desolate
Dinosaur Hunt
Divinity: Dragon Commander
Divinity: Original Sin Enhanced Edition
Divinity: Original Sin 2
Don't Starve Together
Door Kickers
Double Action: Boogaloo
Dragon Ball Xenoverse
Dragon Ball: Xenoverse 2
Dragon Marked for Death
Dragon Quest Builders 2
Drake Hollow
Dungeon of the Endless
Dungeons 3
Dungeon Siege III
Dying Light
Dystopia
Earth Defense Force 4.1
Earth Defense Force 5
Earth Defense Force: Insect Armageddon
Earth Defense Force: Iron Rain
Earthfall
Enemy Front
E.T. Armies
F1 2012
F1 2014
Fade to Silence
Factorio
Fallout 76
F.E.A.R. 3
Final Exam
Feel The Snow
Fight The Dragon
Fistful of Frags
Forge Quest
Fortified
Front Mission Evolved
Full Mojo Rampage
Garry's Mod
Gas Guzzlers Extreme
Generation Zero
Gensokyo Defenders
GOCCO OF WAR
God Eater Resurrection
God Eater 2 - Rage Burst
God Eater 3
God Mode
Golf It!
Grid 2
Grim Dawn
Ground Branch
GTFO
Guns n Zombies
Half-Life Deathmatch: Source
Half-Life 2: Deathmatch
Half-Minute Hero: The Second
Halo Custom Edition
Halo 2 LAN
Halo 2: Project Cartographer
Halo Online ElDewrito
Halo: The Master Chief Collection
Halo Wars: Definitive Edition
Hammerwatch
Hero Siege
Hoard
Hunted: The Demon’s Forge
Human: Fall Flat
I am Weapon: Revival
Insurgency
Iron Brigade
It came from space, and ate our brains
Kane & Lynch 2: Dog Days
KATANA KAMI: A Way of the Samurai Story
Killing Floor
Killing Floor 2
Killsquad
Kill to Collect
Lead and Gold: Gangs of the Wild West
Left 4 Dead 2
LEGO Worlds
Livelock
Lord of the Rings War in the North
Lost Planet 3
Magicite
McDroid
Mean Greens - Plastic Warfare
Mighty No. 9
Minecraft Java Edition
Monday Night Combat
Mordheim: City of the Damned
Morphies Law
Mothergunship
MudRunner
NanoWars
NASCAR '15 Victory Edition
Necropolis
Need For Speed Most Wanted 2005
Nioh: Complete Edition
Niffelheim
No Man's Sky
No More Room in Hell
Outbreak
Outbreak: TNN
Outland
Outward
Orcs Must Die! 2
ORION: Prelude
OVERKILL's The Walking Dead
Pacify
Paint the Town Red
PAYDAY: The Heist
PAYDAY 2
Pirates, Vikings, and Knights II
PixARK
PixelJunk Nom Nom Galaxy
Portal Knights
Prevent The Fall
Primal Carnage: Extinction
Project CARS 2
Pure
Raft
Rage
Re:Legend
Remnant: From the Ashes
Resident Evil 5
Resident Evil 6
Resident Evil Revelations
Re-Volt (RVGL)
RimWorld
Risk of Rain 2
Roguelands
Ryse: Son of Rome
Sacred 3
Saints Row The Third
Saints Row IV
Saints Row: Gat out of Hell
Sanctum
Sanctum 2
Scourge Outbreak
Secrets of Grindea
Senran Kagura: Shinovi Versus
Senran Kagura: Estival Versus
Senran Kagura: Peach Beach Splash
Serious Sam 2
Seven Days to Die
Sir, You Are Being Hunted
SkyDrift
Sniper Elite 3
Space Engineers
Space Hulk: Deathwing
Spec Ops: The Line
Spintires
Starbound
Stardew Valley
Star Wars: Battlefront 2 (Classic, 2005)
Strange Brigade
Strength of the Sword: ULTIMATE
Styx: Shards of Darkness
Super Mario 64
Super Mario 64 PC Port
Survivalist
Sven Coop
Sword Art Online Re: Hollow Fragment
Sword Art Online: Lost Song
Sword Art Online: Hollow Realization Deluxe Edition
Synergy
SYNTHETIK: Arena
SYNTHETIK: Legion Rising
Takedown: Red Sabre
Team Fortress 2
Teenage Mutant Ninja Turtles: Mutants in Manhattan
Teenage Mutant Ninja Turtles: Out of the Shadows
Terraria
TerraTech
The Blackout Club
The Darkness 2
The Forest
The Haunted: Hells Reach
theHunter: Call of the Wild
The Incredible Adventures of Van Helsing
The Incredible Adventures of Van Helsing II
The Incredible Adventures of Van Helsing III
The Incredible Adventures of Van Helsing Final Cut
The Mean Greens - Plastic Warfare
The Simple Apocalypse
The Survivalists
The Watchers
Tokyo Ghoul:re Call to Exist
Tom Clancy's Rainbow Six: Vegas 2
Tomb Raider
Torchlight II
Toukiden: Kiwami
Toukiden 2
TOXIKK
Unending Dusk
Unepic
Unloved
Unreal Tournament III
Umbrella Corps
Vagante
Warcraft III: The Frozen Throne
Warcraft III: Reign of Chaos
Warhammer 40,000: Space Marine
We Were Here Together
White Noise 2
World in Conflict: Complete Edition
Wreckfest
XCOM: Enemy Within
Zeno Clash II
Zombie Army Trilogy
Zombie Panic! Source

Frequently Asked Questions & Troubleshooting

(Under Construction, last updated: 11/08/20)
Q: What is Nucleus Co-Op?
A: https://www.youtube.com/watch?v=jbituCgu3Bc
Nucleus Co-Op is a free and open source tool for Windows that allows split-screen play on many games that do not initially support it. The app was originally created by Lucas Assis. Zerofox later took over and added a ton of new features and improvements to support a lot more games. Ilyaki later joined in and brought multiple keyboards/mice support and more great features to the table. The app is currently being developed and updated by these devs: Lucas Assis, Zerofox and Ilyaki.
R-mach too for making and supporting the website that hosts the Nucleus Co-Op scripts.
Also the further development of the app wouldn't have been possible without all the amazing contributions and hard work from the SplitScreen Dreams Discord members (which include the devs mentioned above) that made all the new Nucleus Co-Op scripts and continue to make new discoveries and scripts to support even more games, among them: Talos91, PoundlandBacon, dr. old.boi, Pizzo and many more.
Q: How does Nucleus Co-Op work?
A: Essentially Nucleus Co-Op opens multiple instances of the same game (some games require mutex killing for that, among other methods) that will only answer to one specific gamepad (we do this via Nucleus Co-Op custom xinput dlls or xinput plus dlls) and connects those instances via LAN or steamworks online multiplayer emulation (Goldberg Emulator), all while making sure all the windows have focus so they can be playable with gamepads or that the instances are playable even in the background. Nucleus then resizes, removes borders and repositions the games windows so you can have synthetic splitscreen to play locally with your friends.
Q: Which games can be splitscreened using Nucleus Co-Op?
A: There are a lot of supported games, all mentioned in the list above. A ton of games are now supported thanks to the amazing program called Goldberg Emulator, developed by Mr. Goldberg, a big thank you to him. Read the Goldberg FAQ if you want to know more.
Q: Where do I download Nucleus Co-Op?
A: You can download latest version from Github. Download the compiled .rar release, don't download the source code zip if you just want to use the app. Zerofox's mod v0.9.9.9 r4 is the latest version recent scripts are created for, please avoid other versions for now.
Q: How do I use Nucleus Co-Op?
A: Here is a quick video tutorial: https://www.youtube.com/watch?v=hWmvz59i-o0
1.- Download and exctract Nucleus Co-Op (extract using apps like 7-zip or winrar).
2.- Open NucleusCoop.exe.
3.- Click on Download Game Scripts, the script browser will open. Search for a game in the supported games list and download a script. You can also see all available scripts from the app now by pressing the view all option.
4.- Once the script has finished downloading you will get a prompt asking if you would like to add a game now, click yes if you want to add it now, if you select no proceed to step 6.
5.- Next you need to find where your game's executable is located. If you're not sure, try Googling 'where is (game) installed' and just search for the .exe in the place they tell you to look for. For Steam games this is usually something along the lines of 'C:\Program Files\Steam\steamapps\common(game)'. Some games will have their real .exe stashed away in a folder called 'bin' or 'binaries'. Once you choose the right .exe, add the game.
6.- You can also automatically add games, click 'Auto-Search' and select the drive and path you want to add games from.
7.- Once your game is added, select it in the Nucleus UI and drag the gamepad icons to the splitscreen layout, click on the top-left icon on the layout corner to change the type of splitscreen layout. You can also use multiple monitors, if you have multiple monitors connected they will show in the Nucleus UI. If you see Script Author's Notes appear at the bottom of the UI, read them carefully.
8.- Finally press > then Play (top right of the UI) and you are ready to go.
Q: Where should I place the Nucleus Co-Op folder?
A: You can place the folder wherever you like as long as you keep the following in mind:
DO NOT place it inside a folder containing files for a game you wish to play.
Avoid placing it inside a folder that has security settings applied to is, such as program files, program files (x86).
Some scripts require the Nucleus Co-Op folder to be located on the same drive as the game files.
If you are still unsure where to place the folder, the root of the drive your games are installed on is usually a safe option.
Q: How do I play with an uneven amount of players (such as 3 players) without having an empty space?
A: Right click on a section of the splitscreen layout.
Q: Nucleus Co-Op doesn't launch, how do I fix it?
A: Here are a few things you can try:
1.- Try updating your Microsoft.net framework, and install/reinstall Visual C++ 2010-2017.
2.- Make sure your antivirus program is not blocking Nucleus Co-Op or deleting any of its files.
3.- Run Nucleus Co-Op as admin.
4.- Restart your PC, and try again.
Q: Does Nucleus Co-Op have any malware?
A: Absolutely not.
Q: I wish to help out with the project, how can I get in touch?
A: Join the Nucleus Co-Op discord community or contact us here in the subreddit.
Q: When support for X game?
A: Not all games are easy to splitscreen, if you want to suggest a game make a post with the title [Request] Name of the game and provide useful information like if the game supports LAN or dedicated servers, if it is available on Steam or in other services, if it uses external servers for online, if it has gamepad support etc. Also you can contact any of our experienced Nucleus scripters here or in the Nucleus Co-Op discord and ask if a script is possible. The main scripter is the OP of this post for instance. Remember that Scripters are limited by the games they own and can test on, so if you really want support for a game to be added consider donating the game to the scripter in question.
Q: How do I know when a script gets updated?
A: Scripts updates are always announced in the Nucleus Co-Op discord server in the channel scripts updates.
Q: How do I create my own splitscreen script for Nucleus Co-Op?
A: Here is the documentation, open the .js file with notepad to read it. You can also use the other scripts you download from Nucleus as reference, they get downloaded to the Nucleus scripts folder. If you create a working script or if you have any questions about Nucleus scripting you can ask us in the Nucleus Co-Op discord or here in the subreddit, we can help you improve your script so it is fully working for sharing with the community.
Q: Does Nucleus Co-Op work on Linux/Mac?
A: Nucleus Co-Op depends on a lot of Windows functions and APIs, at the moment it only works on Windows 7 and Up. If you are interested in porting Nucleus Co-Op to other operating systems please feel free to contact any of the developers.
Q: Where can I report a bug/issue?
A: Note that Nucleus Co-Op is a tool in development and still in Alpha. Expect bugs, glitches and weird things to happen. Help other people not have these things happen by checking for a solution here and submitting a [BUG REPORT] to the reddit as a new topic or in the comments here, if no-one else has brought it up. Make sure you have read the script notes in the Nucleus UI very carefully first before submitting anything.
A good [BUG REPORT] looks like this:
Thread name: [BUG REPORT] Simon falling off horse
BUG: Simon falls off his horse.
EXPECTED: Simon should not fall off his horse, right?
CAUSE: I'm pretty sure it's because I have my computer plugged into an auto-blow.
STEPS TO REPRODUCE
1.- Open up Simon Stays On His Horse: The Interactive Video Game of the Movie.
2.- Choose Co-Op and join with another player.
3.- Simon falls off his horse!!!
TYPE: Severe! The gameplay can't continue if Simon isn't on his horse! (Alternatively, Minor if the gameplay can continue but it's just annoying)
NUCLEUS OPTIONS: I played with 2 players using the vertical splitscreen (left and right) on one tv and 2 famicom controllers. I'm using the latest version
SYSTEM: I'm on Windows 3.1 with 4MB of RAM, a 2KHz CPU and no graphics card, playing on a projector. She's a monster.
I'd really like this to get fixed please thanks magic man! -Beanboy"
Keep in mind most scripts are made and tested using the latest legit steam versions of a game, so provide information about what version of the game you have.
Also provide a debug log of the NucleusCoop error or crash, enable the debug log in Nucleus UI settings and save, the debug log will be created in Nucleus root folder where the .exe is. You can also ask for support in our discord.
Q: Why is Nucleus Co-Op resizing the game instances incorrectly/the instances look stretched?
A: Try setting your monitor scale to 100% in your monitoTV resolution settings. It is also highly recommended that you add custom resolutions to all your monitors from your AMD/Nvidia/Intel panel (For example if you are using a monitor resolution of 1920x1080 add custom resolutions like 960x540, 1920x540, 960x1080, ect.) that way most games will be able to see and use those custom resolutions and the splitscreen will not look stretched(Example). Note that not all games support custom or ultra widescreen resolutions. Also try disabling the Nucleus status window in Nucleus UI settings and save.
Q: Why is Nucleus Co-Op throwing an error message that it can not find a file when launching a script?
A: A lot of scripts edit the game's .ini or .cfg files to force windowed and to adjust the game's resolution to the window size, so make you sure you run your game at least once and change some graphic settings before running it via Nucleus Co-Op, that way you make sure the proper config files are getting generated first. If you are still getting the error after doing that, select the game in the UI, click on Game Options and select Delete UserProfile Config Path for all players. Also try disabling the Nucleus status window in Nucleus UI settings and save.
Q: Where are my Nucleus Co-Op save files located?
A: Some scripts save to the Nucleus Co-Op enviroment folder located in C:\Users\YourUser\NucleusCoop, you can access each game save file via the Nucleus Co-Op UI too, select a game, click on Game Options and select Open UserProfile Save/Config Path. Other scripts just save in the same file path your regular game saves to.
Q: Why are my in-game frames per second low/better in one instance than in the others when using Nucleus Co-Op?
A: Remember that Nucleus Co-Op opens multiple instances of a game, so depending on the game this can be quite demanding for your PC, to improve FPS and performance try reducing graphics settings like textures and shadows, limit the FPS or unfocus all the game windows so that they get equal priority and the FPS even out, you can do this by Alt-Tabbing to a different window like the Nucleus app window, the game windows will still remain on top, you can also press the windows key+b in your keyboard to unfocus all instances.
Q: My Playstation/generic PC controller isn't working/isn't being detected by Nucleus Co-Op, how do I fix it?
A: Most Nucleus Co-Op Scripts only detect Xinput gamepads. Controllers that work best are Xbox 360 game controllers for minimum hassle. There are a few scripts that also support Direct Input gamepads but Xinput gamepads are generally a lot easier to restrict to a specific game instance than Dinput gamepads.
If you are using PS4 gamepads try the app DS4windows, look in the settings for an option called "hide ds4 controller" - make sure it's ticked. To ensure it's definitely running in exclusive mode make sure ds4windows is set to load on windows startup, then turn your controllers on while windows is loading. Download the latest version here - https://ryochan7.github.io/ds4windows-site/
Read more about how to use exclusive mode here: https://github.com/Ryochan7/DS4Windows/wiki/Exclusive-Mode-(Hide-DS4-Controller-config-option)-tips-and-issues
If you are using generic dinput gamepads the app XOutput is also useful to emulate xinput gamepads.
The app X360CE version 4 that creates virtual Xbox 360 Controllers inside your Windows operating system is also very useful to emulate xinput gamepads system wide.
Remember that some games detect both dinput and xinput gamepads so even if you are emulating a xinput gamepad the input could still not be restricted correctly because the game is now responding to both the emulated xinput gamepad and to the native direct input of your gamepad, that is why some apps like DS4windows have an "exclusive mode".
Also do not place any x360ce xinput dlls inside the Nucleus Co-Op files as this might interfere with Nucleus custom xinput dlls.
Xbox One gamepads have some issues with background input in games that only support direct input gamepads and with Unity games that use Unity's default input for gamepad support.
If you are using steam controllers try this: https://www.youtube.com/watch?v=wy4F2eqTXQ4
Q: Why is my keyboard not showing in the Nucleus Co-Op UI?
A: If a script is only showing gamepads and not keyboard icons that means the script only supports gamepads and doesn't support keyboards and mice in splitscreen yet.
Q: There are many keyboards and mice icons in the UI, how do I know which ones to use?
A: If you press a key in the keyboard you will use or move the mouse their corresponding icons in the Nucleus Co-Op UI will light up yellow. The app can detect keyboard macros that is why sometimes you will get multiple keyboard icons.
Q: Can you play splitscreen+LAN in different PCs?
A: Yes, if you run the game via Nucleus Co-Op in different PCs you can connect all instances you launch via LAN, for example you can have 2 players playing vertical splitscreen in one PC via Nucleus and connect to 2 others playing Nucleus splitscreen in a different PC via LAN. If the script uses steamworks multiplayer emulation you'll have to change the instances steam ids in the other PCs you'll connect to, otherwise the instances launched by Nucleus will use the same steam ids and won't be able to connect to each other. For that you can open the game script .js file in Nucleus scripts folder in the other PCs and add for example Game.PlayerSteamIDs = [ "76561198134585131","76561198131394153","76561198011792067","76561198043762785" ]; that will change the default ids of the first four instances you open in one PC via Nucleus Co-Op.
Q: This project is Amazing where can I donate?
A: We don't have an unified donation platform yet but you can support the devs individually here: Zerofox, Ilyaki, Lucas Assis.
You can also donate to our main scripters that make the games scripts for Nucleus: Talos91/blackman9
submitted by blackman9 to nucleuscoop [link] [comments]

Can't install: "pihole-FTL: no process found" and "DNS service is NOT running"

Hi, I'm having problems installing pihole on a raspberry pi.
I installed using method 2:
wget -O basic-install.sh https://install.pi-hole.net sudo bash basic-install.sh
The dashboard says DNS Service is not running.
Here is the output from pihole -r:
 [✓] Root user check .;;,. .ccccc:,. :cccclll:. ..,, :ccccclll. ;ooodc 'ccll:;ll .oooodc .;cll.;;looo:. .. ','. .',,,,,,'. .',,,,,,,,,,. .',,,,,,,,,,,,.... ....''',,,,,,,'....... ......... .... ......... .......... .......... .......... .......... ......... .... ......... ........,,,,,,,'...... ....',,,,,,,,,,,,. .',,,,,,,,,'. .',,,,,,'. ..'''. [i] Existing PHP installation detected : PHP version 7.3.14-1~deb10u1 [i] Repair option selected [✓] Disk space check [✓] Update local cache of available packages [✓] Checking apt-get for upgraded packages... up to date! [i] Installer Dependency checks... [✓] Checking for dhcpcd5 [✓] Checking for git [✓] Checking for iproute2 [✓] Checking for whiptail [i] SELinux not detected [i] Performing reconfiguration, skipping download of local repos [✓] Resetting repository within /etc/.pihole... [✓] Resetting repository within /vawww/html/admin... [i] Main Dependency checks... [✓] Checking for cron [✓] Checking for curl [✓] Checking for dnsutils [✓] Checking for iputils-ping [✓] Checking for lsof [✓] Checking for netcat [✓] Checking for psmisc [✓] Checking for sudo [✓] Checking for unzip [✓] Checking for wget [✓] Checking for idn2 [✓] Checking for sqlite3 [✓] Checking for libcap2-bin [✓] Checking for dns-root-data [✓] Checking for libcap2 [✓] Checking for lighttpd [✓] Checking for php7.3-common [✓] Checking for php7.3-cgi [✓] Checking for php7.3-sqlite3 [✓] Checking for php7.3-xml [✓] Checking for php-intl [✓] Enabling lighttpd service to start on reboot... [✓] Checking for user 'pihole' [i] FTL Checks... [✓] Detected ARM-hf architecture (armv6 or lower) Using ARM binary [i] Checking for existing FTL binary... [i] Latest FTL Binary already installed (v5.0). Confirming Checksum... [i] Checksum correct. No need to download! perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TERMINAL = "iTerm2", LC_CTYPE = "UTF-8", LANG = "en_GB.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_GB.UTF-8"). [✓] Installing scripts from /etc/.pihole [i] Installing configs from /etc/.pihole... [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone! [✓] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf [i] Installing blocking page... [✓] Creating directory for blocking page, and copying files [i] Backing up index.lighttpd.html No default index.lighttpd.html file found... not backing up [✓] Installing sudoer file [✓] Installing latest Cron script [✓] Installing latest logrotate script [i] Backing up /etc/dnsmasq.conf to /etc/dnsmasq.conf.old [✓] man pages installed and database updated [i] Testing if systemd-resolved is enabled [i] Systemd-resolved is not enabled [✓] Restarting lighttpd service... [✓] Enabling lighttpd service to start on reboot... [i] Restarting services... [✓] Enabling pihole-FTL service to start on reboot... [✓] Restarting pihole-FTL service... [✓] Deleting existing list cache [i] Neutrino emissions detected... [✓] Pulling blocklist source list into range [✓] Preparing new gravity database [i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/mastehosts [✓] Status: Retrieval successful [i] Received 57671 domains [i] Target: https://mirror1.malwaredomains.com/files/justdomains [✓] Status: Retrieval successful [i] Received 26853 domains [i] Target: https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt [✓] Status: Retrieval successful [i] Received 34 domains [i] Target: https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt [✓] Status: Retrieval successful [i] Received 2701 domains [✓] Storing downloaded domains in new gravity database [✓] Building tree [✓] Swapping databases [i] Number of gravity domains: 87259 (84818 unique domains) [i] Number of exact blacklisted domains: 0 [i] Number of regex blacklist filters: 0 [i] Number of exact whitelisted domains: 0 [i] Number of regex whitelist filters: 0 [✗] pihole-FTL: no process found [✓] Cleaning up stray matter [✓] Restarting DNS server [✗] DNS service is NOT running [i] The install log is located at: /etc/pihole/install.log Update Complete! Current Pi-hole version is v5.0. Current AdminLTE version is v5.0. Current FTL version is v5.0. 
I tried apt-get upgrade and uninstalling and reinstalling a few times. Searching for the error all I find are old posts and the solutions don't seem to work.
What logs would I need to look?
Edit: debug token: k87a8bs9jb
submitted by andres_i to pihole [link] [comments]

Some Built-in modules in python

To check the blog post Letsprogram

Operating System Interface

Python can also interact with the operating system you are using. For a different operating system, different python software will be available so there is no problem in accessing the python. The os module will provide dozens of commands to interact with the operating system. If you want to write or read files you can use open() method, manipulate paths using os.path module, create a file, or a directory using shutil module. All the functions in this module will raise OSError in case of invalid or inaccessible file or path names. >import os>os.getcwd()'C:\\python38'>os.chdir('\system\files\')>os.system('mkdir programs') getcwd() will give you the current working directory of the system. chdir() will change you the path of the current directory. system() will be used as a shell you can give any commands. For file and directory management tasks shutil module will provide you an interface which is easy to use. >import shutil>shutil.copyfile('data.db','archive.db')'archive.db'>>>shutil.move('/users/programs','Python38')'Python38' Be sure you use import os style instead of from os import \*. This will make os.open() from shadowing the built-in function open() which are different. To know all the module functions use the command dir(os) and to know the module's docstring use the command help(os).

Command-line Arguments

Common utility scripts often need to process command-line arguments. These arguments are stored in the
sys 
module’s argv attribute as a list. For instance the following output results from running
python demo.py one two three 
at the command line: >>> import sys>>>print(sys.argv)['demo.py','one','two','three'] The
argparse 
module provides a more sophisticated mechanism to process command line arguments. The following script extracts one or more filenames and an optional number of lines to be displayed: import argparse parser = argparse.ArgumentParser(prog = 'top', description = 'Show top lines from each file')parser.add_argument('filenames', nargs='+')parser.add_argument('-l', '--lines', type=int, default=10)args = parser.parse_args()print(args)view rawcommandline.py hosted with ❤ by GitHubWhen run at the command line with python top.py --lines=5 alpha.txt beta.txt, the script sets args.lines to 5 and args.filenames to ['alpha.txt', 'beta.txt'].

Regular Expression

The
re 
module provides regular expression tools for advanced string processing. For complex matching and manipulation, regular expressions offer succinct, optimized solutions: >import re>re.findall(r'bd[a-z]*',"Follow the blog for more updates")['Follow','for']>>>re.sub(r'(\b[a-z]+) \1', r'\1', 'cat in the the hat')'cat in the hat' When only simple capabilities are needed, string methods are preferred because they are easier to read and debug: >>>"Tickets for two".replace('two','us')'Tickets for us'

Maths

The
math 
module gives access to the underlying C library functions for floating-point math:>import math>math.cos(math.pi/4)0.707016>>>math.log(1024,2)10 The
random 
module provides tools for making random selections and The
statistics 
module calculates basic statistical properties (the mean, median, variance, etc.) of numeric data: >>> import random>>> random.choice(['apple', 'pear', 'banana'])'apple'>>> random.sample(range(100), 10) # sampling without replacement[30, 83, 16, 4, 8, 81, 41, 50, 18, 33]>>> random.random() # random float0.17970987693706186>>> random.randrange(6) # random integer chosen from range(6)4>>> import statistics>>> data = [2.75, 1.75, 1.25, 0.25, 0.5, 1.25, 3.5]>>> statistics.mean(data)1.6071428571428572>>> statistics.median(data)1.25>>> statistics.variance(data)1.3720238095238095view rawrandom.py hosted with ❤ by GitHubThe SciPy project has many other modules for numerical computations.

Internet Access

There are a number of modules for accessing the internet and processing internet protocols. Two of the simplest are
urllib.request 
for retrieving data from URLs and
smtplib 
for sending mail: >>> from urllib.request import urlopen>>> with urlopen('http://tycho.usno.navy.mil/cgi-bin/timer.pl') as response:... for line in response:... line = line.decode('utf-8') # Decoding the binary data to text.... if 'EST' in line or 'EDT' in line: # look for Eastern Time... print(line)
Nov. 25, 09:43:32 PM EST >>> import smtplib>>> server = smtplib.SMTP('localhost')>>> server.sendmail('[email protected]', '[email protected]',... """To: [email protected]... From: [email protected]...... Beware the Ides of March.... """)>>> server.quit()view rawinternetaccess.py hosted with ❤ by GitHub

Dates and Times

The
datetime 
module supplies classes for manipulating dates and times in both simple and complex ways. While date and time arithmetic is supported, the focus of the implementation is on efficient member extraction for output formatting and manipulation. The module also supports objects that are timezone aware.>>> # dates are easily constructed and formatted>>> from datetime import date>>> now = date.today()>>> nowdatetime.date(2003, 12, 2)>>> now.strftime("%m-%d-%y. %d %b %Y is a %A on the %d day of %B.")'12-02-03. 02 Dec 2003 is a Tuesday on the 02 day of December.' >>> # dates support calendar arithmetic>>> birthday = date(1964, 7, 31)>>> age = now - birthday>>> age.days14368view rawdate.py hosted with ❤ by GitHub
submitted by Standard-Celebration to pythontips [link] [comments]

Can't Access Admin Interface

I have had Pihole and Wireguard running on Digital Ocean droplet for quite a while. Today, I decided to upgrade Pihole to Version 5 and after doing so, it seems that am no longer able to access the admin interface.
Both pihole and WG appear to be operating correctly as when I turn off the VPN connection on my phone I start to see ads appearing in certain apps (they disappear when I restore the VPN). In addition to updating to V5 I also ran pihole - r as I wanted to revert to using the default block-lists. I specified the WG0 interface for Pihole to listen on when I reconfigured (see below). Was this correct?
Can anyone shed some insight into why I'm unable to access the admin interface?

[i] Existing PHP installation detected : PHP version 7.2.24-0ubuntu0.18.04.4
[i] Reconfigure option selected
[✓] Disk space check
[✓] Update local cache of available packages
[✓] Checking apt-get for upgraded packages... up to date!
[i] Installer Dependency checks...
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
[i] SELinux not detected
[i] Using interface: wg0
[i] Using upstream DNS: DNS.WATCH (84.200.69.80, 84.200.70.40)
[i] Static IP already configured
[i] Found IPv6 ULA address, using it for blocking IPv6 ads
[i] IPv4 address: xxxxxxxxxxxxxxxx
[i] IPv6 address: xxxxxxxxxxxxxxx
[i] Web Interface On
[i] Web Server On
[i] Logging On.
[i] Privacy level 0 [i] Performing reconfiguration, skipping download of local repos
[✓] Resetting repository within /etc/.pihole...
[✓] Resetting repository within /vawww/html/admin...
[i] Main Dependency checks...
[✓] Checking for cron
[✓] Checking for curl
[✓] Checking for dnsutils
[✓] Checking for iputils-ping
[✓] Checking for lsof
[✓] Checking for netcat
[✓] Checking for psmisc
[✓] Checking for sudo
[✓] Checking for unzip
[✓] Checking for wget
[✓] Checking for idn2
[✓] Checking for sqlite3
[✓] Checking for libcap2-bin
[✓] Checking for dns-root-data
[✓] Checking for libcap2
[✓] Checking for lighttpd
[✓] Checking for php7.2-common
[✓] Checking for php7.2-cgi
[✓] Checking for php7.2-sqlite3
[✓] Checking for php7.2-xml
[✓] Checking for php-intl
[✓] Enabling lighttpd service to start on reboot...
[✓] Checking for user 'pihole'
[i] FTL Checks...
[✓] Detected x86_64 architecture
[i] Checking for existing FTL binary...
[i] Latest FTL Binary already installed (v5.0). Confirming Checksum...
[i] Checksum correct. No need to download!
[✓] Installing scripts from /etc/.pihole
[i] Installing configs from /etc/.pihole...
[i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone!
[✓] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf
[i] Installing blocking page...
[✓] Creating directory for blocking page, and copying files
[i] Backing up index.lighttpd.html
No default index.lighttpd.html file found... not backing up
[✓] Installing sudoer file
[✓] Installing latest Cron script
[✓] Installing latest logrotate script
[i] Backing up /etc/dnsmasq.conf to /etc/dnsmasq.conf.old
[✓] man pages installed and database updated
[i] Testing if systemd-resolved is enabled
[i] Systemd-resolved does not need to be restarted
[✓] Restarting lighttpd service...
[✓] Enabling lighttpd service to start on reboot...
[i] Restarting services...
[✓] Enabling pihole-FTL service to start on reboot...
[✓] Restarting pihole-FTL service...
[✓] Deleting existing list cache
[i] Neutrino emissions detected...
[✓] Pulling blocklist source list into range
[✓] Preparing new gravity database
[i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/mastehosts
[✓] Status: Retrieval successful
[i] Received 57671 domains
[i] Target: https://mirror1.malwaredomains.com/files/justdomains
[✓] Status: Retrieval successful
[i] Received 26853 domains
[i] Target: http://sysctl.org/cameleon/hosts
[✓] Status: Retrieval successful
[i] Received 20567 domains
[i] Target: https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
[✓] Status: Retrieval successful
[i] Received 0 domains
[i] Target: https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
[✓] Status: Retrieval successful
[i] Received 34 domains
[i] Target: https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
[✓] Status: Retrieval successful
[i] Received 2701 domains
[i] Target: ttps://v.firebog.net/hosts/AdguardDNS.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: ttps://v.firebog.net/hosts/Easyprivacy.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://v.firebog.net/hosts/Prigent-Ads.txt
[✓] Status: Retrieval successful
[i] Received 3670 domains
[i] Target: https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/masteSmartTV.txt
[✓] Status: Retrieval successful
[i] Received 197 domains
[i] Target: https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/masteAmazonFireTV.txt
[✓] Status: Retrieval successful
[i] Received 17 domains
[i] Target: https://v.firebog.net/hosts/Prigent-Malware.txt
[✓] Status: Retrieval successful
[i] Received 53095 domains
[i] Target: https://mirror.cedia.org.ec/malwaredomains/immortal_domains.txt
[✓] Status: Retrieval successful
[i] Received 3196 domains
[i] Target: https://www.malwaredomainlist.com/hostslist/hosts.txt
[✓] Status: Retrieval successful
[i] Received 1104 domains
[i] Target: https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
[✓] Status: Retrieval successful
[i] Received 134925 domains
[i] Target: https://raw.githubusercontent.com/anudeepND/blacklist/masteadservers.txt
[✓] Status: Retrieval successful
[i] Received 42594 domains
[i] Target: https://v.firebog.net/hosts/static/SamsungSmart.txt
[✓] Status: Retrieval successful
[i] Received 60 domains
[✓] Storing downloaded domains in new gravity database
[✓] Building tree
[✓] Swapping databases
[i] Number of gravity domains: 346684 (297043 unique domains)
[i] Number of exact blacklisted domains: 34
[i] Number of regex blacklist filters: 24
[i] Number of exact whitelisted domains: 265
[i] Number of regex whitelist filters: 0
[✓] Flushing DNS cache
[✓] Cleaning up stray matter
[✓] DNS service is running
[✓] Pi-hole blocking is Enabled
[i] View the web interface at http://pi.hole/admin or http:/xx.xx.xx.xx/admin
[i] You may now configure your devices to use the Pi-hole as their DNS server
[i] Pi-hole DNS (IPv4): xxxxxxxxxxxx
[i] Pi-hole DNS (IPv6): xxxxxxxxxxxxx
[i] If you set a new IP address, please restart the server running the Pi-hole
[i] The install log is located at: /etc/pihole/install.log
submitted by GentleSoul22 to pihole [link] [comments]

Having some problems with Amcrest cameras and deepstack image_processing

Hi Guys,
I recently bought 12 Amcrest security cameras. I've been working on integrating these to home assistant and I've had mixed success.
Here is an example of my Amcrest config (there are 12 of these entries):
amcrest: - host: 192.168.1.49 username: admin password: **** name: "Amcrest Back Yard" stream_source: rtsp resolution: low scan_interval: 10 binary_sensors: - motion_detected - online 
All the cameras seem to work fine for the most part unless I'm trying to show the live stream of more than 3 at a time on a lovelace page. If I do that the framerate drops way way down. Probably an ffmpeg limitation. Anyway, I decided to try using these with Deepstack (https://github.com/robmarkcole/HASS-Deepstack-object) for object detection. At this point I've just set up some test entities to look for stuff like cats, cars, etc to see how it works.
I'm puzzled because some of them seem to work fine while others don't work at all, and others work only intermittently. Obviously these detectors won't be usable for automations unless they work reliably. Here is an example of my deepstack config:
image_processing: - platform: deepstack_object ip_address: 192.168.1.197 port: 5000 api_key: Mysecretkey scan_interval: 15 # Optional, in seconds save_file_folder: /config/www/deepstack/ target: cat confidence: 30 source: - entity_id: camera.amcrest_billiards_room name: cats_in_billiards_room 
So here is the issue. Some of them seem to work fine, but I am getting a bunch of different random errors in my logs.
2020-01-27 10:16:48 ERROR (MainThread) [homeassistant.components.image_processing] Error on receive image from entity: Unable to get image 2020-01-27 10:16:54 ERROR (MainThread) [homeassistant.components.image_processing] Error on receive image from entity: Camera is off 2020-01-27 10:17:02 WARNING (SyncWorker_36) [amcrest.http]  Trying again due to error: HTTPError('500 Server Error: Internal Server Error for url: http://192.168.1.61:80/cgi-bin/snapshot.cgi') 
Just all kinds of random stuff and no way that I can see which camera it is talking about (except for the amcrest error with the front door camera)... I'm just trying to get an idea of what the problem is. When I look at the states, some of the image_processing entities stay pretty solidly as the number value that it should be. Some of them fluctuate between 'unknown' and the number, and some just stay on 'unknown' forever. For example my 'people_at_front_door' entity has never worked once, which is frustrating because that is the most important one.
I keep thinking it may be an issue of wifi reception since most of the cameras are between 40-70% signal as indicated by Unifi. But when I look at the streams on my Amcrest NVR they are all working fine and smoothly. And when I pull up the feeds individually in HA they seemingly work fine. So then I start thinking maybe it is a problem with FFMPEG being overloaded, but I've tried this with just one camera and one image_processing entity and it still does the same thing.
Just kind of puzzled and hoping for some insights. Thanks a lot!
submitted by ksheyman to homeassistant [link] [comments]

Problem running php on nginx ubuntu (files get downloaded)

Hi everyone,
I'm very new to php and ran into some issue that I have been trying to fix for a couple of hours.
I have setup Nginx on ubuntu 19.10, and installed php7.4-fpm. But whenever I try to open a file like index.php, located in my root folder /vawww/html (so localhost/index.php) it will download the file instead of running it.
Nginx is not communicating with php7.4-fpm, is my guess, but I can not find the mistake in my configuration files..

Could anyone take a look and spot what would be wrong.
Below I've put the files, in order
  1. /etc/nginx/fastcgi.conf:
  2. /etc/nginx/fastcgi_params:
  3. /etc/nginx/sites-enabled/server.conf
  4. /etc/nginx/mime.types
  5. /etc/php/7.4/fpm/php-fpm.conf
  6. /etc/php/7.4/fpm/pool.d/www.conf
  7. selection of /etc/php/7.4/fpm/php.ini since posting it all is too long
  8. output service nginx status & service php7.4-fpm status

If I'm looking at the wrong files or something and the error could be located elsewhere please guide me in the right direction.
And if you already read this far, I would like to thank you for your time!

1/etc/nginx/fastcgi.conf:


fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_param REQUEST_URI $request_uri; fastcgi_param DOCUMENT_URI $document_uri; fastcgi_param DOCUMENT_ROOT $document_root; fastcgi_param SERVER_PROTOCOL $server_protocol; fastcgi_param REQUEST_SCHEME $scheme; fastcgi_param HTTPS $https if_not_empty; fastcgi_param GATEWAY_INTERFACE CGI/1.1; fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; fastcgi_param REMOTE_ADDR $remote_addr; fastcgi_param REMOTE_PORT $remote_port; fastcgi_param SERVER_ADDR $server_addr; fastcgi_param SERVER_PORT $server_port; fastcgi_param SERVER_NAME $server_name; # PHP only, required if PHP was built with --enable-force-cgi-redirect fastcgi_param REDIRECT_STATUS 200; 

2. /etc/nginx/fastcgi_params:

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_param REQUEST_URI $request_uri; fastcgi_param DOCUMENT_URI $document_uri; fastcgi_param DOCUMENT_ROOT $document_root; fastcgi_param SERVER_PROTOCOL $server_protocol; fastcgi_param REQUEST_SCHEME $scheme; fastcgi_param HTTPS $https if_not_empty; fastcgi_param GATEWAY_INTERFACE CGI/1.1; fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; fastcgi_param REMOTE_ADDR $remote_addr; fastcgi_param REMOTE_PORT $remote_port; fastcgi_param SERVER_ADDR $server_addr; fastcgi_param SERVER_PORT $server_port; fastcgi_param SERVER_NAME $server_name; # PHP only, required if PHP was built with --enable-force-cgi-redirect fastcgi_param REDIRECT_STATUS 200; 

3. /etc/nginx/sites-enabled/server.conf

# Version=2.1 server { listen 80; listen [::]:80; listen 443 ssl http2; listen [::]:443 ssl http2; # # This file will be managed by ATK, and overwitten without warning. # # To enable external access please consider installing DuckDNS using ATK. # # For external access using a custom domain: # # 1) Make a copy of this file and rename it to match your domain # # ex: /etc/nginx/sites-available/mydomain.com.conf # # 2) Edit your file and replace the entire `server_name` line with `server_name mydomain.com;` # # (do not include IP addresses) # # 3) Run `sudo ln -s /etc/nginx/sites-available/mydomain.com.conf /etc/nginx/sites-enabled/mydomain.com.conf` # # 4) Run `sudo systemctl reload nginx` # # You can then use ATK to run Certbot on your custom domain for HTTPS # # You can also modify your new file to enabling some of the extra features below by uncommenting the lines # # If you modify your file you will need to rerun the command in step 4 above server_name 127.0.0.1 localhost 192.168.1.248 0.0.0.0; access_log /valog/nginx/server.atomic.access.log; error_log /valog/nginx/server.atomic.error.log; index index.html index.php; root /vawww/html/; client_body_buffer_size 128k; client_max_body_size 100M; send_timeout 5m; server_tokens off; location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:/varun/php7.4-fpm.sock; fastcgi_index index.php; include fastcgi.conf;} location ~ /\.ht { deny all; } ## # Snippet Config ## include /etc/nginx/snippets/gzip.atomic.conf; # include /etc/nginx/snippets/headers-hsts.atomic.conf; # WARNING: Only enable Strict Transport after confirming HTTPS is working include /etc/nginx/snippets/headers.atomic.conf; # include /etc/nginx/snippets/https-redirect.atomic.conf; # WARNING: Only enable HTTPS Redirect after confirming HTTPS is working include /etc/nginx/snippets/letsencrypt.atomic.conf; include /etc/nginx/snippets/proxy.atomic.conf; # include /etc/nginx/snippets/ssl-dhparam.atomic.conf; # WARNING: Only enable dhparam after running `openssl dhparam -out /etc/nginx/dhparam.pem 4096` include /etc/nginx/snippets/ssl.atomic.conf; ## # App Location Config ## include /etc/nginx/locations-enabled/*.atomic.conf; ssl_certificate /etc/letsencrypt/live/****/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/****/privkey.pem; # managed by Certbot } 

4. /etc/nginx/mime.types

types { text/html html htm shtml; text/css css; text/xml xml; image/gif gif; image/jpeg jpeg jpg; application/javascript js; application/atom+xml atom; application/rss+xml rss; text/mathml mml; text/plain txt; text/vnd.sun.j2me.app-descriptor jad; text/vnd.wap.wml wml; text/x-component htc; image/png png; image/tiff tif tiff; image/vnd.wap.wbmp wbmp; image/x-icon ico; image/x-jng jng; image/x-ms-bmp bmp; image/svg+xml svg svgz; image/webp webp; application/font-woff woff; application/java-archive jar war ear; application/json json; application/mac-binhex40 hqx; application/msword doc; application/pdf pdf; application/postscript ps eps ai; application/rtf rtf; application/vnd.apple.mpegurl m3u8; application/vnd.ms-excel xls; application/vnd.ms-fontobject eot; application/vnd.ms-powerpoint ppt; application/vnd.wap.wmlc wmlc; application/vnd.google-earth.kml+xml kml; application/vnd.google-earth.kmz kmz; application/x-7z-compressed 7z; application/x-cocoa cco; application/x-java-archive-diff jardiff; application/x-java-jnlp-file jnlp; application/x-makeself run; application/x-perl pl pm; application/x-pilot prc pdb; application/x-rar-compressed rar; application/x-redhat-package-manager rpm; application/x-sea sea; application/x-shockwave-flash swf; application/x-stuffit sit; application/x-tcl tcl tk; application/x-x509-ca-cert der pem crt; application/x-xpinstall xpi; application/xhtml+xml xhtml; application/xspf+xml xspf; application/zip zip; application/octet-stream bin exe dll; application/octet-stream deb; application/octet-stream dmg; application/octet-stream iso img; application/octet-stream msi msp msm; application/vnd.openxmlformats-officedocument.wordprocessingml.document docx; application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx; application/vnd.openxmlformats-officedocument.presentationml.presentation pptx; audio/midi mid midi kar; audio/mpeg mp3; audio/ogg ogg; audio/x-m4a m4a; audio/x-realaudio ra; video/3gpp 3gpp 3gp; video/mp2t ts; video/mp4 mp4; video/mpeg mpeg mpg; video/quicktime mov; video/webm webm; video/x-flv flv; video/x-m4v m4v; video/x-mng mng; video/x-ms-asf asx asf; video/x-ms-wmv wmv; video/x-msvideo avi; } 

5. /etc/php/7.4/fpm/php-fpm.conf

;;;;;;;;;;;;;;;;;;;;; ; FPM Configuration ; ;;;;;;;;;;;;;;;;;;;;; ; All relative paths in this configuration file are relative to PHP's install ; prefix (/usr). This prefix can be dynamically changed by using the ; '-p' argument from the command line. ;;;;;;;;;;;;;;;;;; ; Global Options ; ;;;;;;;;;;;;;;;;;; [global] ; Pid file ; Note: the default prefix is /var ; Default Value: none ; Warning: if you change the value here, you need to modify systemd ; service PIDFile= setting to match the value here. pid = /run/php/php7.4-fpm.pid ; Error log file ; If it's set to "syslog", log is sent to syslogd instead of being written ; into a local file. ; Note: the default prefix is /var ; Default Value: log/php-fpm.log error_log = /valog/php7.4-fpm.log ;syslog.facility = daemon ;syslog.ident = php-fpm ;log_level = notice ;log_limit = 4096 ;log_buffering = no ;emergency_restart_threshold = 0 ;emergency_restart_interval = 0 ;process_control_timeout = 0 ; process.max = 128 ; process.priority = -19 ; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging. ; Default Value: yes ;daemonize = yes ;rlimit_files = 1024 ;rlimit_core = 0 ;events.mechanism = epoll ; When FPM is built with systemd integration, specify the interval, ; in seconds, between health report notification to systemd. ; Set to 0 to disable. ; Available Units: s(econds), m(inutes), h(ours) ; Default Unit: seconds ; Default value: 10 ;systemd_interval = 10 ;;;;;;;;;;;;;;;;;;;; ; Pool Definitions ; ;;;;;;;;;;;;;;;;;;;; ; Multiple pools of child processes may be started with different listening ; ports and different management options. The name of the pool will be ; used in logs and stats. There is no limitation on the number of pools which ; FPM can handle. Your system will tell you anyway :) ; Include one or more files. If glob(3) exists, it is used to include a bunch of ; files from a glob(3) pattern. This directive can be used everywhere in the ; file. ; Relative path can also be used. They will be prefixed by: ; - the global prefix if it's been set (-p argument) ; - /usr otherwise include=/etc/php/7.4/fpm/pool.d/*.conf 

6. /etc/php/7.4/fpm/pool.d/www.conf

; Start a new pool named 'www'. [www] ;prefix = /path/to/pools/$pool user = user group = user listen = /varun/php/php7.4-fpm.sock listen.owner = user listen.group = user ;listen.mode = 0660 pm = dynamic pm.max_children = 5 pm.start_servers = 2 pm.min_spare_servers = 1 pm.max_spare_servers = 3 ;chroot = ;chdir = /vawww ;catch_workers_output = yes ;decorate_workers_output = no ;clear_env = no 7. /etc/php/7.4/fpm/php.ini [PHP] engine = On short_open_tag = Off precision = 14 output_buffering = 4096 zlib.output_compression = Off implicit_flush = Off unserialize_callback_func = serialize_precision = -1 ;open_basedir = disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, disable_classes = zend.enable_gc = On zend.exception_ignore_args = On ;;;;;;;;;;;;;;;;; ; Miscellaneous ; ;;;;;;;;;;;;;;;;; expose_php = Off ;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 360 max_input_time = 360 ;max_input_nesting_level = 64 ; How many GET/POST/COOKIE input variables may be accepted ;max_input_vars = 1000 ; Maximum amount of memory a script may consume (128MB) ; http://php.net/memory-limit memory_limit = 512M ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Error handling and logging ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT display_errors = Off display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_source = Off report_memleaks = On ;;;;;;;;;;;;;;;;; ; Data Handling ; ;;;;;;;;;;;;;;;;; variables_order = "GPCS" request_order = "GP" register_argc_argv = Off auto_globals_jit = On post_max_size = 8M auto_prepend_file = auto_append_file = default_mimetype = "text/html" default_charset = "UTF-8" ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;; doc_root = user_dir = enable_dl = Off ;cgi.force_redirect = 1 ;cgi.nph = 1 ;cgi.redirect_status_env = ;cgi.fix_pathinfo=1 ;cgi.discard_path=1 ;fastcgi.impersonate = 1 ;fastcgi.logging = 0 ;cgi.rfc2616_headers = 0 ;cgi.check_shebang_line=1 ;;;;;;;;;;;;;;;; ; File Uploads ; ;;;;;;;;;;;;;;;; file_uploads = On upload_max_filesize = 250M max_file_uploads = 20 ;;;;;;;;;;;;;;;;;; ; Fopen wrappers ; ;;;;;;;;;;;;;;;;;; allow_url_fopen = On allow_url_include = Off ;user_agent="PHP" default_socket_timeout = 320 ;auto_detect_line_endings = Off ;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ;;;;;;;;;;;;;;;;;;;;;; ;extension=bz2 ;extension=curl ;extension=ffi ;extension=ftp ;extension=fileinfo ;extension=gd2 ;extension=gettext ;extension=gmp ;extension=intl ;extension=imap ;extension=ldap ;extension=mbstring ;extension=exif ; Must be after mbstring as it depends on it ;extension=mysqli ;extension=oci8_12c ; Use with Oracle Database 12c Instant Client ;extension=odbc ;extension=openssl ;extension=pdo_firebird ;extension=pdo_mysql ;extension=pdo_oci ;extension=pdo_odbc ;extension=pdo_pgsql ;extension=pdo_sqlite ;extension=pgsql ;extension=shmop ;extension=snmp ;extension=soap ;extension=sockets ;extension=sodium ;extension=sqlite3 ;extension=tidy ;extension=xmlrpc ;extension=xsl ;;;;;;;;;;;;;;;;;;; ; Module Settings ; ;;;;;;;;;;;;;;;;;;; [CLI Server] cli_server.color = On [Date] ;date.timezone = [filter] ; http://php.net/filter.default ;filter.default = unsafe_raw ; http://php.net/filter.default-flags ;filter.default_flags = [iconv] ;iconv.input_encoding = ;iconv.internal_encoding = ;iconv.output_encoding = [imap] ;imap.enable_insecure_rsh=0 [intl] ;intl.error_level = E_WARNING ;intl.use_exceptions = 0 [sqlite3] ;sqlite3.extension_dir = ;sqlite3.defensive = 1 [Pcre] ;pcre.backtrack_limit=10000 ;pcre.recursion_limit=100000 ;pcre.jit=1 [Pdo] ;pdo_odbc.connection_pooling=strict ;pdo_odbc.db2_instance_name [Pdo_mysql] ; Default socket name for local MySQL connects. If empty, uses the built-in ; MySQL defaults. pdo_mysql.default_socket= [Phar] ; http://php.net/phar.readonly ;phar.readonly = On ; http://php.net/phar.require-hash ;phar.require_hash = On ;phar.cache_list = [mail function] ; For Win32 only. ; http://php.net/smtp SMTP = localhost ; http://php.net/smtp-port smtp_port = 25 ; For Win32 only. ; http://php.net/sendmail-from ;sendmail_from = [email protected] ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path ;sendmail_path = ;mail.force_extra_parameters = ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename mail.add_x_header = Off ; The path to a log file that will log all mail() calls. Log entries include ; the full path of the script, line number, To address and headers. ;mail.log = ; Log mail to syslog (Event Log on Windows). ;mail.log = syslog [ODBC] ; http://php.net/odbc.default-db ;odbc.default_db = Not yet implemented ; http://php.net/odbc.default-user ;odbc.default_user = Not yet implemented ; http://php.net/odbc.default-pw ;odbc.default_pw = Not yet implemented ; Controls the ODBC cursor model. ; Default: SQL_CURSOR_STATIC (default). ;odbc.default_cursortype ; Allow or prevent persistent links. ; http://php.net/odbc.allow-persistent odbc.allow_persistent = On ; Check that a connection is still valid before reuse. ; http://php.net/odbc.check-persistent odbc.check_persistent = On ; Maximum number of persistent links. -1 means no limit. ; http://php.net/odbc.max-persistent odbc.max_persistent = -1 ; Maximum number of links (persistent + non-persistent). -1 means no limit. ; http://php.net/odbc.max-links odbc.max_links = -1 ; Handling of LONG fields. Returns number of bytes to variables. 0 means ; passthru. ; http://php.net/odbc.defaultlrl odbc.defaultlrl = 4096 ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation ; of odbc.defaultlrl and odbc.defaultbinmode ; http://php.net/odbc.defaultbinmode odbc.defaultbinmode = 1 [MySQLi] ; Maximum number of persistent links. -1 means no limit. ; http://php.net/mysqli.max-persistent mysqli.max_persistent = -1 ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements ; http://php.net/mysqli.allow_local_infile ;mysqli.allow_local_infile = On ; Allow or prevent persistent links. ; http://php.net/mysqli.allow-persistent mysqli.allow_persistent = On ; Maximum number of links. -1 means no limit. ; http://php.net/mysqli.max-links mysqli.max_links = -1 ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look ; at MYSQL_PORT. ; http://php.net/mysqli.default-port mysqli.default_port = 3306 ; Default socket name for local MySQL connects. If empty, uses the built-in ; MySQL defaults. ; http://php.net/mysqli.default-socket mysqli.default_socket = ; Default host for mysqli_connect() (doesn't apply in safe mode). ; http://php.net/mysqli.default-host mysqli.default_host = ; Default user for mysqli_connect() (doesn't apply in safe mode). ; http://php.net/mysqli.default-user mysqli.default_user = ; Default password for mysqli_connect() (doesn't apply in safe mode). ; Note that this is generally a *bad* idea to store passwords in this file. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw") ; and reveal this password! And of course, any users with read access to this ; file will be able to reveal the password as well. ; http://php.net/mysqli.default-pw mysqli.default_pw = ; Allow or prevent reconnect mysqli.reconnect = Off [mysqlnd] ; Enable / Disable collection of general statistics by mysqlnd which can be ; used to tune and monitor MySQL operations. mysqlnd.collect_statistics = On ; Enable / Disable collection of memory usage statistics by mysqlnd which can be ; used to tune and monitor MySQL operations. mysqlnd.collect_memory_statistics = Off ; Records communication from all extensions using mysqlnd to the specified log ; file. ; http://php.net/mysqlnd.debug ;mysqlnd.debug = ; Defines which queries will be logged. ;mysqlnd.log_mask = 0 ; Default size of the mysqlnd memory pool, which is used by result sets. ;mysqlnd.mempool_default_size = 16000 ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes. ;mysqlnd.net_cmd_buffer_size = 2048 ; Size of a pre-allocated buffer used for reading data sent by the server in ; bytes. ;mysqlnd.net_read_buffer_size = 32768 ; Timeout for network requests in seconds. ;mysqlnd.net_read_timeout = 31536000 ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA ; key. ;mysqlnd.sha256_server_public_key = [OCI8] ;oci8.privileged_connect = Off ;oci8.max_persistent = -1 ;oci8.persistent_timeout = -1 ;oci8.ping_interval = 60 ;oci8.connection_class = ;oci8.events = Off ;oci8.statement_cache_size = 20 ;oci8.default_prefetch = 100 ;oci8.old_oci_close_semantics = Off [PostgreSQL] pgsql.allow_persistent = On pgsql.auto_reset_persistent = Off ; Maximum number of persistent links. -1 means no limit. ; http://php.net/pgsql.max-persistent pgsql.max_persistent = -1 ; Maximum number of links (persistent+non persistent). -1 means no limit. ; http://php.net/pgsql.max-links pgsql.max_links = -1 pgsql.ignore_notice = 0 pgsql.log_notice = 0 [bcmath] ; Number of decimal digits for all bcmath functions. ; http://php.net/bcmath.scale bcmath.scale = 0 [browscap] ; http://php.net/browscap ;browscap = extra/browscap.ini [Session] session.save_handler = files ;session.save_path = "/valib/php/sessions" session.use_strict_mode = 0 ; Whether to use cookies. ; http://php.net/session.use-cookies session.use_cookies = 1 ; http://php.net/session.cookie-secure ;session.cookie_secure = session.use_only_cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = session.cookie_httponly = session.cookie_samesite = ; Handler used to serialize data. php is the standard serializer of PHP. ; http://php.net/session.serialize-handler session.serialize_handler = php session.gc_probability = 0 session.gc_divisor = 1000 ; After this number of seconds, stored data will be seen as 'garbage' and ; cleaned up by the garbage collection process. ; http://php.net/session.gc-maxlifetime session.gc_maxlifetime = 1440 session.referer_check = ; Set to {nocache,private,public,} to determine HTTP caching aspects ; or leave this empty to avoid sending anti-caching headers. ; http://php.net/session.cache-limiter session.cache_limiter = nocache ; Document expires after n minutes. ; http://php.net/session.cache-expire session.cache_expire = 180 session.use_trans_sid = 0 ; Default Value: 32 ; Development Value: 26 ; Production Value: 26 session.sid_length = 26 session.trans_sid_tags = "a=href,area=href,frame=src,form=" ; Default Value: "" ; Development Value: "" ; Production Value: "" ;session.trans_sid_hosts="" session.sid_bits_per_character = 5 ;session.upload_progress.enabled = On ;session.upload_progress.cleanup = On ;session.upload_progress.prefix = "upload_progress_" ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS" ;session.upload_progress.freq = "1%" ;session.upload_progress.min_freq = "1" ; Only write session data when session data is changed. Enabled by default. ; http://php.net/session.lazy-write ;session.lazy_write = On [Assertion] ; Switch whether to compile assertions at all (to have no overhead at run-time) ; -1: Do not compile at all ; 0: Jump over assertion at run-time ; 1: Execute assertions ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1) ; Default Value: 1 ; Development Value: 1 ; Production Value: -1 ; http://php.net/zend.assertions zend.assertions = -1 ;assert.active = On ;assert.exception = On ;assert.warning = On ;assert.bail = Off ;assert.callback = 0 ;assert.quiet_eval = 0 [COM] ;com.typelib_file = ;com.allow_dcom = true ;com.autoregister_typelib = true ;com.autoregister_casesensitive = false ;com.autoregister_verbose = true ;com.code_page= [mbstring] ;mbstring.language = Japanese ;mbstring.internal_encoding = ;mbstring.http_input = ;mbstring.http_output = ;mbstring.encoding_translation = Off ;mbstring.detect_order = auto ;mbstring.substitute_character = none ;mbstring.func_overload = 0 ;mbstring.strict_detection = On ;mbstring.http_output_conv_mimetype= ;mbstring.regex_stack_limit=100000 ;mbstring.regex_retry_limit=1000000 [gd] ;gd.jpeg_ignore_warning = 1 [exif] ;exif.encode_unicode = ISO-8859-15 ;exif.decode_unicode_motorola = UCS-2BE ;exif.decode_unicode_intel = UCS-2LE ;exif.encode_jis = ;exif.decode_jis_motorola = JIS ;exif.decode_jis_intel = JIS [Tidy] tidy.clean_output = Off [soap] soap.wsdl_cache_enabled=1 soap.wsdl_cache_dir="/tmp" soap.wsdl_cache_ttl=86400 soap.wsdl_cache_limit = 5 [sysvshm] ;sysvshm.init_mem = 10000 [ldap] ; Sets the maximum number of open links or -1 for unlimited. ldap.max_links = -1 [dba] ;dba.default_handler= [opcache] ; Determines if Zend OPCache is enabled ;opcache.enable=1 ; Determines if Zend OPCache is enabled for the CLI version of PHP ;opcache.enable_cli=0 ; The OPcache shared memory storage size. ;opcache.memory_consumption=128 ; The amount of memory for interned strings in Mbytes. ;opcache.interned_strings_buffer=8 ; The maximum number of keys (scripts) in the OPcache hash table. ; Only numbers between 200 and 1000000 are allowed. ;opcache.max_accelerated_files=10000 ; The maximum percentage of "wasted" memory until a restart is scheduled. ;opcache.max_wasted_percentage=5 ;opcache.use_cwd=1 ;opcache.validate_timestamps=1 ;opcache.revalidate_freq=2 ;opcache.revalidate_path=0 ;opcache.save_comments=1 ;opcache.enable_file_override= ;opcache.optimization_level=0x7FFFBFFF ;opcache.dups_fix=0 ;opcache.blacklist_filename= ;opcache.max_file_size=0 ;opcache.consistency_checks=0 ;opcache.force_restart_timeout=180 ;opcache.error_log= ;opcache.log_verbosity_level=1 ;opcache.preferred_memory_model= ;opcache.protect_memory=0 ;opcache.restrict_api= ;opcache.mmap_base= ; Facilitates multiple OPcache instances per user (for Windows only). All PHP ; processes with the same cache ID and user share an OPcache instance. ;opcache.cache_id= ; Enables and sets the second level cache directory. ; It should improve performance when SHM memory is full, at server restart or ; SHM reset. The default "" disables file based caching. ;opcache.file_cache= ; Enables or disables opcode caching in shared memory. ;opcache.file_cache_only=0 ; Enables or disables checksum validation when script loaded from file cache. ;opcache.file_cache_consistency_checks=1 ; Implies opcache.file_cache_only=1 for a certain process that failed to ; reattach to the shared memory (for Windows only). Explicitly enabled file ; cache is required. ;opcache.file_cache_fallback=1 ; Enables or disables copying of PHP code (text segment) into HUGE PAGES. ; This should improve performance, but requires appropriate OS configuration. ;opcache.huge_code_pages=1 ; Validate cached file permissions. ;opcache.validate_permission=0 ; Prevent name collisions in chroot'ed environment. ;opcache.validate_root=0 ; If specified, it produces opcode dumps for debugging different stages of ; optimizations. ;opcache.opt_debug_level=0 ; Specifies a PHP script that is going to be compiled and executed at server ; start-up. ; http://php.net/opcache.preload ;opcache.preload= ; Preloading code as root is not allowed for security reasons. This directive ; facilitates to let the preloading to be run as another user. ; http://php.net/opcache.preload_user ;opcache.preload_user= ; Prevents caching files that are less than this number of seconds old. It ; protects from caching of incompletely updated files. In case all file updates ; on your site are atomic, you may increase performance by setting it to "0". ;opcache.file_update_protection=2 ; Absolute path used to store shared lockfiles (for *nix only). ;opcache.lockfile_path=/tmp [curl] ; A default value for the CURLOPT_CAINFO option. This is required to be an ; absolute path. ;curl.cainfo = [openssl] ; The location of a Certificate Authority (CA) file on the local filesystem ; to use when verifying the identity of SSL/TLS peers. Most users should ; not specify a value for this directive as PHP will attempt to use the ; OS-managed cert stores in its absence. If specified, this value may still ; be overridden on a per-stream basis via the "cafile" SSL stream context ; option. ;openssl.cafile= ; If openssl.cafile is not specified or if the CA file is not found, the ; directory pointed to by openssl.capath is searched for a suitable ; certificate. This value must be a correctly hashed certificate directory. ; Most users should not specify a value for this directive as PHP will ; attempt to use the OS-managed cert stores in its absence. If specified, ; this value may still be overridden on a per-stream basis via the "capath" ; SSL stream context option. ;openssl.capath= [ffi] ; FFI API restriction. Possible values: ; "preload" - enabled in CLI scripts and preloaded files (default) ; "false" - always disabled ; "true" - always enabled ;ffi.enable=preload ; List of headers files to preload, wildcard patterns allowed. ;ffi.preload= 

8. output service nginx status & service php7.4-fpm status


# sudo service php7.4-fpm status ● php7.4-fpm.service - The PHP 7.4 FastCGI Process Manager Loaded: loaded (/lib/systemd/system/php7.4-fpm.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2020-03-03 17:01:34 CET; 1min 59s ago Docs: man:php-fpm7.4(8) Process: 620 ExecStartPost=/uslib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/7.4/fpm/pool.d/www.conf 74 (code=exited, status=0/SUCCESS) Main PID: 598 (php-fpm7.4) Status: "Processes active: 0, idle: 2, Requests: 0, slow: 0, Traffic: 0req/sec" Tasks: 3 (limit: 4915) Memory: 12.4M CGroup: /system.slice/php7.4-fpm.service ├─598 php-fpm: master process (/etc/php/7.4/fpm/php-fpm.conf) ├─618 php-fpm: pool www └─619 php-fpm: pool www Mär 03 17:01:34 user systemd[1]: Starting The PHP 7.4 FastCGI Process Manager... Mär 03 17:01:34 user systemd[1]: Started The PHP 7.4 FastCGI Process Manager. 

# sudo service nginx status ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2020-03-03 17:01:39 CET; 2s ago Docs: man:nginx(8) Process: 639 ExecStartPre=/ussbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Process: 657 ExecStart=/ussbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Main PID: 658 (nginx) Tasks: 5 (limit: 4915) Memory: 4.9M CGroup: /system.slice/nginx.service ├─658 nginx: master process /ussbin/nginx -g daemon on; master_process on; ├─659 nginx: worker process ├─660 nginx: worker process ├─661 nginx: worker process └─662 nginx: worker process Mär 03 17:01:39 user systemd[1]: Starting A high performance web server and a reverse proxy server... Mär 03 17:01:39 user systemd[1]: Started A high performance web server and a reverse proxy server. 
submitted by xmr123 to PHPhelp [link] [comments]

[IDEA] [PROPOSAL] Monero Debian (deb) packages / Debian package repository deb.getmonero.org (I can do)

I have the skills to implement this if wanted.
Possible User Experience
This is a proposal, i.e. not implemented yet. Instructions for users, simplified.
How to install monero using apt-get
Download the repository signing key.
wget https://www.getmonero.org/monero.asc
Add the signing key.
sudo apt-key --keyring /etc/apt/trusted.gpg.d/monero.gpg add ~/monero.asc
Add APT repository.
echo "deb https://deb.getmonero.org buster main" | sudo tee /etc/apt/sources.list.d/monero.list
Update your package lists.
sudo apt-get update
Install monero.
sudo apt-get install monero
A few technical implementation details
I would simply grab the binaries provided by getmonero.org, download them, check software (gpg) signatures, put these into deb packages, add these to a repository, and upload the repository.
What I would not do is creating the binaries during package creation. While this is nice to have, it doesn't help user experience and blocks the progress on reaching this goal. See next chapter.
Why simply put the pre-build Monero binaries into a deb package?
1) After bitcoin existing for more than 10 years, being popular and being in Debian unstable (sid) it still never made its way into Debian testing, let alone stable. Reason being explained that a difference in underlying libraries (even just security fixes) during compilation may result in a network split. Binaries compiled during packaging on different versions of Linux distributions might have different libraries that might cause a network fork / chain split.
References:
(Note: above website saying Tags: fixed-upstream is probably a mistake as discussion at bottom says.)
2) The github issue of packaging monero stalled.
3) By shipping the same binaries as provided by getmonero.org reduces the chances of introducing a backdoor.
Many Options
Timeline
Doable quickly. The electrum (bitcoin) AppImage was recently added to a Debian package (binaries-freedom) by me and is now easily installable in Whonix. Pre-installed in testers version of Whonix already.
About Me
I am the founder of Whonix, which I am maintaining at present for more than 7 years.
Whonix (formerly TorBOX) is a Debian GNU/Linux–based security-focused Linux distribution. It aims to provide privacy, security and anonymity on the internet.
You can see an overview of packages I am maintaining on my github profile.
To proof that this forum account adrelanos corresponds the same person maintaining whonix.org, it is added here.
Questions
What happened to, what is the successor of the forum funding system?
submitted by adrelanos to Monero [link] [comments]

[Update] CCSupport 1.2 - iOS 12 Support and Module Preferences (+ deb for rootlessJB)

Hello everyone, CCSupport 1.2 was just submitted to BigBoss and should be live within the next 48 hours.
EDIT: It's up now!

Whats new?

The update adds an additional option that will allow module developers to add preference pages to their modules (Video demo, Documentation).
On another note, iOS 12 is now officially supported. CCSupport should work on it just like it previously did once a full jailbreak (with Cydia and Substrate / Substitute) is released.

RootlessJB

I also managed to get CCSupport (and custom modules) to work with RootlessJB, you will probably need to use my specific version to get it to work however.
Download: (deb, patch yourself), (pre-patched zip)
Module debs need to be patched using my modified patcher script (at least until (/ if) jake merges my pull request).
Example usage: ./patcher .deb
Modules are loaded from /vaLIB/ControlCenteBundles.
An example path for a module would be /vaLIB/ControlCenteBundles/ExampleModule.bundle/.
After adding some modules, you will either need to reboot your phone and rejailbreak, or inject them manually by running inject /vaLIB/ControlCenteBundles/.bundle/ via SSH.
Huge thanks to @pancakeufo for helping me test this.

Other stuff

Source code on GitHub.
If you want to stay up to date with the development of CCSupport (and my other tweaks), make sure to follow me on Twitter.
If you want to support my work, feel free (but in no way obligated) to donate.
submitted by opa334 to jailbreak [link] [comments]

Pi zero w pi hole problems

So originally I tried this running a pi zero w with buster light. Found out that Jessie and stretch were what are officially supported so I switched to Jessie lite. I’m doing it headless. Ssh file is in boot and I have it set to connect to WiFi when it boots. No intention on hardlining this unless that’s my only option. I can ssh in and change password. So connecting is not an issue.
When I run pinhole install. First I get a x on root user check. Then it says script called with non-root privileges . Install goes through the graphical. Everything seems ok. Then it goes back to terminal.
I get a x on check for existing repository in etc/.pihole. Check on cloning from github.
X on check for existing repository in /vawww/html/admin. Check on cloneing.
X on downloading and installing FTL Error: unable to get latest release location from github. X on FTL engine not installed.
It never makes it back to the graphic for me to get the password to be able to log into the pi hole through the browser.
Am I trying to install without root privileges somehow? If so then what do I need to do? Change the password then log out and back in? I’ve even switched to root and tried the install and still same thing happens.
This was my original post and I’ve moved it here cause raspberry pi sub won’t let me post. No clue why.
At this point tho. I’ve done multiple clean installs on 2 different pi zero w’s with the results always being the same. I honestly think that’s it might not be on my end at this point. 2 different devices with multiple clean installs.
Idk I’m honestly bout to loose my shit. I’ve been reading installing and tweaking for 10 hours all to end up in the same spot I start from every time.

If someone could help I’d seriously be thankful.

(This was a strech install this time. Fully updated) [email protected]:~ $ curl -sSL https://install.pi-hole.net | sudo bash stty: 'standard input': Inappropriate ioctl for device
[✓] Root user check
 .;;,. .ccccc:,. :cccclll:. ..,, :ccccclll. ;ooodc 'ccll:;ll .oooodc .;cll.;;looo:. .. ','. .',,,,,,'. .',,,,,,,,,,. .',,,,,,,,,,,,.... ....''',,,,,,,'....... ......... .... ......... .......... .......... .......... .......... ......... .... ......... ........,,,,,,,'...... ....',,,,,,,,,,,,. .',,,,,,,,,'. .',,,,,,'. ..'''. 
[✓] Disk space check [✓] Update local cache of available packages
[✓] Checking apt-get for upgraded packages... up to date!
[i] Installer Dependency checks... [✓] Checking for apt-utils [i] Checking for dialog (will be installed) [✓] Checking for debconf [✓] Checking for dhcpcd5 [✓] Checking for git [✓] Checking for iproute2 [✓] Checking for whiptail [i] Using OpenDNS (ECS) [✓] Set IP address to 192.168.0.13 You may need to restart after the install is complete [i] IPv4 address: 192.168.0.13/24 [i] IPv6 address: [i] Web Interface On [i] Web Server On [i] Logging On. [✗] Check for existing repository in /etc/.pihole [✓] Clone https://github.com/pi-hole/pi-hole.git into /etc/.pihole
[✗] Check for existing repository in /vawww/html/admin [✓] Clone https://github.com/pi-hole/AdminLTE.git into /vawww/html/admin
[i] Main Dependency checks... [✓] Checking for cron [✓] Checking for curl [i] Checking for dnsutils (will be installed) [✓] Checking for iputils-ping [i] Checking for lsof (will be installed) [i] Checking for netcat (will be installed) [✓] Checking for psmisc [✓] Checking for sudo [✓] Checking for unzip [✓] Checking for wget [i] Checking for idn2 (will be installed) [i] Checking for sqlite3 (will be installed) [✓] Checking for libcap2-bin [i] Checking for dns-root-data (will be installed) [i] Checking for resolvconf (will be installed) [✓] Checking for libcap2 [i] Checking for lighttpd (will be installed) [i] Checking for php-common (will be installed) [i] Checking for php-cgi (will be installed) [i] Checking for php-sqlite3 (will be installed) [✓] Enabling lighttpd service to start on reboot...
[i] FTL Checks...
[✓] Detected ARM-hf architecture (armv6 or lower) Using ARM binary [i] Checking for existing FTL binary... [✗] Downloading and Installing FTL Error: Unable to get latest release location from GitHub [✗] FTL Engine not installed [email protected]:~ $
submitted by Zrh87 to pihole [link] [comments]

Free and Open source CAM/CNC software

Sadly the world of CAM/CNC is dominated by proprietary software which costs hobbyists and students a lot. Besides for scientists and researchers, they do not provide much freedom to tinker around. I have previously listed all the available CAD options here or if you are interested in indirect code-based design here. I'm going to just list everything I have found and then maybe you guys can share others:

Machine languages:

These are the languages most of CNC/NC controllers can read:
some software can directly read 2D formats like SVG and DXF too.

Nesting:

CAM and slicer software:

These are the software which takes the CAD file and then generate the tool-path in machine language.

PCB:

3D printing:

Simulation and Post-processors:

If you have the machine code, you need to simulate the process to be sure it is what you intended and sometimes you have to modify the code manually and simulate it again.

Machine controller:

These are the software which read the tool-path and control the CNC/NC machine directly:
more firmwares listed here, grbl interfaces listed here.

Other:

There are other lists also at wiki.shapeoko, wiki.linuxcnc, freebyte, GroundControl-programs), fablab, maker-works. Also here a list of Python G-code generator scripts. I have also posted this question here in hobycnc sub
P.S. If this post is archived and you want to comment on it please Tweet me.
submitted by foadsf to CNC [link] [comments]

Website blocked, then content missing from Pihole home page

Website blocked, then content missing from Pihole home page

Summary

After a transient "Website blocked" page, most of the web content of the web interface home page is missing when accessed by name and none of a reboot, repair or reconfigure fix it. When accessed by IP, it works fine.

Details

Opening the web interface home page in a browser produced a strange page with a seemingly contradictory message which I've not seen before. ns1.halplant.net is the one and only Pihole on the network.

https://preview.redd.it/5qu6by0tqy131.png?width=1579&format=png&auto=webp&s=f354bfcd19dade1d9a5f2b6740b58b3b93b43638
Forcefully reloading (i.e. shift-reload) the page produced the same page. Forcefully reloading again produced this page, which is now the only page served.
https://preview.redd.it/ge6i5kv3sy131.png?width=1579&format=png&auto=webp&s=4615121df8557b09cbb6a10406f3fc49d93fa9b0
Running a repair with pihole -r shows that everything seems fine. Here's the full output:
[email protected]:~ $ pihole -r [✓] Root user check .;;,. .ccccc:,. :cccclll:. ..,, :ccccclll. ;ooodc 'ccll:;ll .oooodc .;cll.;;looo:. .. ','. .',,,,,,'. .',,,,,,,,,,. .',,,,,,,,,,,,.... ....''',,,,,,,'....... ......... .... ......... .......... .......... .......... .......... ......... .... ......... ........,,,,,,,'...... ....',,,,,,,,,,,,. .',,,,,,,,,'. .',,,,,,'. ..'''. [i] Existing PHP installation detected : PHP version 7.0.33-0+deb9u3 [i] Repair option selected [✓] Disk space check [✓] Update local cache of available packages [✓] Checking apt-get for upgraded packages... up to date! [i] Installer Dependency checks... [✓] Checking for apt-utils [✓] Checking for dialog [✓] Checking for debconf [✓] Checking for dhcpcd5 [✓] Checking for git [✓] Checking for iproute2 [✓] Checking for whiptail [i] Performing reconfiguration, skipping download of local repos [✓] Resetting repository within /etc/.pihole... [✓] Resetting repository within /vawww/html/admin... [i] Main Dependency checks... [✓] Checking for cron [✓] Checking for curl [✓] Checking for dnsutils [✓] Checking for iputils-ping [✓] Checking for lsof [✓] Checking for netcat [✓] Checking for psmisc [✓] Checking for sudo [✓] Checking for unzip [✓] Checking for wget [✓] Checking for idn2 [✓] Checking for sqlite3 [✓] Checking for libcap2-bin [✓] Checking for dns-root-data [✓] Checking for resolvconf [✓] Checking for libcap2 [✓] Checking for lighttpd [✓] Checking for php7.0-common [✓] Checking for php7.0-cgi [✓] Checking for php7.0-sqlite3 [✓] Enabling lighttpd service to start on reboot... [i] FTL Checks... [✓] Detected ARM-hf architecture (armv7+) [i] Checking for existing FTL binary... [i] Latest FTL Binary already installed (v4.3.1). Confirming Checksum... [i] Checksum correct. No need to download! [✓] Checking for user 'pihole' [✓] Installing scripts from /etc/.pihole [i] Installing configs from /etc/.pihole... [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone! [✓] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf [i] Installing blocking page... [✓] Creating directory for blocking page, and copying files [✗] Backing up index.lighttpd.html No default index.lighttpd.html file found... not backing up [✓] Installing sudoer file [✓] Installing latest Cron script [✓] Installing latest logrotate script [i] Backing up /etc/dnsmasq.conf to /etc/dnsmasq.conf.old [✓] man pages installed and database updated [i] Testing if systemd-resolved is enabled [i] Systemd-resolved is not enabled [✓] Restarting lighttpd service... [✓] Enabling lighttpd service to start on reboot... [i] Restarting services... [✓] Enabling pihole-FTL service to start on reboot... [✓] Restarting pihole-FTL service... [✓] Deleting existing list cache [i] Pi-hole blocking is enabled [✗] DNS resolution is currently unavailable [✓] DNS resolution is now available [i] Neutrino emissions detected... [✓] Pulling blocklist source list into range [i] Target: raw.githubusercontent.com (hosts) [✓] Status: Retrieval successful [i] Target: mirror1.malwaredomains.com (justdomains) [✓] Status: Retrieval successful [i] Target: sysctl.org (hosts) [✓] Status: Retrieval successful [i] Target: zeustracker.abuse.ch (blocklist.php?download=domainblocklist) [✓] Status: Retrieval successful [i] Target: s3.amazonaws.com (simple_tracking.txt) [✓] Status: Retrieval successful [i] Target: s3.amazonaws.com (simple_ad.txt) [✓] Status: Retrieval successful [i] Target: hosts-file.net (ad_servers.txt) [✓] Status: Retrieval successful [✓] Consolidating blocklists [✓] Extracting domains from blocklists [i] Number of domains being pulled in by gravity: 135701 [✓] Removing duplicate domains [i] Number of unique domains trapped in the Event Horizon: 113443 [i] Number of whitelisted domains: 4 [i] Number of blacklisted domains: 0 [i] Number of regex filters: 0 [✓] Parsing domains into hosts format [✓] Cleaning up stray matter [✓] Force-reloading DNS service [✓] DNS service is running [✓] Pi-hole blocking is Enabled [i] The install log is located at: /etc/pihole/install.log Update Complete! Current Pi-hole version is v4.3 Current AdminLTE version is v4.3 Current FTL version is v4.3.1 
and pictured
https://preview.redd.it/2g2a2aatsy131.png?width=484&format=png&auto=webp&s=24f254c43faf4b277b428abacd9cbf457879b55a
Rebooting the Pihole made no difference. Reconfiguring via pihole -r made no difference. Clearing browser data makes no difference and nor does the choice of browser as evidence by loading the page in a Firefox Private window.

https://preview.redd.it/o7fqrvi9uy131.png?width=1280&format=png&auto=webp&s=f5f4a9a11285cbab275a3de1527f02a213f9127f
in which there was no initial Website blocked page.
There is nothing but stop/start logs in /valog/lighttpd/error.log
2019-06-02 11:41:01: (server.c.1828) server stopped by UID = 0 PID = 1 2019-06-02 11:41:01: (log.c.217) server started 
When accessed by IP, i.e. http://172.17.2.53/, the expected page is consistently loaded.
https://preview.redd.it/lm076ijk2z131.png?width=1579&format=png&auto=webp&s=0e2511d56debecfe7addc5cf9e72a641cee5efbb
The domain, halplant.net, is already whitelisted. Adding ns1.halplant.net to the whitelist makes no difference.
The admin interface - http://ns1.halplant.net/admin/ - continues to work normally.

Aside from network configuration, setting locale and keyboard with sudo localectl set-locale LANG=en_US.utf8 ; sudo localectl set-keymap us and updates with pihole -up I have not changed anything recently or related to the web interface between the time when I believe it was working normally and now.
submitted by AJCxZ0 to pihole [link] [comments]

PiHole Failing Install multiple methods

Okay, so this is like the 5th time I've tried installing this and I'm not sure what's going on here. I've done several flashes too. I'm using a RPi-3b+. I've checked multiple guides which all make it look trivial, so I don't think I'm doing anything weird.
I first tried with raspbian lite since this is going to be headless (I am at all times connected via ssh). Tried the two line because I don't like piping bash. Didn't work after full updates. I notice that I can't even ping outside the local network. The failure I get is at FTL (it always fails here and after install I can't access wide area networks, only local). I tried the git approach. Even the one line installer. All the same. So I decided to try the full raspbian. Updated then tried all the methods again (after flashing each time). The full output is below.
I'm going through the install script and nothing is popping out at me as being obviously wrong. Is the some set of options that I'm doing wrong? I'm just selecting all the defaults and cloudflare. (I do use cloudflare as the DNS lookup for my router and I can ping this on my local machine). I've also checked pings and pulls to the FTL lines in the bash script. I get the correct version numbers and stuff through my local machine.
Also, what is cutting off my access outside local? I see the avahi daemon running and killing it does nothing. I can't seem to find anything on the internet about this problem. I'm not a networking guy so this is always beyond me.
After the install I have /etc/.pihole and /etc/pihole (which only contains adlists.list). `ps aux | grep -i pihole` shows nothing (nor pi-hole. And nothing relevant for pi). `find / -name pihole` only returns me the two /etc directories and the clone of the repo that I have. The pihole command does not get added to `PATH` but I can run it from `/etc/.pihole`. As probably guessed, I don't get much from running this. Uninstall, disable, and restartdns fails because there's nothing in `/opt`.
I'm really at a complete loss here.
[email protected]:~/Downloads/Pi-hole/automated install $ sudo ./basic-install.sh
[✓] Root user check
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'ccll:;ll .oooodc
.;cll.;;looo:.
.. ','.
.',,,,,,'.
.',,,,,,,,,,.
.',,,,,,,,,,,,....
....''',,,,,,,'.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'......
....',,,,,,,,,,,,.
.',,,,,,,,,'.
.',,,,,,'.
..'''.

[✓] Disk space check
[✓] Update local cache of available packages

[✓] Checking apt-get for upgraded packages... up to date!

[i] Installer Dependency checks...
[✓] Checking for apt-utils
[i] Checking for dialog (will be installed)
[✓] Checking for debconf
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
[i] Using Cloudflare
[✓] Set IP address to 192.168.x.xxx
You may need to restart after the install is complete
[i] Unable to find IPv6 ULA/GUA address, IPv6 adblocking will not be enabled
[i] IPv4 address: 192.168.x.xxx/24
[i] IPv6 address:
[i] Web Interface On
[i] Web Server On
[i] Logging On.
[✗] Check for existing repository in /etc/.pihole
[✓] Clone https://github.com/pi-hole/pi-hole.git into /etc/.pihole
[✗] Check for existing repository in /vawww/html/admin
[✓] Clone https://github.com/pi-hole/AdminLTE.git into /vawww/html/admin
[i] Main Dependency checks...
[✓] Checking for cron
[✓] Checking for curl
[i] Checking for dnsutils (will be installed)
[✓] Checking for iputils-ping
[✓] Checking for lsof
[i] Checking for netcat (will be installed)
[✓] Checking for psmisc
[✓] Checking for sudo
[✓] Checking for unzip
[✓] Checking for wget
[i] Checking for idn2 (will be installed)
[i] Checking for sqlite3 (will be installed)
[✓] Checking for libcap2-bin
[i] Checking for dns-root-data (will be installed)
[i] Checking for resolvconf (will be installed)
[✓] Checking for libcap2
[i] Checking for lighttpd (will be installed)
[i] Checking for php-common (will be installed)
[i] Checking for php-cgi (will be installed)
[i] Checking for php-sqlite3 (will be installed)
[✓] Enabling lighttpd service to start on reboot...
[i] FTL Checks...
[✓] Detected ARM-hf architecture (armv6 or lower) Using ARM binary
[i] Checking for existing FTL binary...
[✗] Downloading and Installing FTL
Error: Unable to get latest release location from GitHub
[✗] FTL Engine not installed
submitted by godelski to pihole [link] [comments]

Script de Otimização do Windows

Criei um mega script de otimização do windows, retirando essas tranqueiras de telemetria, e fazendo aqueles tweaks que todo mundo faz. Um arquivo .bat ao invés daquelas iso customizadas. Comecei com a base de um script que o cara do hwinfo fez.
Só colar no bloco de notas e salvar como .bat, e executar como administrador. (não esquecer de gerar um ponto de recuperação, para caso não saia como você goste).
Lembrando que cada um pode customizar para uso próprio. Acho que expliquei o que cada linha faz. É só retirar ou incluir a tag REM em cada linha.Nesta versão, ela também instala o chocolatey o que permite, inclusive, a instalação dos programas que quiser. É só colocar ou tirar o REM de cada linha.Quaisquer sugestões ou bugs, me avisem.
Criei um repositório no github. Para quem interessar, está aqui: https://github.com/AFaustini/OtimizeWindows
@rem *** Desabilitar alguns serviços *** sc stop DiagTrack sc stop diagnosticshub.standardcollector.service sc stop dmwappushservice sc stop WMPNetworkSvc sc stop WSearch sc stop lmhosts sc stop TrkWks sc stop VSS sc stop RemoteAccess sc stop WSearch sc stop iphlpsvc sc config DiagTrack start= disabled sc config diagnosticshub.standardcollector.service start= disabled sc config dmwappushservice start= disabled sc config RemoteRegistry start= disabled sc config TrkWks start= disabled sc config WMPNetworkSvc start= disabled sc config WSearch start= disabled sc config SysMain start= disabled sc config lmhosts start= disabled sc config TrkWks start= disabled sc config VSS start= disabled sc config RemoteAccess start= disabled sc config WSearch start= disabled sc config iphlpsvc start= disabled REM *** Tweaks de tarefas agendadas *** schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Uploader" /Disable schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyUpload" /Disable schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentLogOn" /Disable schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentFallBack" /Disable schtasks /Change /TN "Microsoft\Office\Office 15 Subscription Heartbeat" /Disable REM schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable REM schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable REM schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable REM schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable *** Not sure if should be disabled, maybe related to S.M.A.R.T. REM schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable REM schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable REM schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable REM schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable REM The stubborn task Microsoft\Windows\SettingSync\BackgroundUploadTask can be Disabled using a simple bit change. I use a REG file for that (attached to this post). REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Disable REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Disable REM schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /Disable REM schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Automatic App Update" /Disable @rem *** Remover Telemetria e Coleta de Dados *** reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 1 /f reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v DontOfferThroughWUAU /t REG_DWORD /d 1 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v "Start" /t REG_DWORD /d 0 /f reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\SQMLogger" /v "Start" /t REG_DWORD /d 0 /f @REM Configurações -> Privacidade -> Geral -> Permitir aplicativos usar meu ID de propaganda reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v Enabled /t REG_DWORD /d 0 /f REM - Smart Scrren para aplicativos da Store reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v EnableWebContentEvaluation /t REG_DWORD /d 0 /f REM - Let websites provide locally... reg add "HKCU\Control Panel\International\User Profile" /v HttpAcceptLanguageOptOut /t REG_DWORD /d 1 /f @REM WiFi Sense: HotSpot Sharing: Disable reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting" /v value /t REG_DWORD /d 0 /f @REM WiFi Sense: Shared HotSpot Auto-Connect: Disable reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots" /v value /t REG_DWORD /d 0 /f @REM Mudar updates para notificar o agendamento de reinicialização reg add "HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v UxOption /t REG_DWORD /d 1 /f @REM Disable P2P Update downlods outside of local network reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /v DODownloadMode /t REG_DWORD /d 0 /f @REM *** Desabilitar Cortana e Telemetria *** reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d 0 /f REM *** Hide the search box from taskbar. You can still search by pressing the Win key and start typing what you're looking for *** REM 0 = hide completely, 1 = show only icon, 2 = show long search box reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f REM *** Disable MRU lists (jump lists) of XAML apps in Start Menu *** REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackDocs" /t REG_DWORD /d 0 /f REM *** Set Windows Explorer to start on This PC instead of Quick Access *** REM 1 = This PC, 2 = Quick access REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "LaunchTo" /t REG_DWORD /d 1 /f REM *** Desabilitar sugestões no Menu Iniciar *** reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f REM *** Desabilitar hibernação *** powercfg -h off REM *** Desabilitar memória virtual *** wmic computersystem where name="%computername%" set AutomaticManagedPagefile=False wmic pagefile delete REM *** Desabilitar Superfetch *** reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "EnableSuperfetch" /t REG_DWORD /d 00000000 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "EnablePrefetcher" /t REG_DWORD /d 00000000 /f REM *** Acelerar desligamento *** reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "WaitToKillServiceTimeout" /t REG_SZ /d 2000 /f REM *** Habilitar todos os icones na tray*** reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explore" /v "EnableAutoTray" /t REG_DWORD /d 0 /f REM *** Tweaks Variados *** reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "AutoEndTasks" /t REG_SZ /d 1 /f reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "HungAppTimeout" /t REG_SZ /d 1000 /f reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "MenuShowDelay" /t REG_SZ /d 20 /f reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "WaitToKillAppTimeout" /t REG_SZ /d 2000 /f reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "LowLevelHooksTimeout" /t REG_SZ /d 1000 /f reg add "HKEY_CURRENT_USER\Control Panel\Mouse" /v "MouseHoverTime" /t REG_SZ /d 8 /f reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoLowDiskSpaceChecks" /t REG_DWORD /d 00000001 /f REM *** Melhorar qualidade papel de parede *** reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "JPEGImportQuality" /t REG_DWORD /d 00000064 /f REM *** Tirar animações inuteís *** reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "VisualFXSetting" /t REG_DWORD /d 2 /f reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "VisualFXSetting" /t REG_DWORD /d 3 /f reg add "HKCU\Control Panel\Desktop" /v "UserPreferencesMask" /t REG_BINARY /d 9012038010000000 /f reg add "HKCU\Control Panel\Desktop\WindowMetrics" /v "MinAnimate" REG_SZ /d 0 /f reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarAnimations" /t REG_DWORD /d 0 /f reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "DisablePreviewDesktop" /T REG_DWORD /D 0 /F reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM " /V "DisablePreviewDesktop" /T REG_DWORD /D 0 /F reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "IconsOnly" /T REG_DWORD /D 1 /F reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "ListviewAlphaSelect" /T REG_DWORD /D 0 /F reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "DragFullWindows" /t REG_DWORD /d 0 /f reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "FontSmoothing" /t REG_DWORD /d 2 /f reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "ListviewShadow" /T REG_DWORD /D 0 /F REM *** Desabilitar Game Bar *** reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" /V "AppCaptureEnabled" /T REG_DWORD /D 0 /F reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" /V "GameDVR_Enabled" /T REG_DWORD /D 0 /F REM *** Desabilitar Controle de Conta de Usuário *** reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /V "PromptOnSecureDesktop" /T REG_DWORD /D 0 /F reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /V "EnableLUA" /T REG_DWORD /D 1 /F reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /V "ConsentPromptBehaviorAdmin" /T REG_DWORD /D 0 /F REM *** Cores no iniciar e barra de tarefas *** Reg Add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v ColorPrevalence /t REG_DWORD /d 1 /f reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "AutoColorization " /t REG_DWORD /d 0 /f REM *** Prompt de Comando por padrão *** REG Add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /V DontUsePowerShellOnWinX /T REG_DWORD /D 1 /F REM *** Nunca Desligar HD *** rem bateria powercfg /SETDCVALUEINDEX SCHEME_CURRENT 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0 rem tomada powercfg /SETACVALUEINDEX SCHEME_CURRENT 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0 @rem NOW JUST SOME TWEAKS REM *** Show hidden files in Explorer *** reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d 1 /f REM *** Show super hidden system files in Explorer *** reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d 1 /f REM *** Show file extensions in Explorer *** REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f REM *** Uninstall OneDrive *** REM start /wait "" "%SYSTEMROOT%\SYSWOW64\ONEDRIVESETUP.EXE" /UNINSTALL REM rd C:\OneDriveTemp /Q /S >NUL 2>&1 REM rd "%USERPROFILE%\OneDrive" /Q /S >NUL 2>&1 REM rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S >NUL 2>&1 REM rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S >NUL 2>&1 REM reg add "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1 REM reg add "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1 REM echo OneDrive has been removed. Windows Explorer needs to be restarted. REM pause REM start /wait TASKKILL /F /IM explorer.exe REM start explorer.exe. REM ***Remove Unused Features*** DISM.exe /Online /Disable-Feature /featurename:SimpleTCP /Remove DISM.exe /Online /Disable-Feature /featurename:SNMP /Remove DISM.exe /Online /Disable-Feature /featurename:WMISnmpProvider /Remove DISM.exe /Online /Disable-Feature /featurename:Windows-Identity-Foundation /Remove DISM.exe /Online /Disable-Feature /featurename:DirectoryServices-ADAM-Client /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-WebServerRole /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-WebServer /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-CommonHttpFeatures /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-HttpErrors /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-HttpRedirect /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-ApplicationDevelopment /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-NetFxExtensibility /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-NetFxExtensibility45 /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-HealthAndDiagnostics /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-HttpLogging /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-LoggingLibraries /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-RequestMonitor /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-HttpTracing /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-Security /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-URLAuthorization /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-RequestFiltering /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-IPSecurity /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-Performance /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-HttpCompressionDynamic /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-WebServerManagementTools /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementScriptingTools /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-IIS6ManagementCompatibility /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-Metabase /Remove DISM.exe /Online /Disable-Feature /featurename:WAS-WindowsActivationService /Remove DISM.exe /Online /Disable-Feature /featurename:WAS-ProcessModel /Remove DISM.exe /Online /Disable-Feature /featurename:WAS-NetFxEnvironment /Remove DISM.exe /Online /Disable-Feature /featurename:WAS-ConfigurationAPI /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-HostableWebCore /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-CertProvider /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-WindowsAuthentication /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-DigestAuthentication /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-ClientCertificateMappingAuthentication /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-IISCertificateMappingAuthentication /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-ODBCLogging /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-StaticContent /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-DefaultDocument /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-DirectoryBrowsing /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-WebDAV /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-WebSockets /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-ApplicationInit /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-ASPNET /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-ASPNET45 /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-ASP /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-CGI /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-ISAPIExtensions /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-ISAPIFilter /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-ServerSideIncludes /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-CustomLogging /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-BasicAuthentication /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-HttpCompressionStatic /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementConsole /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementService /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-WMICompatibility /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-LegacyScripts /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-LegacySnapIn /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-FTPServer /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-FTPSvc /Remove DISM.exe /Online /Disable-Feature /featurename:IIS-FTPExtensibility /Remove DISM.exe /Online /Disable-Feature /featurename:MSMQ-Container /Remove DISM.exe /Online /Disable-Feature /featurename:MSMQ-Server /Remove DISM.exe /Online /Disable-Feature /featurename:MSMQ-Triggers /Remove DISM.exe /Online /Disable-Feature /featurename:MSMQ-ADIntegration /Remove DISM.exe /Online /Disable-Feature /featurename:MSMQ-HTTP /Remove DISM.exe /Online /Disable-Feature /featurename:MSMQ-Multicast /Remove DISM.exe /Online /Disable-Feature /featurename:MSMQ-DCOMProxy /Remove DISM.exe /Online /Disable-Feature /featurename:WCF-HTTP-Activation45 /Remove DISM.exe /Online /Disable-Feature /featurename:WCF-TCP-Activation45 /Remove DISM.exe /Online /Disable-Feature /featurename:WCF-Pipe-Activation45 /Remove DISM.exe /Online /Disable-Feature /featurename:WCF-MSMQ-Activation45 /Remove DISM.exe /Online /Disable-Feature /featurename:WCF-HTTP-Activation /Remove DISM.exe /Online /Disable-Feature /featurename:WCF-NonHTTP-Activation /Remove DISM.exe /Online /Disable-Feature /featurename:NetFx4Extended-ASPNET45 /Remove DISM.exe /Online /Disable-Feature /featurename:MediaPlayback /Remove DISM.exe /Online /Disable-Feature /featurename:WindowsMediaPlayer /Remove DISM.exe /Online /Disable-Feature /featurename:Microsoft-Windows-MobilePC-Client-Premium-Package-net /Remove DISM.exe /Online /Disable-Feature /featurename:Printing-XPSServices-Features /Remove DISM.exe /Online /Disable-Feature /featurename:RasCMAK /Remove DISM.exe /Online /Disable-Feature /featurename:RasRip /Remove DISM.exe /Online /Disable-Feature /featurename:MSRDC-Infrastructure /Remove DISM.exe /Online /Disable-Feature /featurename:TelnetClient /Remove DISM.exe /Online /Disable-Feature /featurename:TelnetServer /Remove DISM.exe /Online /Disable-Feature /featurename:TFTP /Remove DISM.exe /Online /Disable-Feature /featurename:TIFFIFilter /Remove DISM.exe /Online /Disable-Feature /featurename:WorkFolders-Client /Remove DISM.exe /Online /Disable-Feature /featurename:SMB1Protocol /Remove DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-All /Remove DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Tools-All /Remove DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V /Remove DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Management-Clients /Remove DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Management-PowerShell /Remove REM Remover Apps da Store PowerShell -Command "Get-AppxPackage *3DBuilder* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *Cortana* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *Getstarted* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *WindowsAlarms* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *WindowsCamera* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *bing* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *MicrosoftOfficeHub* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *OneNote* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *people* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *WindowsPhone* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *photos* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *SkypeApp* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *solit* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *WindowsSoundRecorder* | Remove-AppxPackage" REM PowerShell -Command "Get-AppxPackage *xbox* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *zune* | Remove-AppxPackage" REM PowerShell -Command "Get-AppxPackage *WindowsCalculator* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *WindowsMaps* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *Sway* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *CommsPhone* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *ConnectivityStore* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *Microsoft.Messaging* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *ContentDeliveryManager* | Remove-AppxPackage" REM PowerShell -Command "Get-AppxPackage *Microsoft.WindowsStore* | Remove-AppxPackage" REM ***Instalar Chocolatey*** Powershell -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" REM ***Instalar Clientes Jogos*** call %programdata%\chocolatey\bin\RefreshEnv.cmd choco install goggalaxy -y choco install steam -y choco install origin -y choco install uplay -y choco install epicgameslauncher -y REM ***Instalar Emuladores*** REM choco install retroarch -y REM choco install dolphin -y REM choco install cemu -y REM choco install nestopia -y REM choco install snes9x -y REM choco install fs-uae -y REM choco install mame -y REM choco install winvice -y REM choco install visualboyadvance -y REM choco install ppsspp -y REM ***Instalar Outros Aplicativos*** REM choco install dropbox -y REM choco install nvidia-display-driver -y REM choco install realtek-hd-audio-driver -y REM choco install office365proplus -y REM choco install 7zip.install -y REM choco install bleachbit -y REM choco install calibre -y REM choco install ccleaner -y REM choco install falkon -y REM choco install foobar2000 -y REM choco install kodi -y REM choco install launchy-beta -y REM choco install chromium -y REM choco install compactgui -y REM choco install defraggler -y REM choco install discord -y REM choco install firefox -y REM choco install f.lux -y REM choco install hwinfo -y REM choco install irfanview -y REM choco install libreoffice-fresh -y REM choco install mpc-hc -y REM choco install eset.nod32 -y REM choco install kis -y REM choco install notepadplusplus -y REM choco install openal -y REM choco install directx -y REM choco install opera -y REM choco install paint.net -y REM choco install playnite -y REM choco install quicklook -y REM choco install rainmeter -y REM choco install recuva -y REM choco install renamer -y REM choco install rocketdock -y REM choco install speccy -y REM choco install sumatrapdf -y REM choco install vivaldi -y REM choco install wiztree -y REM choco install xplorer2 -y REM choco install multicommander -y REM choco install winfile -y REM choco install regscanner -y 

submitted by AFaustini to gamesEcultura [link] [comments]

Arena Tracker v6.81

Hey guys!
AT now use https://hsreplay.net pickrates of secrets to decide the order in which AT shows the options when an unknown secret is played in arena.
When playing arena the secret posibilities are ordered by how often those secrets are chosen during a draft (acording to HSReplay.net). Make sure you test for the options at the top first as they are the more common secrets in the current rotation of arena.
You can get it from the github.
Patrons (3$+) will be able to unlock the premium version from the app which implements some extra features: (replays, planning, graveyard, synergies and draft mechanics overview). Get it becoming a patreon for only 3$.

Details:

Top patrons:

Top donors:

Thanks! Enjoy Patreon special privileges!
Patreon
Donate
submitted by triodo to ArenaTracker [link] [comments]

Tip to install NetBSD/macppc in qemu-system-ppc

This is your invitation to try NetBSD/macppc in an emulator. I was never able to do this until now. You will need qemu-system-ppc and about 3G of disk space. I used QEMU 3.0.0. I am introducing ways to configure devices in QEMU and to install NetBSD's bootloader. NetBSD will run better than Debian.
Step 1: Visit https://cdn.netbsd.org/pub/NetBSD/images/ and fetch NetBSD-8.0-macppc.iso or the latest version.
Step 2: Create a virtual hard disk. I allow my qcow2 disk to grow to 50G, but 5G might be big enough.
$ qemu-img create -f qcow2 nep.qcow2 50G 
Step 3: Write a shell script to start the emulator. Some of the default devices are bad, so I introduce different ones. The default ADB keyboard can miss my keys; I use usb-kbd. The default NE2000 Ethernet is too slow in NetBSD; I use model=e1000. I also like to add a usb-tablet (so the emulator window doesn't trap the mouse). I am forwarding host port 5428 to guest port 22 (so I can ssh into the guest; I use ports near 5432). I use 1024M = 1G of virtual RAM. The bootloader will be at hd:,ofwboot.xcf;1.
$ cat boot #!/bin/sh cd "$(dirname "$0")" exec qemu-system-ppc -m 1024 \ -nic user,model=e1000,hostfwd=tcp:127.0.0.1:5428-:22 \ -usb -device usb-kbd -device usb-tablet \ -prom-env 'boot-device=hd:,ofwboot.xcf;1' \ -hda nep.qcow2 "[email protected]" $ chmod +x boot 
Step 4: Start the emulator with the virtual CD.
$ ./boot -cdrom NetBSD-8.0-macppc.iso 
Step 5: The emulator fails to boot the hard disk. In the emulator's Open Firmware, type > boot cd:,ofwboot.xcf to boot the CD. Wait for it to boot, then start the installer and choose a language (like English), then request a shell with "Utility menu" and "Run /bin/sh". Need the shell to make an Apple partition map for a New World Macintosh (like the iMac). The installer would make a disklabel for an Old World Mac, but that doesn't work in QEMU.
Step 6: In the shell, run # pdisk /dev/rwd0 to make the Apple partition map. Use the commands ? for help and p to print the partitions. Need a small "Apple_HFS" partition for the bootloader; I made a 1M partition. Need some partitions for NetBSD; I made a 2G swap partition "b" and filled the free space with a root partition "a". The partitions may have any names, so I named them "Boot" and "Swap" and "Root". My command sequence was
This is my partition map:
Partition map (with 512 byte blocks) on '/dev/rwd0' #: type name length base ( size ) 1: Apple_partition_map Apple 63 @ 1 2: Apple_HFS Boot 2048 @ 64 ( 1.0M) 3: Apple_UNIX_SVR2 Swap 4194304 @ 2112 ( 2.0G) S1 SFS k0 (swap) 4: Apple_UNIX_SVR2 Root 100661184 @ 4196416 ( 48.0G) S0 RUFS k0 / 
Step 7: Back in the shell, run # disklabel wd0 to check the partition letters. There is no disklabel on the disk, so NetBSD turns the Apple partition map into a disklabel. Need the letter of the HFS partition; I have it as letter "d".
# size offset fstype [fsize bsize cpg/sgs] a: 100661184 4196416 4.2BSD 2048 16384 0 # (Cyl. 4163*- 104025*) b: 4194304 2112 swap # (Cyl. 2*- 4163*) c: 104857600 0 unused 0 0 # (Cyl. 0 - 104025*) d: 2048 64 HFS # (Cyl. 0*- 2*) 
Step 8: # exit the shell, "Exit" the utility menu, and do "Install NetBSD to hard disk". Must tell the installer to "Use existing partition sizes". (This trick comes from Sevan Janiyan's NetBSD/macppc quickstart.) Must not edit the partitions in the installer, because any edit would destroy the Apple partition map! "Use existing partition sizes" and install from "CD-ROM". I want a "Full installation", but a "Minimal installation" also works. Wait for the installer to newfs the disk and install the sets. This is the only long wait during the install.
Step 9: The installer asks you to configure the system. Don't configure the network, because the installer has no DHCP client! Also don't set up binary packages or pkgsrc without the network. I chose my timezone, set my root password, enabled sshd, and added a user (in the wheel group).
Step 10: The disk is still missing the bootloader, but I introduce the trick to install it. Request another shell with "Utility menu" and "Run /bin/sh", then mount the installed system and chroot into it.
# mount /dev/wd0a /mnt # chroot /mnt 
Step 11: This is optional, but I did # vi /etc/rc.conf to set the hostname and enable the DHCP client. (# man vi if you don't know how to vi.) I named my system "nep" (short for NetBSD powerpc). I added 2 lines near my sshd line, so I had
hostname=nep dhcpcd=YES sshd=YES 
Step 12: Make an ISO 9660 filesystem containing the bootloader "ofwboot.xcf". The trick to boot from ISO 9660 was known, but I introduce this trick to chroot and makefs. I don't need to copy the .iso from another system, because I make the .iso in the installer's shell.
# mkdir /tmp/boot # cp /usmdec/ofwboot.xcf /tmp/boot # makefs -t cd9660 /tmp/boot.iso /tmp/boot 
Step 13: Check with # ls -lh /tmp/boot.iso that the .iso is smaller than the HFS partition. (In my case, 686K < 1M.) Check with # disklabel wd0 for the letter of the HFS partition. Then copy the .iso to the HFS partition. This puts the bootloader at hd:,ofwboot.xcf;1 because the firmware sees the version numbers on .iso files.
# dd if=/tmp/boot.iso of=/dev/wd0d 
Step 14: Halt the system: # halt -p
Step 15: Start the emulator without the CD: $ ./boot
NetBSD/macppc should boot! (If you ever need the Open Firmware prompt, add -prom-env 'auto-boot?=false' to QEMU's arguments.) If you enabled dhcpcd and sshd, and forwarded host port 5428 to guest port 22, then sftp -P 5428 localhost and ssh -p 5428 localhost should work. For me, ssh is a better terminal than QEMU's window.
To set up binary packages in NetBSD/macppc, look in https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/macppc for packages. I found 8.0_2018Q3 packages and installed pkgin with
# pkg_add http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD\ > /macppc/8.0_2018Q3/All/pkgin-0.11.6.tgz 
(I had an error with https, so I used http.) I followed the hints to edit my repositories.conf and update my package list. (https worked; https://.../8.0_2018Q3/All/ is my repository.) Then I installed the binary package of perl.
# vi /uspkg/etc/pkgin/repositories.conf # pkgin update # pkgin install perl 
Why these 15 steps: NetBSD/macppc is the only BSD that can run on an Old World Mac (before the iMac). The installer makes the partitions and bootloader for an Old World Mac. QEMU can run the Old World bootloader, but then the bootloader can't find a kernel.
It is harder to put NetBSD/macppc on a New World Mac. The usual way is to dual-boot Mac OS and NetBSD. You would install Mac OS on an HFS partition and use Mac OS to put "ofwboot.xcf" on the same HFS partition. Then you run pdisk(8). The official INSTALL 8 macppc is obsolete and gives a difficult procedure,
From this shell prompt, you will do some of the steps that the normal install procedure runs automatically.... Run the newfs command on the 4.2BSD partitions... Make an fstab file for your new system...
It is easier to use Sevan Janiyan's trick. You tell the installer to "Use existing partition sizes", so the installer runs newfs and makes the fstab.
Open Firmware must run "ofwboot.xcf" but can't read NetBSD filesystems. Open Firmware can read HFS, but NetBSD's installer can't write HFS. The installer can write MS-DOS filesystems, and a real New World Mac's Open Firmware might read DOS, but QEMU's Open Firmware can't read DOS. I use ISO 9660 because the installed NetBSD has makefs(8) and Open Firmware can read it. The partition type is "Apple_HFS" because Apple partition maps never had a type for DOS or ISO 9660 filesystems, probably because DOS disks and CDs never had Apple partition maps.
QEMU's default ADB keyboard has problems with both NetBSD and Debian. It misses my keystrokes, so I need to type slowly. I can't see my mistyped passwords, so I often fail to log in. usb-kbd is better. QEMU's default Ethernet is model=ne2k_pci and works well with Debian, but uses too much system cpu in NetBSD, so ssh is too slow. model=rtl8139 is just as bad, and model=sungem freezes NetBSD, but model=e1000 works with both NetBSD and Debian.
Why NetBSD runs better than Debian: I have installed both NetBSD/macppc and Debian/powerpc in qemu-system-ppc. Now that I have the tricks to install NetBSD, I know that Debian is more difficult to install. NetBSD's installer has only one long wait (to run newfs and install sets), but Debian's installer has multiple long waits and needs my attention. Debian/powerpc is unofficial, with CD images in https://cdimage.debian.org/cdimage/ports/ and packages in https://www.ports.debian.org/; but the current CD (Debian 10.0) can't find the package repository. The result was an incomplete system with no man(1) command! It wasn't easy to add the repository and install the missing packages.
Debian's boot (using initrd and systemd) is slow. When NetBSD is finished booting, Debian is only mounting the root filesystem. Debian has a problem with random numbers: the kernel message random: crng init done is slow to appear, and ssh refuses connections (with a confusing error message) before that message appears. (It might help to move the mouse across QEMU's window.) NetBSD's rnd(4) is better.
submitted by Kernigh to BSD [link] [comments]

Hanz Glück - YouTube 2 Minutes Strategy Binary Options 2020 (IQ Options) - YouTube 10 Dumbest Mistakes As Beginner in Binary Options/Forex ... Frequently asked questions (FAQ) Bin Bot Pro Withdrawal Of $42K! Auto Trading Investing ... Binary Options Doctor  Binary Options Strategy & Trading ...

I'm currently working on developing a perl script as a cgi-bin in my website. I successfully config it to run without any issues. Here are the config I have done for it. ScriptAlias /cgi-bin/ /my web directory/cgi-bin/ <Directory /my web directory/cgi-bin/> Options ExecCGI AddHandler cgi-script cgi pl </Directory> These script files are often seen in a web server's "cgi-bin" directory. How to Open a CGI File . Since CGI files are text files, the built-in Notepad program in Windows can be used to view and edit them. But other text editors can be used to open CGI files as well. Although it's not intended to work this way, you may sometimes try to download a file from a website but will instead get a .CGI ... ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/" If it has been commented out, that is, if there is a hash mark ("#") before the line, remove the hash character to enable it. If it has not been commented out, it means that your Apache is already configured to run CGI scripts in that directory. You can change the directory to another directory if you wish. Running CGI ... <Directory "/var/www/cgi-bin"> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> <Directory "/var/www/cgi-bin"> Options All </Directory> Here, we assume that you have Web Server up and running successfully and you are able to run any other CGI program like Perl or Shell, etc. First CGI Program. Here is a simple link, which is linked to a CGI script called hello.py ... <Directory "/var/www/cgi-bin"> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> <Directory "/var/www/cgi-bin"> Options All </Directory> Here, I assume that you have Web Server up and running successfully and you are able to run any other CGI program like Perl or Shell etc. First CGI Program. Consider the following C++ Program content − #include <iostream> using ... This is C++ binary cgi files. What I am doing wrong? linux virtualhost cgi apache2. share improve this question follow asked Nov 20 '16 at 15:36. Сергей Илларионов Сергей Илларионов. 129 1 1 silver badge 5 5 bronze badges. add a comment 2 Answers Active Oldest Votes. 1. For starters, setting AllowOverride None means that any .htaccess file will be ... Binary.com Using PHP as a CGI binary is an option for setups that for some reason do not wish to integrate PHP as a module into server software (like Apache), or will use PHP with different kinds of CGI wrappers to create safe chroot and setuid environments for scripts. This setup usually involves installing executable PHP binary to the web server cgi-bin directory. CERT advisory CA-96.11 recommends ... <Directory "/home/*/public_html/cgi-bin"> Options ExecCGI SetHandler cgi-script </Directory> Writing a CGI program. There are two main differences between ``regular'' programming, and CGI programming. First, all output from your CGI program must be preceded by a MIME-type header. This is HTTP header that tells the client what sort of content it is receiving. Most of the time, this will look ... Binary Options Free Mobile Demo Account. Binary options demo account was originally initiated in 2008. The binary options trade is a means of investing your money and earning more profit out of it. And since the binary options trading account started, more and more individuals started showing interested and invested in it. >> Read more...

[index] [12875] [23320] [23457] [6845] [6397] [5688] [22103] [22756] [17301] [23502]

Hanz Glück - YouTube

Binbot Pro Frequently Asked Questions (FAQ) - Don't Do These Mistakes! Bin Bot Pro - Duration: 13:25. Binary Options Doctor Binary Options Strategy & Trading Systems Recommended for you 💰💲FULL BEGINNER? Join My PERSONAL TRAINING!💴💵 BLW Trading Academy: http://www.blwtradingacademy.com/ 💲💹Official FREE Telegram Group: https://t.me ... 10 Bumbest Mistakes as Beginner in Binary Options: 1. I almost quit 2. Not getting EDUCATION 3. Investing TOO early 4. Not being disciplined 5. Chose the wro... Are binary options a good idea? If you're thinking about trading binary options, watch this video first. Check out our FREE training for traders https://bi... =====(auto trading bot forex)===== Bin Bot Pro Withdrawal Of $42K! Auto Trading Investing Forex Binary Options #auto trading software #auto trading mt4 Full ... IQ Options -https://affiliate.iqoption.com/redir/...Please subscribe and leave a like for more videos.Online trading is a very risky investment/profession. It i... Binäre Optionen Broker 2019 - Binäre Optionen in Europa Play all Hier finden Sie Broker Erfahrungen und Testberichte zu Broker, die auch nach dem binären optionen Verbot 2018 binäre Optionen ... Binary Options Doctor will act as your guide to success in the Trading Industry to keep you safe from Scam Softwares and Unregulated Brokers who often shut t... Binary Options Doctor will act as ... FinPari Binary options -- it's easy! Doesn't matter, you have experience or not. For beginners Finpari is a first step in financial world. You will easily ac... Subscribe for more! The trick to entering trades is predicting, not following. You must watch for warning signals, and then capitalize the opportunity when a...

http://binary-optiontrade.rismojumduadalha.ml