0% found this document useful (0 votes)
20 views10 pages

Ubuntu Configuration Final

The document provides instructions for installing and configuring various software on Ubuntu, including basic packages, error reporting, all software, MonoDevelop, Argouml, XAMPP, NetBeans, Weka, Chromium, Dosbox, code blocks, graphics libraries, Java, MySQL server, SQL Workbench, VIM text editor, Gnome panel, Notepadqq, GIMP, Bluefish, Gambas3, LibreCAD, USB blocking, PlayOnLinux, Cisco Packet Tracer, Samba file sharing, and boot repair.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views10 pages

Ubuntu Configuration Final

The document provides instructions for installing and configuring various software on Ubuntu, including basic packages, error reporting, all software, MonoDevelop, Argouml, XAMPP, NetBeans, Weka, Chromium, Dosbox, code blocks, graphics libraries, Java, MySQL server, SQL Workbench, VIM text editor, Gnome panel, Notepadqq, GIMP, Bluefish, Gambas3, LibreCAD, USB blocking, PlayOnLinux, Cisco Packet Tracer, Samba file sharing, and boot repair.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Ubuntu – Software installation

BASIC
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install synaptic
sudo apt-get install curl---------Memory allocation

ERROR REPORTING - Disable


sudo service apport stop
sudo gedit /etc/default/apport – change 1 to 0

All Software
sudo apt-get install gksu leafpad -y ;sudo apt-get install chromium-browser -y ;sudo apt-get
update;sudo apt install dosbox -y;sudo apt-get install idle3 -y; sudo apt-get update;sudo apt-
get install python3-pip -y; sudo pip3 install pygame -y;sudo apt-get install python3-pandas -
y;sudo apt-get install python3-numpy;sudo apt-get install python3-scipy;sudo apt-get install
python3-matplotlib;sudo apt-get install default-jre -y;sudo apt-get install default-jdk -
y;javac -version;sudo apt-get install mysql-server -y;
sudo apt-get update;sudo apt-get install mysql-workbench -y; sudo apt-get install vim -
y;sudo apt-get update;sudo apt-get install gnome-panel -y; sudo apt-get install gnome-
tweak-tool -y;sudo apt-get install gnome-shell-extensions -y;sudo add-apt-repository
ppa:notepadqq-team/notepadqq;sudo apt-get update;sudo apt-get install notepadqq -y;sudo
add-apt-repository ppa:gambas-team/gambas3;sudo apt-get update;sudo apt-get install
gambas3 -y;sudo add-apt-repository ppa:otto-kesselgulasch/gimp;sudo apt-get update;sudo
apt-get install gimp -y; sudo add-apt-repository ppa:klaus-vormweg/ppa;sudo apt-get
update;sudo apt-get install bluefish -y;sudo apt-get install -y mypaint;sudo apt-get install -y
pdfmod

MONODEVELOP
sudo gedit /etc/apt/sources.list
include the following line
deb http://us.archive.ubuntu.com/ubuntu xenial main universe
sudo apt-get update;sudo apt-get install monodevelop -y

ARGOUML
tar xzvf ArgoUML*.tar.gz;sudo mv argouml-0.34 /opt/;sudo chmod 777 /opt/argouml-
0.34/argouml.sh;sudo ln -s /opt/argouml-0.34/argouml.sh /usr/bin/argo;sudo gedit
/usr/share/applications/argouml.desktop

[Desktop Entry]
Version=0.34
Name=ArgoUml
Comment=UML
Exec=argo
Icon=/opt/argouml-0.34/icon/argouml2.svg
Terminal=false
Type=Application
Categories=Utility;Application;Development

XAMPP
wget https://www.apachefriends.org/xampp-files/7.0.2/xampp-linux-7.0.2-1-installer.run

sudo chmod +x xampp-linux-7.0.2-1-installer.run;sudo ./xampp-linux-7.0.2-1-


installer.run;sudo chmod 777 -R /opt/lampp/htdocs

XAMPP Desktop Shortcut

gedit ~/Desktop/xampp-control-panel.desktop

[Desktop Entry]
Encoding=UTF-8
Name=XAMPP Control Panel
Comment=Start and Stop XAMPP
Exec=gksu /opt/lampp/manager-linux.run
Icon=/opt/lampp/htdocs/favicon.ico
Categories=Application
Type=Application

