Search - Login
ui-buttonUSB bootPress F8 on startup.
Press F8 on startup.
ui-buttonInstall aptitudeType:sudo apt-get install aptitudesudo aptitude install bash-completion
Type:
sudo apt-get install aptitudesudo aptitude install bash-completion
ui-buttonActivate SSH accessType:sudo aptitude install openssh-server
sudo aptitude install openssh-server
ui-buttonConfigure ufw firewallInstall ufw firewall:sudo aptitude install ufwThen apply the following rules:Generic rules:sudo ufw default deny incomingsudo ufw default allow outgoingDomain:sudo ufw allow domainInternet:sudo ufw allow sshsudo ufw allow ftpsudo ufw allow wwwsudo ufw allow httpssudo ufw allow http-altEmails:sudo ufw allow imapssudo ufw allow ssmtpsudo ufw allow xmpp-clientRemote desktop:sudo ufw allow 5900Samba:sudo ufw allow 113sudo ufw allow proto tcp from 192.168.0.0/24 to 192.168.0.0/24 port 135sudo ufw allow proto tcp from 192.168.0.0/24 to 192.168.0.0/24 port 139sudo ufw allow proto tcp from 192.168.0.0/24 to 192.168.0.0/24 port 445sudo ufw allow proto udp from 192.168.0.0/24 to 192.168.0.0/24 port 137sudo ufw allow proto udp from 192.168.0.0/24 to 192.168.0.0/24 port 138Transmission:sudo ufw allow 9099sudo ufw allow 20500:20599/tcpsudo ufw allow 20500:20599/udpPrinter sharing:sudo ufw allow 631NTP:sudo ufw allow ntpSqueezeserver:sudo ufw allow 9000sudo ufw allow 9090sudo ufw allow 3483Before applying the new rules, the logging can be activated with:sudo ufw logging onThen reload the configuration with:sudo ufw enableThe firewall status is visible with:sudo ufw statusTo stop the firewall, the command is:sudo ufw disableAll the existing rules can be removed with:sudo ufw resetAnd finally, to display the log, type:sudo tail -f /var/log/ufw.log
Install ufw firewall:
sudo aptitude install ufw
Then apply the following rules:
Generic rules:
sudo ufw default deny incomingsudo ufw default allow outgoing
Domain:
sudo ufw allow domain
Internet:
sudo ufw allow sshsudo ufw allow ftpsudo ufw allow wwwsudo ufw allow httpssudo ufw allow http-alt
Emails:
sudo ufw allow imapssudo ufw allow ssmtpsudo ufw allow xmpp-client
Remote desktop:
sudo ufw allow 5900
Samba:
sudo ufw allow 113sudo ufw allow proto tcp from 192.168.0.0/24 to 192.168.0.0/24 port 135sudo ufw allow proto tcp from 192.168.0.0/24 to 192.168.0.0/24 port 139sudo ufw allow proto tcp from 192.168.0.0/24 to 192.168.0.0/24 port 445sudo ufw allow proto udp from 192.168.0.0/24 to 192.168.0.0/24 port 137sudo ufw allow proto udp from 192.168.0.0/24 to 192.168.0.0/24 port 138
Transmission:
sudo ufw allow 9099sudo ufw allow 20500:20599/tcpsudo ufw allow 20500:20599/udp
Printer sharing:
sudo ufw allow 631
NTP:
sudo ufw allow ntp
Squeezeserver:
sudo ufw allow 9000sudo ufw allow 9090sudo ufw allow 3483
Before applying the new rules, the logging can be activated with:
sudo ufw logging on
Then reload the configuration with:
sudo ufw enable
The firewall status is visible with:
sudo ufw status
To stop the firewall, the command is:
sudo ufw disable
All the existing rules can be removed with:
sudo ufw reset
And finally, to display the log, type:
sudo tail -f /var/log/ufw.log
ui-buttonMount network drivesFirst create the destination folders:sudo mkdir /nassudo mkdir /nas/Documentssudo mkdir /nas/Livressudo mkdir /nas/Musiquesudo mkdir /nas/Photossudo mkdir /nas/Projetssudo mkdir /nas/Sauvegardessudo mkdir /nas/Videosudo mkdir /nas/Tmpsudo mkdir /nas/DownloadWith the proper rights:sudo chown -R guenmat /nasWith the proper rights:sudo vi /etc/fstabAdd "noatime,nodiratime" options for / :# / was on /dev/sda1 during installationUUID=e4bc5c1e-94a2-4d02-88c1-20761913e8d0 / ext4 errors=remount-ro 0 1Becomes# / was on /dev/sda1 during installationUUID=e4bc5c1e-94a2-4d02-88c1-20761913e8d0 / ext4 noatime,nodiratime,errors=remount-ro 0 1And add the following lines (replace LOGIN and PASSWORD with their values):# Add Buffalo NAS HDD mount//192.168.0.100/Documents /nas/Documents cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Livres /nas/Livres cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Musique /nas/Musique cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Photos /nas/Photos cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Projets /nas/Projets cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Sauvegardes /nas/Sauvegardes cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Video /nas/Video cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Tmp /nas/Tmp cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Download /nas/Download cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0To apply the new configuration without reboot:sudo mount -aTo disable the configuration:sudo umount -a
First create the destination folders:
sudo mkdir /nassudo mkdir /nas/Documentssudo mkdir /nas/Livressudo mkdir /nas/Musiquesudo mkdir /nas/Photossudo mkdir /nas/Projetssudo mkdir /nas/Sauvegardessudo mkdir /nas/Videosudo mkdir /nas/Tmpsudo mkdir /nas/Download
With the proper rights:
sudo chown -R guenmat /nas
sudo vi /etc/fstab
Add "noatime,nodiratime" options for / :
# / was on /dev/sda1 during installation
UUID=e4bc5c1e-94a2-4d02-88c1-20761913e8d0 / ext4 errors=remount-ro 0 1
Becomes
UUID=e4bc5c1e-94a2-4d02-88c1-20761913e8d0 / ext4 noatime,nodiratime,errors=remount-ro 0 1
And add the following lines (replace LOGIN and PASSWORD with their values):
# Add Buffalo NAS HDD mount//192.168.0.100/Documents /nas/Documents cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Livres /nas/Livres cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Musique /nas/Musique cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Photos /nas/Photos cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Projets /nas/Projets cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Sauvegardes /nas/Sauvegardes cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Video /nas/Video cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Tmp /nas/Tmp cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0//192.168.0.100/Download /nas/Download cifs username=LOGIN,password=PASSWORD,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0
To apply the new configuration without reboot:
sudo mount -a
To disable the configuration:
sudo umount -a
ui-buttonUpgrade softwaresDo not forget to add blocking rules from the site:http://www.iblocklist.com/lists.phpMore precisely for France, apply:http://list.iblocklist.com/?list=fr&fileformat=p2p&archiveformat=gzStart transmission on startup:Nom : TransmissionExécutable : transmission-gtk -m
Do not forget to add blocking rules from the site:
http://www.iblocklist.com/lists.php
More precisely for France, apply:
http://list.iblocklist.com/?list=fr&fileformat=p2p&archiveformat=gz
Start transmission on startup:
Nom : TransmissionExécutable : transmission-gtk -m
ui-buttonInstall squeezecenterDownload latest version at:http://www.mysqueezebox.com/downloadThen type:sudo dpkg -i logitechmediaserver_*_all.debThe sofware will be available at:http://localhost:9000
Download latest version at:
http://www.mysqueezebox.com/download
Then type:
sudo dpkg -i logitechmediaserver_*_all.deb
The sofware will be available at:
http://localhost:9000
ui-buttonInstall ConkyType:sudo aptitude install conkyThen download scripts at:http://www.guenmat.com/portail/public/file/servlet?code=6_1407676044387And type:tar xzvf conkytheme.tar.gzmv .conkytheme /home/guenmatTo try manually the configuration, type:conky -c /home/guenmat/.conkytheme/conkyrc-eeebox-bigIn order to start conky automatically on startup, create a new script with:vi ~/conkystartup.shAnd paste the following content:#!/bin/bashsleep 15&&conky -c /home/guenmat/.conkytheme/conkyrc-eeebox-bigChange the script execution rights:sudo chmod +x ~/conkystartup.shThen use the ubuntu "Startupt applications" tool to create a new entry calling the previous script.
sudo aptitude install conky
Then download scripts at:
http://www.guenmat.com/portail/public/file/servlet?code=6_1407676044387
And type:
tar xzvf conkytheme.tar.gzmv .conkytheme /home/guenmat
To try manually the configuration, type:
conky -c /home/guenmat/.conkytheme/conkyrc-eeebox-big
In order to start conky automatically on startup, create a new script with:
vi ~/conkystartup.sh
And paste the following content:
#!/bin/bashsleep 15&&conky -c /home/guenmat/.conkytheme/conkyrc-eeebox-big
Change the script execution rights:
sudo chmod +x ~/conkystartup.sh
Then use the ubuntu "Startupt applications" tool to create a new entry calling the previous script.
ui-buttonInstall teamviewerDownload the latest 32bits version at:wget http://download.teamviewer.com/download/teamviewer_linux.debThen type:sudo aptitude install gdebisudo gdebi teamviewer_linux.debsudo rm -f teamviewer_linux.debValidate and proceed with the installation.
Download the latest 32bits version at:
wget http://download.teamviewer.com/download/teamviewer_linux.deb
sudo aptitude install gdebisudo gdebi teamviewer_linux.debsudo rm -f teamviewer_linux.deb
Validate and proceed with the installation.
ui-buttonDisable advertsType:gsettings set com.canonical.Unity.Lenses disabled-scopes "['more_suggestions-amazon.scope', 'more_suggestions-u1ms.scope', 'more_suggestions-populartracks.scope', 'music-musicstore.scope', 'more_suggestions-ebay.scope', 'more_suggestions-ubuntushop.scope', 'more_suggestions-skimlinks.scope']"
gsettings set com.canonical.Unity.Lenses disabled-scopes "['more_suggestions-amazon.scope', 'more_suggestions-u1ms.scope', 'more_suggestions-populartracks.scope', 'music-musicstore.scope', 'more_suggestions-ebay.scope', 'more_suggestions-ubuntushop.scope', 'more_suggestions-skimlinks.scope']"
ui-buttonInstall missing codecsType:sudo apt-get install ubuntu-restricted-extras libavcodec-extra
sudo apt-get install ubuntu-restricted-extras libavcodec-extra