Giter VIP home page Giter VIP logo

brolit-shell's People

Contributors

francoliza14 avatar lpadula avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

brolit-shell's Issues

Disable WP_DEBUG WP_SCRIPTS in PRODUCTION

When migrating from dev/stage to production, in the wp-config.php these constants should be disabled (false). To prevent logging notices and errors (WP_DEBUG) and to load minified files from the gutenberg editor (WP_SCRIPTS)

jq missing error

/root/brolit-shell/libs/local/json_helper.sh: line 29: jq: command not found
/root/brolit-shell/libs/local/json_helper.sh: line 29: jq: command not found
/root/brolit-shell/libs/local/json_helper.sh: line 29: jq: command not found

Getting these errors and after apt install jq, getting:
jq: error (at <stdin>:152): Cannot iterate over null (null)

On Ubuntu 20.04.3

Isolate sites

Hi

Thanks for working on this.

I like the fact that this is a lightweight option however there is a security issue currently which is sites are running with one user (www-data).

I suggest that each site = Linux user and its own PHP pool configuration so sites are isolated from each other.

Others describe the same thing on another similar project here:
WordOps/WordOps#425
WordOps/WordOps#41

Enabling redis fails

Hi!

Enabling redis fails when trying to setup on a new server (Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-122-generic x86_64)).

Here are the errors:

- Installing redis-server                               [ DONE ]
Synchronizing state of redis-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable redis-server
Job for redis-server.service failed because a timeout was exceeded.
See "systemctl status redis-server.service" and "journalctl -xe" for details.
sed: -e expression #1, char 76: unknown option to `s'
Job for redis-server.service failed because a timeout was exceeded.
See "systemctl status redis-server.service" and "journalctl -xe" for details.

Output of systemctl status redis-server.service

● redis-server.service - Advanced key-value store
     Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
     Active: activating (start) since Sat 2022-10-01 14:50:43 UTC; 50s ago
       Docs: http://redis.io/documentation,
             man:redis-server(1)
Cntrl PID: 58607 (redis-server)
      Tasks: 4 (limit: 2274)
     Memory: 1.6M
     CGroup: /system.slice/redis-server.service
             └─58607 /usr/bin/redis-server *:6379

Oct 01 14:50:43 zurbox systemd[1]: Starting Advanced key-value store...
Oct 01 14:50:43 zurbox redis-server[58607]: 58607:C 01 Oct 2022 14:50:43.558 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
Oct 01 14:50:43 zurbox redis-server[58607]: 58607:C 01 Oct 2022 14:50:43.559 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=58607, just started
Oct 01 14:50:43 zurbox redis-server[58607]: 58607:C 01 Oct 2022 14:50:43.560 # Configuration loaded
Oct 01 14:50:43 zurbox redis-server[58607]: 58607:M 01 Oct 2022 14:50:43.565 * Running mode=standalone, port=6379.
Oct 01 14:50:43 zurbox redis-server[58607]: 58607:M 01 Oct 2022 14:50:43.565 # Server initialized
Oct 01 14:50:43 zurbox redis-server[58607]: 58607:M 01 Oct 2022 14:50:43.565 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot>
Oct 01 14:50:43 zurbox redis-server[58607]: 58607:M 01 Oct 2022 14:50:43.566 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'ec>
Oct 01 14:50:43 zurbox redis-server[58607]: 58607:M 01 Oct 2022 14:50:43.568 * Ready to accept connections

Commands not found while setting up

      - Installing it utils packages                          [ DONE ]
/root/brolit-shell/utils/server_setup.sh: line 21: settings_set_server_role: command not found

  - Checking script dependencies                              [ DONE ]
/root/brolit-shell/utils/server_setup.sh: line 70: script_configuration_wizard: command not found
/root/brolit-shell/libs/local/packages_helper.sh: line 344: local: apps_to_install: reference variable cannot be an array
      - Server setup                                          [ DONE ]

also missing these dependencies (Ubuntu 20.04.3):
apt install psmisc curl jq

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.