From dc6db80fa72286704849ef61ee0e5ccb5841cb09 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Tue, 2 Jul 2024 14:28:49 -0400 Subject: Conversion to barf for testing purposes --- wiki/ubuntu.md | 89 ---------------------------------------------------------- 1 file changed, 89 deletions(-) delete mode 100644 wiki/ubuntu.md (limited to 'wiki/ubuntu.md') diff --git a/wiki/ubuntu.md b/wiki/ubuntu.md deleted file mode 100644 index 563d620..0000000 --- a/wiki/ubuntu.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -layout: page -title: Ubuntu -permalink: /wiki/ubuntu ---- - -This page contains a wide range of common scripts / application setups for Ubuntu - -## MongoDB 3.4 on Ubuntu 23.10 - - wget http://launchpadlibrarian.net/668089858/libssl1.0.0_1.0.2n-1ubuntu5.13_amd64.deb - sudo apt install ./libssl1.0.0_1.0.2n-1ubuntu5.13_amd64.deb - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 - - echo "deb http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list - -Now edit `/etc/apt/sources.list.d/mongodb-org-3.4.list`: - - deb [trusted=yes] http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.4... - -Then finish things up: - - sudo apt-get update --allow-unauthenticated - sudo apt-get install -y mongodb-org - - sudo mkdir -p /data/db - sudo chmod -R 777 /data/db - -## Redis 6.0.7 on Ubuntu 23.10 - - sudo apt-get install build-essential tcl - cd /tmp - curl -O http://download.redis.io/releases/redis-6.0.7.tar.gz - tar xzvf redis-6.0.7.tar.gz - cd redis-6.0.7 - -Install redis: - - make - make test - sudo make install - - sudo mkdir /etc/redis - sudo cp /tmp/redis-6.0.7/redis.conf /etc/redis - -Edit `/etc/redis/redis.conf` with the following changes: - -- `supervised systemd` -- `dir /var/lib/redis` - -Create systemd unit file for redis: `/etc/systemd/system/redis.service`: - - [Unit] - Description=Redis In-Memory Data Store - After=network.target - - [Service] - User=redis - Group=redis - ExecStart=/usr/local/bin/redis-server /etc/redis/redis.conf - ExecStop=/usr/local/bin/redis-cli shutdown - Restart=always - - [Install] - WantedBy=multi-user.target - -Final steps: - - sudo adduser --system --group --no-create-home redis - sudo mkdir /var/lib/redis - sudo chown redis:redis /var/lib/redis - sudo chmod 770 /var/lib/redis - -## Ruby 2.7.2 with rbenv on Ubuntu 23.10 - -Edit the `/etc/apt/sources.list` file: - - deb [trusted=yes] http://security.ubuntu.com/ubuntu bionic-security main - -Then run `sudo apt-get update`. After completion, install `libssl1.0-dev`: - - sudo apt-get install libssl1.0-dev - -Install `rbenv` and be sure to include the following in `.zshrc`: - - export PATH="$HOME/.rbenv/bin:$PATH" - eval "$(rbenv init -)" - - -- cgit v1.2.3-54-g00ecf