chmod +x ~/Desktop/xampp-control-panel.desktop

xampp Autostart
sudo gedit /etc/init.d/lampp

#!/bin/bash
/opt/lampp/lampp start

sudo chmod +x /etc/init.d/lampp;sudo update-rc.d lampp defaults

Uninstall XAMPP
sudo -i
cd /opt/lampp
sudo ./uninstall

NETBEANS
https://netbeans.org/downloads/
cd Downloads

chmod +x netbeans-8.2-linux.sh;sudo ./netbeans-8.2-linux.sh

sudo gedit /usr/local/glassfish-4.0/glassfish/domains/domain1/config/domain.xml

WEKA
synaptic package manager
weka – mark,apply
visual studia code – install dep file to download

CHROMIUM
sudo apt-get update
sudo apt-get install chromium-browser

Dosbox with c
sudo apt-get update;sudo apt install dosbox -y
Download & paste the tc setup in home
install the install.exe

Driver
sudo apt-get install nvidia-304

Grub change
sudo apt-get install gksu leafpad
sudo gedit /etc/default/grub
Tmeout=-1 ---------No time limit
sudo update-grub

Fix Slow Shutdown on Ubuntu 16.04


Almost always this ridiculously, badly designed Plymouth boot splash screen:
sudo mv -v /lib/systemd/system/plymouth-poweroff.service /root/
sudo mv -v /lib/systemd/system/pl
ymouth-reboot.service /root/
sudo systemctl daemon-reload

sudo gedit /etc/systemd/system.conf


#DefaultTimeoutStopSec=90s
change to 4s

Server Map
sudo mount -t cifs -o
username=administrator,password=Admin99,uid=ccl,gid=ccl,forceuid,forcegid,
//172.16.3.254/abi /media/Data

sudo umount -a -t cifs --- unmap

CHROMIUM
sudo apt-get update
sudo apt-get install chromium-browser

ADDRESS BAR
sudo apt-get install dconf-tools
After installation open dconf-editor go to org –> gnome –> nautilus –> preferences and
choose always-use-location-entry
FONT
mkdir .fonts;sudo dpkg-reconfigure ttf-mscorefonts-
installer;sudo apt-get install ttf-mscorefonts-installer;wget -qO-
http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer | bash
click Tools > Options > LibreOffice Writer or OpenOffice Writer > Basic Fonts (Western).

Python idle
sudo apt-get install idle3 -y; sudo apt-get update;sudo apt-get install python3-pip -y; sudo
pip3 install pygame -y;sudo apt-get install python3-pandas -y;sudo apt-get install python3-
numpy;sudo apt-get install python3-scipy;sudo apt-get install python3-matplotlib;
ERROR REPORTING - Disable
sudo service apport stop
sudo gedit /etc/default/apport – change 1 to 0

CODE BLOCKS
sudo add-apt-repository ppa:damien-moore/codeblocks-stable;sudo apt-get update;sudo apt-
get install codeblocks

GRAPHICS
download libgraph-1.0.2
sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev guile-1.8 guile-1.8-dev
libsdl1.2debian libart-2.0-dev libaudiofile-dev libesd0-dev libdirectfb-dev libdirectfb-extra
libfreetype6-dev libxext-dev x11proto-xext-dev libfreetype6 libaa1 libaa1-dev libslang2-dev
libasound2 libasound2-dev

cd libgraph-1.0.2;./configure;sudo make install;sudo cp /usr/local/lib/libgraph.* /usr/lib

JAVA
sudo apt-get install default-jre;sudo apt-get install
default-jdk;sudo add-apt-repository ppa:webupd8team/java;sudo
apt update;sudo apt install oracle-java8-installer;sudo apt
install oracle-java8-set-default;javac -version

MYSQL SERVER
sudo apt-get update;sudo apt-get install mysql-server;mysqladmin -p -u root version

mysql -u root -p – Enter the SQL Prompt

MYSQL SERVER not Working

sudo mv opt/lampp/logs/httpd.pid httpd.pid.bak; sudo mv opt/lampp/var/proftpd.pid


proftpd.pid.bak; sudo mv opt/lampp/logs/l/admin-ccl.pid admin-ccl.pid.bak;

SQL Workbench & VIM


