Sei sulla pagina 1di 9

VirtualBox - Preconfigurazione

16g HardDisk

selezionare I settings del disco rigido ed abilitare la cache


4g RAM

4 cpu

"C:\Program Files\Oracle\VirtualBox\vboxmanage" modifyvm "Ubuntu-18.04" --vram 256

Installazione – Desktop minimal

Lingua English

Keyboard Italian Italian

Al riavvio:

non ho attivato live patch

disabilitato l’invio delle informazioni di sistema

non ho installato software aggiuntivo

Post Installation

https://itsfoss.com/things-to-do-after-installing-ubuntu-18-
04/?utm_source=newsletter&utm_medium=email&utm_campaign=ubuntu_1804_release_all_you_need_t
o_know&utm_term=2018-04-26

fatto fino al 7…….. compreso chrome

Vanilla gnome

https://itsfoss.com/vanilla-gnome-ubuntu/
GNOME SHELLE EXTENSIONS
sudo apt-get install gnome-shell-extensions gnome-tweak-tool
settare il tema dark

(gnome shell non è configurabile perché dalla 18.04 hanno levato la pssiibilità di configurarlo)

https://www.youtube.com/watch?v=tGcAYyewses

andare sul sito https://extensions.gnome.org/extension/19/user-themes/

selezionare la versione di gnome 3.28 e extension version 34 e scaricare lo zip

unzippare il file nella cartella

/home/[user]/.local/share/gnome-shell/extensions

Chiuedere e riaprire il tweak ed abilitare le user themes

Chiudere e riaprire il tweak a questo punto la selezoine della shell è attiva

Andare su www.gnome-look.org per scegliere il tema e la shell.. per ora non l’ho fatto.. basr il tema dark

Installare nodejs

https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04

https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

qiu viene spiegato tutto basta seguire I passo


curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
Optional: install build tools

To compile and install native addons from npm you may also need to install build tools:
sudo apt-get install -y build-essential
Installare Git
https://www.digitalocean.com/community/tutorials/how-to-install-git-on-ubuntu-16-04

A more flexible method of installing git is to compile the software from source. This takes
longer and will not be maintained through your package manager, but it will allow you to
download the latest release and will give you some control over the options you include if
you wish to customize.

Before you begin, you need to install the software that git depends on. This is all
available in the default repositories, so we can update our local package index and then
install the packages:

sudo apt-get update


sudo apt-get install build-essential libssl-dev libcurl4-gnutls-dev
libexpat1-dev gettext unzip

wget https://github.com/git/git/archive/v2.10.0.zip -O git.zip

Unzip the file that you downloaded and move into the resulting directory by typing:

unzip git.zip

cd git-*

Now, you can make the package and install it by typing these two commands:

make prefix=/usr/local all

sudo make prefix=/usr/local install

Now that you have git installed, if you want to upgrade to a later version, you can simply
clone the repository (making sure to first change to your home directory), and then build
and install. To find the URL to use for the clone operation, navigate to the branch or tag
that you want on the project's GitHub pageand then copy the clone URL on the right side:

Change to your home home directory, and use git clone on the URL you just copied:

 cd ~

 git clone https://github.com/git/git.git

This will create a new directory within your current directory where you can rebuild the
package and reinstall the newer version, just like you did above. This will overwrite your
older version with the new version:

 cd git

 make prefix=/usr/local all

 sudo make prefix=/usr/local install

The information is stored in your git configuration file, which you can optionally edit by
hand with your text editor like this:

 nano ~/.gitconfig

~/.gitconfig contents
[user]
name = Your Name
email = youremail@domain.com

Installre MySQL
http://www.cyberciti.biz/faq/howto-install-mysql-on-ubuntu-linux-16-04/

Step 1: Update your system by typing the following commands:

$ sudo apt update

$ sudo apt upgrade

Step 2: Install mysql version 5.7 on Ubuntu 16.04


Type the following command:

$ sudo apt install mysql-server mysql-client

root Reverse0!
Run mysql_secure_installation to secure your installation
For all production server you must run the following command:

$ sudo mysql_secure_installation

How do I reset the mysql root account password?


You need to type the following command, if you would like to change the MySQL root
password:

$ sudo dpkg-reconfigure mysql-server-5.7

See “Recover the MySQL root Password” for more information

Installare Java

https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04

Installing the Oracle JDK


If you want to install the Oracle JDK, which is the official version distributed by Oracle, you
will need to follow a few more steps. If you need Java 6 or 7, which are not available in the
default Ubuntu 16.04 repositories (not recommended), this installation method is also
available.

First, add Oracle's PPA, then update your package repository.

 sudo add-apt-repository ppa:webupd8team/java



 sudo apt-get update

Then, depending on the version you want to install, execute one of the following
commands:
Oracle JDK 8
This is the latest stable version of Java at time of writing, and the recommended version to
install. You can do so using the following command:

 sudo apt-get install oracle-java8-installer

Installare MAVEN
https://www.howtoinstall.co/it/ubuntu/xenial/maven

sudo apt-get update


sudo apt-get install maven

Installare Eclipse
Scaricare ed usare l’installer di Eclipse

Create a launcher shortcut.

Open terminal from Unity Dash, Application Launcher, or via Ctrl+Alt+T shortcut key. When it
opens, paste below command and run:

nano ~/.local/share/applications/eclipse.desktop

The command creates and opens a launcher file, for current user, with gedit text editor. When
it opens, paste below content:

[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/home/diufla/eclipse/jee-neon/eclipse/eclipse
Terminal=false
Icon=/home/diufla/eclipse/jee-neon/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse

GTK2 va meglio con SWT di Eclipse e quindi

eclipse.ini
--launcher.GTK_version
2

Non si vedono le icone sui menu e sui bottoni (questo influenza tutto il Sistema)

To enable menu have icons, run:

gsettings set org.gnome.desktop.interface menus-have-icons true

To enable button have icons, run:

gsettings set org.gnome.desktop.interface buttons-have-icons true

Installare Postman
wget -q https://dl.pstmn.io/download/latest/linux?arch=64 -O postman.tar.gz
tar -xzf postman.tar.gz
rm postman.tar.gz

echo "Installing to opt..."


if [ -d "/opt/Postman" ];then
sudo rm -rf /opt/Postman
fi
sudo mv Postman /opt/Postman

echo "Creating symbolic link..."


if [ -L "/usr/bin/postman" ];then
sudo rm -f /usr/bin/postman
fi
sudo ln -s /opt/Postman/Postman /usr/bin/postman

echo "Installation completed successfully."


echo "You can use Postman!"

nano ~/.local/share/applications/postman.desktop

[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec="/opt/Postman/Postman" --disable-gpu %f
Icon=/opt/Postman/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;