Setting up some Git server things

Thursday, May 8, 2025 at 17:09:50

  • Created git user
    adduser gituser
  • Made starting directory
    mkdir /usr/local/gitpath
    chown git:git /usr/local/gitpath
  • changed to git user
    su - gituser
  • Created bare repository
    cd /usr/local/gitpath
    git init --bare newrepositoryname

To use on same machine:

  • Log in as user (not gituser)
  • cd /home/thisuser/
  • mkdir gitstuff
  • cd gitstuff
  • git config --global user.email "thisuser@localhost"
  • git config --global user.name "thisuser"
  • git clone /usr/local/gitpath/newrepositoryname
  • At this point, you have an empty directory. Add files, do ‘git add *’, then ‘git commit’, and it will be pushed to main git path.

To use on different machine (linux anyway):

  • cd /where/you/want/the/git/stuff/to/go
  • git clone ssh://gituser@gitmachine.com/usr/local/gitpath/newrepositoryname

New, larger VPS

Tuesday, January 7, 2025 at 20:52:18

Spent time getting svps.e5l.co connected. Once Ionos fixed their networking, I installed Plesk to see if I liked it. Also installed a few perl modules, so I can run GA collection from there if I need to.

Small change

Sunday, August 4, 2024 at 09:33:43

I’m too lazy to convert UTC system time to local in my head. So I’m going to set it correctly.

timedatectl set-timezone America/Los_Angeles

Additional issues from mysql updates

Sunday, August 4, 2024 at 09:03:09

There was a system hang AGAIN this morning, appears due to memory full issues. The primary thing using memory on the system is mysqld.

System was restarted via VPS console. mysqld was using 47% memory after reboot.

I dug around, found a mysqld setting that should reduce the memory usage. I put the following into /etc/mysql/my.cnf

performance_schema=0

and then performed a restart

systemctl restart mysql

After restarting the process, mysql is using about 18% memory.

Top of Page