Giter VIP home page Giter VIP logo

Comments (4)

raunak-r avatar raunak-r commented on September 26, 2024

WSL

https://seanthegeek.net/234/graphical-linux-applications-bash-ubuntu-windows/

from tech-notes.

raunak-r avatar raunak-r commented on September 26, 2024

Installing Ubuntu

STEP 1

https://itsfoss.com/install-ubuntu-1404-dual-boot-mode-windows-8-81-uefi/
https://itsfoss.com/dual-boot-hdd-ssd/

In case you need to increase Partition Size

https://askubuntu.com/questions/871825/add-more-disk-space-for-linux-from-windows-in-a-dual-bootable-machine
https://www.amyschlesener.com/posts/2020/04/increasing-ubuntu-partition/
https://www.howtogeek.com/114503/how-to-resize-your-ubuntu-partitions/

Inside Linux

Run this script file

Other References

Folder Ubuntu in HDD can contain all the data for example:

1. miniconda - https://linuxize.com/post/how-to-install-anaconda-on-ubuntu-18-04/
2. nifi - Download and extract.
3. kafka - Download and extract. https://kafka.apache.org/quickstart
4. elasticseach - installed via apt-get. sudo apt install elasticsearch
5. Docker - https://www.ibm.com/docs/en/cloud-private/3.2.x?topic=pyci-specifying-default-docker-storage-directory-by-using-bind-mount

Adobe Reader - https://linuxconfig.org/how-to-install-adobe-acrobat-reader-on-ubuntu-20-04-focal-fossa-linux

from tech-notes.

raunak-r avatar raunak-r commented on September 26, 2024

DB cache problems

For me, I ran some cache clearing operations to free up space using tools like Stacer, and then MySQL started showing problems.

Use this to get some clues first

grep mysql /var/log/syslog | grep ERROR

If the error says, Could not open file '/var/log/mysql/error.log' for error logging: No such file or directory
then clearly, the log files were cleaned up.

Use this to first create the MySQL directory and grant all permissions for MySQL to use that folder.

> sudo mkdir /var/log/mysql
> sudo chown -R mysql:mysql /var/log/mysql
> sudo service mysql restart

This solution has nothing to do with the my.cnf files and is completely safe on data.

from tech-notes.

raunak-r avatar raunak-r commented on September 26, 2024

#!/usr/bin/bash

sudo apt-get -y update && apt-get -y upgrade
sudo apt -y install software-properties-common
sudo add-apt-repository ppa:oguzhaninan/stacer
sudo apt -y update
sudo apt -y install stacer

sudo apt install postgresql -y
curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add
sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'

install node v16

sudo apt -y install curl dirmngr apt-transport-https lsb-release ca-certificates
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt -y install nodejs
sudo apt -y install gcc g++ make
sudo npm install --global yarn

install docker

sudo apt-get remove docker docker-engine docker.io
sudo apt-get -y update
sudo apt-get -y install
ca-certificates
curl
gnupg
lsb-release
sudo apt -y install docker.io
sudo docker --version

from tech-notes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.