Gitlab-CE

We use and recommend omnibus method with latest Ubuntu LTS. Install Gitlab-CE Package #Install and configure the necessary dependencies sudo apt-get install curl openssh-server ca-certificates postfix #Add the GitLab package server curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash #install the package sudo apt-get install gitlab-ce #Configure and start GitLab sudo gitlab-ctl reconfigure Configure All Gitalb related configurations are… Continue reading Gitlab-CE

gitlab-ci-multi-runner

We prefer Gitlab Multi Runner Link: https://docs.gitlab.com/runner/install/linux-repository.html Install #Install Docker curl -sSL https://get.docker.com/ | sh # For Debian/Ubuntu curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.deb.sh | sudo bash # apt-pinning cat > /etc/apt/preferences.d/pin-gitlab-runner.pref <<EOF Explanation: Prefer GitLab provided packages over the Debian native ones Package: gitlab-ci-multi-runner Pin: origin packages.gitlab.com Pin-Priority: 1001 EOF # For Debian/Ubuntu sudo apt-get install gitlab-ci-multi-runner Register… Continue reading gitlab-ci-multi-runner

Redis

Tweaking redis so it can handle more connections and higher workload

wp profile command

Using `wp profile` to find out what makes your WordPress website slow

Finding a faulty plugin

Issue A WordPress site with 50+ active plugin was breaking WP-CLI. All `wp` commands were returning empty. Solution As many plugins were not standard, we tried skipping all plugins first. wp –skip-plugins post list Above worked! Next… We need to skip each plugin one-by-one and till we find a faulty plugin. Rather than doing manual… Continue reading Finding a faulty plugin

wpcli

This section lists some wp-cli related articles.