sudo apt-get update;sudo apt-get install mysql-workbench; sudo apt-get install vim;sudo
apt-get update

Gnome-Panel
sudo apt-get update;sudo apt-get install gnome-panel

Notepadqq
sudo add-apt-repository ppa:notepadqq-team/notepadqq;sudo
apt-get update;sudo apt-get install notepadqq

GIMP
sudo add-apt-repository ppa:otto-kesselgulasch/gimp;sudo apt-get update;sudo apt-get
install gimp

BLUEFISH – web site design


sudo add-apt-repository ppa:klaus-vormweg/ppa;sudo apt-get update;sudo apt-get install
bluefish

Gambas3 – vb use
sudo add-apt-repository ppa:gambas-team/gambas3;sudo apt-get update;sudo apt-get install
gambas3

LIBREACD
sudo add-apt-repository ppa:librecad-dev/librecad-daily;sudo apt-get update;sudo apt-get
install librecad

USB Block
gksudo gedit /etc/modprobe.d/blacklist.conf
blacklist usb_storage

gksudo gedit /etc/rc.local


modprobe -r usb_storage
exit 0
sudo modprobe usb_storage
sudo rmmod usb_storage

or
1. Install PAM
$ sudo apt-get install pamusb-tools libpam-usb

2. Add USB device to PAM config


$ sudo pamusb-conf --add-device <my-usb-stick>

3. Select your volume and "Y" to save


4. Define user for PAM auth
$ sudo pamusb-conf --add-user <ubuntu-user>

5. Select and "Y" to save


6. Configure PAM
$ sudo gedit /etc/pam.d/common-auth

7. Add the line below and save


auth sufficient pam_usb.so

8. Test the PAM auth


$ su ubuntu-user

9. Lock when disconnected


$ sudo gedit /etc/pamusb.conf

10. Modify the block "user" block to look like:


<user id="ubuntu-user">
<device>
my-usb-stick
</device>
<agent event="lock">gnome-screensaver-command -l</agent>
<agent event="unlock">gnome-screensaver-command -d</agent>
</user>*
Installing PlayOnLinux
sudo apt-get install wine
wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add –
sudo wget http://deb.playonlinux.com/playonlinux_precise.list -O
/etc/apt/sources.list.d/playonlinux.list
sudo apt-get update
sudo apt-get install playonlinux

mv Cisco\ Packet\ Tracer\ 6.1.1\ Linux.tar.gz\?dl\=0 Cisco_Packet_tracer.tar.gz


tar -zxvf Cisco_Packet_tracer.tar.gz

Navigate to the extracted directory:


cd PacketTracer611Student

Now it’s time to start the installation , Installation is very simple and just take few seconds.
sudo ./install
To working with Package tracer we need to set the environment for that Cisco have
provided the environment script, We need to run the script using root user to set the
environment variable.
sudo ./set_ptenv.sh

That’s it for installation step’s. next we need to create a Desktop Icon for Packet tracer.
Create the Desktop Icon by creating desktop file under.
sudo su

cd /usr/share/applications

sudo vim packettracer.desktop

Append the Below content to the file using vim editor or your favourite one.
[Desktop Entry]
Name= Packettracer
Comment=Networking
GenericName=Cisco Packettracer
Exec=/opt/packettracer/packettracer
Icon=/usr/share/icons/packettracer.jpeg
StartupNotify=true
Terminal=false
Type=Application

Save and quit using wq!

Step 5: Run the packet tracer


sudo packettracer

That’s it we have successfully installed the packet tracer in Linux, These above steps are
suitable for every debian based Linux distributions.

How to use SMBnetFS


l sudo apt-get install smbnetfs install the package
l cp /etc/smbnetfs.conf ~/.smb/smbnetfs.conf copy example
configuration file
l cp /etc/samba/smb.conf ~/.smb/smb.conf copy samba configuration
l mkdir ~/sambashare or any other name for the mount point
l smbnetfs ~/sambashare to mount the shares.
l users need to be member of the fuse group

sudo add-apt-repository ppa:yannubuntu/boot-repair;sudo apt-


get update;sudo apt-get install -y boot-repair && boot-repair

sudo cp /home/USER1/FNAME /home/USER2/FNAME && sudo chown


USER2:USER2 /home/USER2/FNAME

You might also like