HyperSoftw / install-linux

Softwares to install on Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

install linux

Softwares to install on Linux with just one command

Usage

Just run:

Ubuntu (Debian like):

bash -c "$(wget -O - https://raw.githubusercontent.com/fdaciuk/install-linux/master/install.sh)"

Apricity (Arch Linux like):

bash -c "$(wget -O - https://raw.githubusercontent.com/fdaciuk/install-linux/master/apricity-install.sh)"

To install some softwares, you will need yaourt.

Edit your /etc/pacman.conf, adding this lines:

[archlinuxfr]
Server = http://repo.archlinux.fr/$arch

After that, update the system:

sudo pacman -Sy

If yaourt is not installed, install it:

sudo pacman -S yaourt

Then, use yaourt -S to install any package ;)


Softwares that will be installed:

  • XSel
  • SMB Client
  • HTop
  • OpenSSH Server
  • S3 CMD
  • ZSH
  • Terminator
  • Curl
  • Vim (Gnome)
  • KeePassX
  • VLC
  • Git
  • PlayOnLinux
  • Chrome
  • Docker
  • Dropbox
  • Diffmerge
  • Skype
  • Strem.io
  • Simple Screen Recorder
  • NVM
    • Nodemon
  • Apache 2
  • MySQL
  • PHP
  • PHPMyAdmin
  • WP-CLI
  • Composer
  • Redis Server
  • OH My ZSH
  • Heroku Toolbelt
  • MongoDB

Enjoy it ;)

Other softwares to install

After Install

Configure GIT:

git config --global user.email "your@email"
git config --global user.name "Your name"

Generate SSH Keys (or copy, if you already have one):

ssh-keygen -t rsa -b 4096 -C "your@email"

# Try
ssh -T git@github.com
ssh -T git@bitbucket.com

Generate GPG Keys:

Then, just commit using git commit -S =)

Install Top Icons (Gnome Shell)

https://github.com/phocean/TopIcons-plus

Install fonts

Consolas:

fonte: http://ssup2.iptime.org/wiki/Ubuntu_Consolas_Font_Install

Source Code PRO:

bash -c "$(wget -O - https://gist.githubusercontent.com/fdaciuk/8b3269a3d797ee723672/raw/c8344f9cd4f91a8ae69535c833253ae87ef86d5b/sourcecodepro.sh)"

Useful commands

Auto mount a partition:

Add entry on your /etc/fstab file:

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/sdaX       /media/storage  ext4    defaults        0       1

Relase idle memory

sudo sysctl -w vm.drop_caches=3

Update swappiness (how much percent of memory should be in use before using swap?)

To set swappiness to 10% (instead default of 60%):

sudo sysctl vm.swappiness=10

Then, restart the system or run clear swap commands (see below).

Clear swap

sudo swapoff -a
sudo swapon -a

Removing dpkg package

sudo dpkg -r <package>

Stop services from startup without remove

sudo update-rc.d -f <service> remove

Check which services are running

service --status-all

Clone an installation

After boot from a Live USB, run on terminal:

dd if=/dev/sdb3 of=/dev/sda3

Where sdb3 is the origin, and sda3 is the destination.

After that, run:

sudo mount /dev/sda3 /mnt 

Where sda3 contains the recently copied boot and root partitions.

sudo mount --bind /dev/ /mnt/dev/
sudo mount -t /proc none /mnt/proc
sudo chroot /mnt
# note this is `sda` not `sda3`
sudo grub-install /dev/sda 
sudo update-grub
exit

Use Jack instead pulseaudio

sudo apt-get install qjackctl pulseaudio-module-jack
pactl load-module module-jack-sink
pactl load-module module-jack-source
pactl set-default-sink jack_out # Or open Sound Configuration and select "Jack"

License

MIT © Fernando Daciuk

About

Softwares to install on Linux


Languages

Language:Shell 100.0%