ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. scottalanmiller
    3. Posts
    • Profile
    • Following 170
    • Followers 168
    • Topics 3,472
    • Posts 151,748
    • Groups 1

    Posts

    Recent Best Controversial
    • Make VIM on Debian Work without Mouse Interactions like vi

      By default on Debian, vi is replaced with vim and configured to make it unusable as any attempt to interact with text by mouse causes it to freak out. It's the worst. But the fix is easy if you know what to do.

      edit /etc/vim/vimrc

      And add these lines..

      set mouse=
      set ttymouse=
      

      Voila, it works again!

      posted in IT Discussion linux debian vi vim
      scottalanmillerS
      scottalanmiller
    • RE: Installing Mastodon 4.1.2 on Debian 11

      @RojoLoco yup

      posted in IT Discussion
      scottalanmillerS
      scottalanmiller
    • Installing Mastodon 4.1.2 on Debian 11

      Mostly this is taken from Mastodon's documentation but some of it is wrong. I tried their Docker configs, but couldn't find any that worked and it isn't clear if they have an official Docker image or just third party ones. They don't actually list Docker on their official site. So this is a traditional install.

      As root...

      apt update && apt install -y curl wget gnupg apt-transport-https lsb-release ca-certificates
      curl -sL https://deb.nodesource.com/setup_16.x | bash -
      curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null
      echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | tee /etc/apt/sources.list.d/yarn.list
      wget -O /usr/share/keyrings/postgresql.asc https://www.postgresql.org/media/keys/ACCC4CF8.asc
      echo "deb [signed-by=/usr/share/keyrings/postgresql.asc] http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/postgresql.list
      apt update && apt install -y imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git-core \
        g++ libprotobuf-dev protobuf-compiler pkg-config nodejs gcc autoconf \
        bison build-essential libssl-dev libyaml-dev libreadline6-dev \
        zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev \
        nginx redis-server redis-tools postgresql postgresql-contrib \
        certbot python3-certbot-nginx libidn11-dev libicu-dev libjemalloc-dev nodejs
      corepack enable && yarn set version classic
      adduser --disabled-login --gecos "" mastodon
      sudo -u postgres psql -c 'CREATE USER mastodon CREATEDB;'
      ufw allow http && ufw allow https
      

      As Mastodon

      su - mastodon
      git clone https://github.com/rbenv/rbenv.git ~/.rbenv && cd ~/.rbenv && src/configure && make -C src
      echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc && echo 'eval "$(rbenv init -)"' >> ~/.bashrc
      exec bash
      git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
      RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 3.0.6
      rbenv global 3.0.6
      gem install bundler --no-document
      cd ~
      git clone https://github.com/mastodon/mastodon.git live && cd live
      git checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)
      bundle config deployment 'true'
      bundle config without 'development test'
      bundle install -j$(getconf _NPROCESSORS_ONLN)
      yarn install --pure-lockfile
      RAILS_ENV=production bundle exec rake mastodon:setup
      npx update-browserslist-db@latest
      exit
      

      As root again...

      cp /home/mastodon/live/dist/nginx.conf /etc/nginx/sites-available/mastodon
      certbot --nginx -d  yourdomain.com
      ln -s /etc/nginx/sites-available/mastodon /etc/nginx/sites-enabled/mastodon
      vi /etc/nginx/sites-available/mastodon
      rm /etc/nginx/sites-enabled/default
      systemctl restart nginx
      cp /home/mastodon/live/dist/mastodon-*.service /etc/systemd/system/
      systemctl daemon-reload
      systemctl enable --now mastodon-web mastodon-sidekiq mastodon-streaming
      
      posted in IT Discussion mastodon linux install debian debian 11 ruby
      scottalanmillerS
      scottalanmiller
    • RE: What Are You Doing Right Now

      We have only a tiny bit of either. Asian food we tend to miss.

      posted in Water Closet
      scottalanmillerS
      scottalanmiller
    • RE: If starting from scratch, would you suggest learning BASH or Ansible?

      @IgnaceQ said in If starting from scratch, would you suggest learning BASH or Ansible?:

      Besides anisble there are other tools for remote tooling. In a linux world you need bash. this is a basic need.
      On top of bash, it really depends on the environmnet you're in. I would suggest python on top of this. You can use python in ansible, chef, terraform, etc... Also on non linux environments, python is availlable (bsd, windows).

      He needs Ansible because he's doing an Ansible based certification path.

      posted in IT Discussion
      scottalanmillerS
      scottalanmiller
    • RE: If starting from scratch, would you suggest learning BASH or Ansible?

      @openit said in If starting from scratch, would you suggest learning BASH or Ansible?:

      While I'm preparing for RedHat certification, I was thinking to learn BASH, for general use and also exam has requirement to write simple bash scripts.

      But, in long run and to be more efficient, I feel deep learning of Ansible is better than BASH? If I left BASH, and go with Ansible do I lose anything? I assume Ansible covers what BASH can do?

      These aren't competitive technologies. One is for working at the command line, one is for remote automation. You will always need both realistically.

      posted in IT Discussion
      scottalanmillerS
      scottalanmiller
    • RE: No Sound, no webcam and Only one monitor on Ubuntu 23.04 with NVIDIA graphics card

      @dafyre said in Only one monitor on Ubuntu 23.04 with NVIDIA graphics card:

      @CCWTech said in Only one monitor on Ubuntu 23.04 with NVIDIA graphics card:

      Ran this, sudo apt install linux-headers-$(uname -r)

      Not sure why they weren't installed or what happened but I have 4 monitors now.

      I'm surprised the NVIDIA drivers even installed. They'll normally yell at you if you don't have the header files installed.

      Glad to know you fixed the issue!

      I'm guessing that they were out of date.

      posted in IT Discussion
      scottalanmillerS
      scottalanmiller
    • RE: No Sound, no webcam and Only one monitor on Ubuntu 23.04 with NVIDIA graphics card

      @CCWTech said in Only one monitor on Ubuntu 23.04 with NVIDIA graphics card:

      Ran this, sudo apt install linux-headers-$(uname -r)

      Not sure why they weren't installed or what happened but I have 4 monitors now.

      Do you do "apt dist-upgrade" for your daily updates? The headers aren't always installed by default. But maybe they were but not updated?

      posted in IT Discussion
      scottalanmillerS
      scottalanmiller
    • RE: What Are You Doing Right Now

      Having more AC units installed this morning.

      posted in Water Closet
      scottalanmillerS
      scottalanmiller
    • RE: Exchange Online (M365) applies DRM to MS Office attachments

      I ASSUME that their answer is that no one should be emailing attachments like that and they should be sending links to the hosted files instead?

      I can't remember the last time that we had to email someone an attachment of an office document, just saying that sounds like a legacy process. Who needs to do that in the modern world?

      posted in IT Discussion
      scottalanmillerS
      scottalanmiller
    • RE: Exchange Online (M365) applies DRM to MS Office attachments

      So summary: MS is disabling the use of MS365 for communications with external customers. It's an internal use only system now?

      posted in IT Discussion
      scottalanmillerS
      scottalanmiller
    • RE: Scott Alan Miller Vlog - My Daily Life in Central America

      Youtube Video

      posted in Self Promotion
      scottalanmillerS
      scottalanmiller
    • RE: What Are You Doing Right Now

      @siringo said in What Are You Doing Right Now:

      glad to be sitting inside. a cold front as come through and it's freezing. nothing like you northern guys get, nowhere near, but for down here, it's freezing.

      34C / 93F today 🙂

      posted in Water Closet
      scottalanmillerS
      scottalanmiller
    • RE: What Are You Doing Right Now

      Coffee is brewing... D&D later today.

      posted in Water Closet
      scottalanmillerS
      scottalanmiller
    • RE: What Are You Doing Right Now

      Plans tonight include video editing and watching classic Dr. Who with my kids.

      posted in Water Closet
      scottalanmillerS
      scottalanmiller
    • RE: What Are You Doing Right Now

      About to take my kids to the local cafe.

      posted in Water Closet
      scottalanmillerS
      scottalanmiller
    • RE: Meshcentral future uncertain

      1.1.6 released today.

      posted in Water Closet
      scottalanmillerS
      scottalanmiller
    • RE: MeshCentral Future

      New release came out today.

      posted in News
      scottalanmillerS
      scottalanmiller
    • RE: What Are You Doing Right Now

      @dafyre damn, I missed one!

      posted in Water Closet
      scottalanmillerS
      scottalanmiller
    • RE: RHEL9 update to RHEL9.2 breaks system.

      @NETSERVER that's a bit surprising, but honestly, I guess not. With the way that IBM decided to view CentOS and RHEL, it isn't the stable, well supported system that it used to be. It used to be taken far more seriously. Now, I can't imagine a scenario where I'd deploy RHEL. And at one time, I had one of, if not the, largest RHEL fleets in the world.

      posted in IT Discussion
      scottalanmillerS
      scottalanmiller
    • 1 / 1