Comandos UBUNTU / LUBUNTU / LINUX

Description

Comandos mais usados para instalação de aplicações extras após instalação de UBUNTU, LUBUNTU ou LINUX
Adenilson Paiva
Note by Adenilson Paiva, updated more than 1 year ago
Adenilson Paiva
Created by Adenilson Paiva about 9 years ago
2435
4

Resource summary

Page 1

// Comandos LINUX - UBUNTU ou LUBUNTU#!/bin/sh# Início#------------------------------------------------------------------------------------------PPA's e ADIÇÕES A BASE-----------------------------------------------------------------------------------#sudo add-apt-repository ppa:apt-fast/stable -ysudo apt-get install -y apt-fast#-------------------#sudo add-apt-repository ppa:ubuntu-wine/ppa -ysudo add-apt-repository ppa:linrunner/tlp -ysudo add-apt-repository ppa:bearoso/ppa -ysudo add-apt-repository ppa:menulibre-dev/devel -ysudo add-apt-repository ppa:osmoma/audio-recorder -ywget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian saucy contrib" >> /etc/apt/sources.list.d/virtualbox.list'sudo sh -c "echo 'deb http://archive.canonical.com/ubuntu/ saucy partner' >> /etc/apt/sources.list.d/canonical_partner.list"wget http://launchpadlibrarian.net/59511828/cgroup_patchchmod +x cgroup_patchsudo ./cgroup_patchrm cgroup_patchsudo ufw enablesudo apt-fast update#------------------------------------------------------------------------------CONTRATOS/CONFIG. Manual-----------------------------------------------------------------------------------##sudo apt-fast install -y mysql-server#sudo apt-fast install -y phpmyadminsudo apt-fast install -y ttf-mscorefonts-installer#---------------------------------------------------------------------------------------NETBEANS 8.0--------------------------------------------------------------------------------------------------##sudo apt-fast install -y openjdk-6-jdk openjdk-6-source openjdk-6-demo openjdk-6-doc oudopenjdk-6-jre-headless openjdk-6-jre-lib#sudo apt-fast install -y openjdk-7-jdk openjdk-7-source openjdk-7-demo openjdk-7-doc openjdk-7-jre-headless openjdk-7-jre-lib#sudo wget http://download.netbeans.org/netbeans/8.0/final/bundles/netbeans-8.0-javase-linux.sh#sudo chmod +x netbeans-8.0-javase-linux.sh#sudo ./netbeans-8.0-javase-linux.sh#rm netbeans-8.0-javase-linux.sh#------------------------------------------------------REMOÇÕES---------------------------------------------#sudo apt-fast purge -y pidginsudo apt-fast purge -y xfburnsudo apt-fast purge -y abiwordsudo apt-fast purge -y sylpheedsudo apt-fast purge -y gnumericsudo apt-fast purge -y lxterminalsudo apt-fast remove -y audacioussudo apt-fast remove -y gnome-mplayersudo apt-fast remove -y laptop-mode-toolssudo apt-fast remove -y flashplugin-installer#----------------------------------------PROGRAMAS E UTILITARIOS----------------------------------#sudo apt-fast install -y lubuntu-restricted-extrassudo apt-fast install -y libreofficesudo apt-fast install -y libreoffice-l10n-pt-brsudo apt-fast install -y tlp tlp-rdwsudo tlp startsudo apt-get install -y virtualbox-4.3 virtualbox-guest-additions-isosudo apt-fast install -y kolourpaint4sudo apt-fast install -y adobe-flashpluginsudo apt-fast install -y gmountisosudo apt-fast install -y easymp3gain-qtsudo apt-fast install -y audio-recordersudo apt-fast install -y pavucontrolsudo apt-fast install -y firefox-locale-ptsudo apt-fast install -y thunderbird thunderbird-locale-pt-brsudo apt-fast install -y preloadsudo apt-fast install -y prelinksudo apt-fast install -y bleachbitsudo apt-fast install -y gconf-cleanersudo apt-fast install -y samba gvfs-bin system-config-sambasudo apt-fast install -y rar unrar-freesudo apt-fast install -y p7zip-fullsudo apt-fast install -y aliensudo apt-fast install -y remminasudo apt-fast install -y wine1.7 winesudo apt-fast install -y vlcsudo apt-fast install -y skypesudo apt-fast install -y menulibresudo apt-fast install -y bumsudo apt-cache search snes9xsudo apt-fast install -y snes9x-gtk#--------------------------------------------------------------driver webcam-------------------------------------------------------------#sudo wget http://mxhaard.free.fr/spca50x/Download/gspcav1-20071224.tar.gzsudo alien --to-deb gspcav1-20071224.tar.gzrm gspcav1-20071224.tar.gzsudo dpkg -i gspcav1_20071224-2_all.debrm gspcav1-20071224-2_all.deb#-----------------------------------------------------driver intel/linux 64x------------------------------------------------------------#sudo wget https://download.01.org/gfx/ubuntu/14.04/main/pool/main/i/intel-linux-graphics-installer/intel-linux....sudo dpkg -i intel-linux-graphics-installer_1.0.5-0intel1_amd64.debrm intel-linux-graphics-installer_1.0.5-0intel1_amd64.deb#----------------------------------------------------------------teamviewer----------------------------------------------------------------#sudo wget download.teamviewer.com/download/teamviewer_linux.debsudo dpkg -i teamviewer_linux.debsudo apt-fast install -f -yrm teamviewer_linux.deb#-----------------------------------------------------Upgrades de programas------------------------------------------------------------#sudo apt-fast upgrade -y javasudo apt-fast upgrade -y firefoxsudo apt-fast upgrade -y thunderbird#------------------------------------------------------Configurações Finas----------------------------------------------------------------#sudo mkdir /etc/adobeecho "OverrideGPUValidation=true" >~/mms.cfgsudo mv ~/mms.cfg /etc/adobesudo sed -i 's#lxsession-default screenshot#scrot#' ~/.config/openbox/lubuntu-rc.xmlsudo sed -i 's#scrot window#scrot -u -b#' ~/.config/openbox/lubuntu-rc.xmlsudo openbox --reconfiguresudo sed -i 's#quiet splash#quiet splash profile#' /etc/default/grubsudo sed -i 's#unknown#yes#' /etc/default/prelinkecho "\n# Move /tmp to RAMtmpfs /tmp tmpfs defaults,noexec,nosuid 0 0" | sudo tee -a /etc/fstabecho "\n## Decrease swap usage to a workable levelvm.swappiness=10# Improve cache managementvm.vfs_cache_pressure=50" | sudo tee -a /etc/sysctl.conftouch .gtkrc-2.0echo "gtk-menu-popup-delay = 0" >> ~/.gtkrc-2.0echo "gtk-menu-popdown-delay = 0" >> ~/.gtkrc-2.0echo "gtk-menu-bar-popup-delay = 0" >> ~/.gtkrc-2.0echo "gtk-enable-animations = 0" >> ~/.gtkrc-2.0echo "gtk-timeout-expand = 10" >> ~/.gtkrc-2.0sudo /etc/cron.daily/prelinksudo update-grub2sudo reboot# Fim################## OUTROS ################// Comandos UBUNTU// Mudar senha (root ou usuario)https://www.youtube.com/watch?v=zj6txhyUQqgsudo passwd root (ou nome-de-usuário)// ousupasswd root (ou nome-de-usuário)syncreboot -f// Quebrando chave WEP com Ubuntu e aircrack-nghttps://www.youtube.com/watch?v=nf1XbAqxlyY// Gerenciador de partiçõessudo apt-get install gparted// OCR no Ubuntuhttp://www.vivaolinux.com.br/dica/OCR-no-Ubuntu/sudo apt-get install tesseract-ocr tesseract-ocr-por gscan2pdf imagemagick nautilus-open-terminalreboot -fconvert -density 300 arquivo.pdf -depth 8 arquivo.tiff$ tesseract arquivo.tiff texto -l por// Instalando Extras 1// Para instalar o suporte ao WhatsApp no Pidgin do Ubuntu e derivados basta você usar estes comandos:sudo add-apt-repository ppa:whatsapp-purple/ppasudo apt-get updatesudo apt-get install pidgin-whatsapp pidgin //Agora nas configurações de contas do Pidgin o WhatsApp estará disponível.sudo add­apt­repository ppa:apt­fast/stable ­ysudo add-apt-repository ppa:apt-fast/stable -ysudo apt­fast install bleach­bit -­ysudo apt-get install apt-fast -ysudo apt­-get install bleachbit ­-y // Similar ao ccleaner do windowssudo apt-get install chromium-browsersudo apt-get install filezillasudo apt-get install mediawikisudo apt-get install netbeanssudo apt-get install pavucontrol -ysudo apt-get install phpmyadmin -ysudo apt­get install pidgin­whatsapp pidginsudo apt-get install synapticsudo apt-get install ubuntu-restricted-extras && sudo apt-get install flashplugin-nonfreesudo apt-get install virtualboxsudo apt-get install winesudo apt-get purge phpmyadmin mysql-server -ysudo apt-get -y install flashplugin-nonfreesudo apt-get -y install ubuntu-restricted-extrassudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5sudo install apt-get apt-fast// Instalando Extras 2sudo apt-get upgrade && sudo apt-get update && sudo apt-get install chromium-browser gimp dia dia-gnome bleachbit filezilla synaptic kolourpaint4 pitivi umbrello aptoncd smplayer phpmyadmin mediawiki apache2 nautilus-dropbox ntfs-3g nautilus-* virtualboxnautilus-* -y/* phpmyadmin mediawiki apache2 // A instalação destes três ao mesmo tempo gera conflito entre portas, devendo ser mudadas manualmente, ou instalar apenas um dos três. */// http://www.procedural.com.br/hd-externa-nao-aparece-no-linux-ubuntu/// http://wiki.ubuntu-br.org/Nautilus// http://www.vivaolinux.com.br/dica/Nautilus-Mudando-a-exibicao-padrao-dos-itens-de-uma-pasta// Configuração do Nautilus para mostrar em lista ****SHOW***gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'// OPERA BROWSERsudo sh -c 'echo "deb http://deb.opera.com/opera/ stable non-free" >> /etc/apt/sources.list.d/opera.list' && sudo sh -c 'wget -O - http://deb.opera.com/archive.key | apt-key add -' && sudo apt-get update && sudo apt-get install opera -y//SUBLIME TEXT 3sudo add-apt-repository ppa:webupd8team/sublime-text-3 && sudo apt-get update && sudo apt-get install sublime-text-installer -y// ousudo add-apt-repository ppa:webupd8team/sublime-text-3sudo apt-get updatesudo apt-get install sublime-text-installer -y// Virtual Box no UBUNTU 14.10sudo apt-get install virtualbox-qt// Descompactador RAR# sem informação//PACKET TRACER (aplicador simulador de instalação de redes de computadores)// http://tidahora.com.br/index.html/doku.php?id=instalando_o_packet_tracer_no_linux_mint_debian_ubuntuwget http://tidahora.com.br/arquivos/programas/PacketTracer601_setup_linux.gz && tar zxvf PacketTracer601_setup_linux.gz && cd PacketTracer601/ && ./install//para abrir: packettracer// DRAFTSIGHT (64bits)// http://www.ubuntudicas.com.br/blog/2012/11/draftsight-beta-v1r3-no-kubuntu-12-04-64-bits/sudo apt-get install libdirectfb-extra sendmail libglu1-mesa libglu1-mesa-dev ia32-libs// download: http://www.draftsight.com/download-linux-ubuntucd Downloads && mkdir tempcad && cp draftSight.deb tempcad && cp draftSight.deb tempcad && cd tempcad && ar -x draftSight.deb && tar -zxvf data.tar.gz && sudo cp -R var/. /var && sudo cp -R opt/. /opt && tar -zxvf control.tar.gz && sudo ./preinst && sudo ./postinst// JAVA (falhou)sudo add-apt-repository ppa:webupd8team/java && sudo apt-get update && sudo apt-get install oracle-java7-installer && sudo apt-get install icedtea-7-plugin -yjava -version//PROTÉGÉ http://protege.stanford.edu/download/protege/4.0/installanywhere/>// http://protege.stanford.edu/download/protege/4.0/installanywhere/InstData/Linux/VM/install_protege_4....//ou// http://protege.stanford.edu/download/protege/4.0/installanywhere/InstData/Linux_64bit/VM/install_pro..../*InstructionsAfter downloading open a shell and, cd to the directory where you downloaded the installer.At the prompt type: sh ./install_protege_4.0.2.bin */sudo apt-get install git openssh-server//CAKE PHPUsar o Synaptic

Conteúdo disponível no site http://db2br.com/guia2.php na aba "Comandos UBUNTU" e no site https://www.goconqr.com/pt-BR/p/2402472-Comandos-UBUNTU---LUBUNTU---LINUX-notes

Show full summary Hide full summary

Similar

QUESTIONÁRIO DE INFORMÁTICA: SISTEMAS OPERACIONAIS
anapaulabrasilam
Formatação pelo Método Zero Fill (Encher de Zeros) no UBUNTU
Adenilson Paiva
EXERCÍCIOS DE LINUX
prof.santoss
Flashcards noções de informática para concurso
OSVALDO TUON
Linux, Mac, Android e Ios
Renato Costa
LPI 101 - Mapa Mental
joabe kachorroski
UBUNTU
Nati Lemmertz
Sistemas Operacionais
Jorge Borges
CONSOLE DE COMANDOS
Matheus_16
Introdução Aula 01
jonata menezes