Skip to content

mssoylu/apt-get-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntu Install Base Tools

sudo add-apt-repository "deb https://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"

sudo add-apt-repository ppa:ondrej/php

apt update

apt upgrade

apt-get install language-pack-en language-pack-en-base manpages

ZSH

apt install zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

ZSH prompt fix

vim ~/.zshrc

add this line

PROMPT+=' %{$fg[cyan]%}%2~%{$reset_color%} $(git_prompt_info)'

. ~/.zshrc

Tools

   apt-get install python3-software-properties
   apt-get install curl wget rsync git tig git-core tmux vim

Databases

   apt-get install mysql-server mysql-workbench redis-server

PHP

   # PHP
   sudo apt-get install -y language-pack-en-base
   sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
   sudo apt-get install apache2 
   sudo apt-get install php7.4-fpm php7.4-mcrypt php7.4-cli php7.4-mysql php7.4-curl php7.4-zip phpmyadmin
   
   # Composer
   sudo curl -sS https://getcomposer.org/installer | php
   sudo mv composer.phar /usr/local/bin/composer
   
   # Symfony
   sudo curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony
   sudo chmod a+x /usr/local/bin/symfony # symfony new my_project_name

   # Certbot
   sudo apt install certbot
   certbot --apache

Flash player

   sudo apt-get install flashplugin-nonfree

Nodejs

   sudo apt-get update
   sudo apt-get upgrade
   sudo apt-get install gcc cpp g++ automake1.9 autoconf libtool flex bison python-software-properties

   cd /usr/local/src
   wget https://nodejs.org/dist/node-latest.tar.gz
   tar zxvf node-latest.tar.gz
   cd node-........ // join node dir
   ./configure
   make
   sudo make install

apt-get-install

Basic tools

   apt-get install mutt # email client
   apt-get install calcurse # calendar and scheduling application
   apt-get install lynx elinks # browser for cli 

Transfer

   apt-get install curl wget rsync git tig git-core lftp

Hardware

   apt-get install powertop 

Test

   apt-get install seige apache2-utils # stres test

Monitoring

   apt-get install dstat # vmstat, iostat, ifstat, netstat information > https://dag.wiee.rs/home-made/dstat/
   apt-get install htop
   apt-get install iftop 
   apt-get install speedometer # speedtest graphic on cli

Log

   apt-get install multitail # watch mutlilog one sreen

Usibility

   apt-get install tree mc qalc # file tree, file commander, calc connected net

Text edit

   apt-get install vim vifm ranger # file managers for vim
   apt-get install sc # excel style on cli

Code Tools

   apt-get install cloc # lines of code

Funny