Skip to content

Instantly share code, notes, and snippets.

View fredrickwampamba's full-sized avatar
🏠
Working from home

Fredrick Wampamba fredrickwampamba

🏠
Working from home
  • Kampala, Uganda
  • 04:39 (UTC +03:00)
View GitHub Profile
@fredrickwampamba
fredrickwampamba / psql-9.2-ubuntu-12.04.txt
Created December 15, 2023 07:36 — forked from auracode/psql-9.2-ubuntu-12.04.txt
Installing PostgreSQL 9.2 on Ubuntu 12.04 for rails development
# Installing PostgreSQL 9.2 on Ubuntu 12.04 for rails development
#Add repo
sudo apt-get -y install python-software-properties
sudo add-apt-repository ppa:pitti/postgresql
sudo apt-get update
#install psql 9.2 and libpq
REM Delete eval folder with licence key and options.xml which contains a reference to it
for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do (
for /d %%a in ("%USERPROFILE%\.%%I*") do (
rd /s /q "%%a/config/eval"
del /q "%%a\config\options\other.xml"
)
)
REM Delete registry key and jetbrains folder (not sure if needet but however)
rmdir /s /q "%APPDATA%\JetBrains"
@fredrickwampamba
fredrickwampamba / mysql57-in-centos7.md
Created December 16, 2022 08:07 — forked from linuxkathirvel/mysql57-in-centos7.md
Install MySQL 5.7 in CentOS7/RHEL7

MySQL 5.7 installation in CentOS 7

sudo su

# Remove MariaDB packages
yum list installed | grep -i maria
yum remove mariadb.x86_64
yum remove mariadb-libs.x86_64

# Download MySQL 5.7 RPM tar