My installation-Script for Trisquel v6.00 "Toutatis"

11 respuestas [Último envío]
sg.germany
Desconectado/a
se unió: 09/28/2011

How-To-Use:
To install Trisquel-OS on a PC could be easy, if you use my scripts below. After installing Trisquel and the first reboot, you enter your user-account. Copy the files below into your home-directory. Then open a terminal-window. Now you have to create a password for the root.

sudo passwd root

After entering the sudo password, you enter the new password for the root.
Now you can enter "su" and hit the enter-key and the password of the root will
be asked. When you are logged in as root, you now run first "sh update.sh".

After updating and rebooting the system, you log into your user-account again. Open a terminal and log in as root with the "su" command. Now you can run "sh install_trisquel6.sh". At the end of installation, the computer reboots again. Now the system is ready to use.

AdjuntoTamaño
update.sh111 bytes
install_trisquel6.sh1.19 KB
lembas
Desconectado/a
se unió: 05/13/2010

The .sh attachments don't currently work.

http://trisquel.info/en/issues/8153

You could replace them with compressed versions.

quiliro@congresolibre.org
Desconectado/a
se unió: 10/28/2010

El 25/04/13 15:50, name at domain escribió:
> The .sh attachments don't currently work.
>
> http://trisquel.info/en/issues/8153
>
> You could replace them with compressed versions.
>

I did receive it.

--
Saludos libres,

Quiliro Ordóñez
Presidente (en conjunto con el resto de socios)
Asociación de Software Libre del Ecuador - ASLE
Av de la Prensa N58-219 y Cristóbal Vaca de Castro
Quito, Ecuador
(02)-600 8579
IRC: http://webchat.freenode.net?channels=asle&uio=OT10cnVlJjEwPXRydWU3a

Todo correo que reciba será tratado como información pública, de libre copia y modificación, sin importar cualquier nota de confidencialidad.

quiliro@congresolibre.org
Desconectado/a
se unió: 10/28/2010

It would be nice to have comments describing the reasons you chose those packages. Another good thing would be if you had them versioned so you could have an updated version always available. I paste the text here with modifications for proper scripts (in my opinion) and i have assigned the copyleft to you.

You have to create the files below with their respective names in your home-directory.

#!/bin/bash
#
# update.sh
#
# Copyright (C) 2012 sgies1963
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public
# License along with this program.If not, see
# .
#
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
sudo apt-get autoclean -y
sudo apt-get autoremove -y
chmod u+x install_trisquel6.sh
sudo reboot
# end of update.sh

#!/bin/bash
#
# install_trisquel6.sh
#
# Copyright (C) 2012 sgies1963
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public
# License along with this program.If not, see
# .
#
sudo apt-get install mc arj arc zoo p7zip-full gparted -y
sudo apt-get install abiword gnumeric gnumeric-plugins-extra ufw -y
sudo ufw default deny
sudo ufw enable
sudo apt-get install shotwell cups-pdf mbuffer buffer -y
sudo apt-get install gimp-cbm-plus gimp-data-extras gimp-dcraw gimp-dds -y
sudo apt-get install gimp-dimage-color gimp-flegita gimp-gap gimp-gmic gimp-gutenprint -y
sudo apt-get install gimp-lensfun gimp-normalmap gimp-resynthesizer gimp-texturize gtkam-gimp -y
sudo apt-get install clamfs icedtea-7-plugin gnome-games gnome-games-extra-data -y
sudo freshclam -v
sudo apt-get install vorbisgain audacity gnome-codec-install gstreamer0.10-fluendo-mp3 gstreamer0.10-plugins-bad -y
sudo apt-get install xz-lzma uar plzip pdlzip lzip lunzip pythom-lzma lziprecover clzip -y
sudo apt-get install afuse copyfs fosfat fuse-utils fuse-zip fuse-ext2 fuse-fat fuseiso fuse-iso9660 -y
sudo apt-get install epiphany-browser epiphany-browser-data epiphany-extensions -y
sudo apt-get install gnash-common-opengl gnash-ext-fileio gnash-opengl gnash-tools -y
sudo apt-get install evolution-rss gedit-plugins pidgin* xmp-audacious -y
sudo apt-get install xfe fpc ntp rhythmbox-plugin-magnatune rhythmbox-zeitgeist -y
sudo ln -sf /usr/bin/fp-2.4.4 /usr/bin/fp
sudo apt-get install rhythmbox-radio-browser -y
sudo reboot
# end of install_trisquel6.sh

Then all you have to do is open a terminal-window and type:

chmod u+x update.sh
./update.sh

--
Saludos libres,

Quiliro Ordóñez
Presidente (en conjunto con el resto de socios)
Asociación de Software Libre del Ecuador - ASLE
Av de la Prensa N58-219 y Cristóbal Vaca de Castro
Quito, Ecuador
(02)-600 8579
IRC: http://webchat.freenode.net?channels=asle&uio=OT10cnVlJjEwPXRydWU3a

Todo correo que reciba será tratado como información pública, de libre copia y modificación, sin importar cualquier nota de confidencialidad.

sg.germany
Desconectado/a
se unió: 09/28/2011

All those programs are part of synaptic and the repository of a default installed Trisquel vc6.00 CD/DVD. The most of the programs are utilities like p7zip , gparted and so on. Specials are Free Pascal (fpc), for prgramming.
Fuse is needed, if you use Truecrypt (http://www.truecrypt.org). Truecrypt is a external source, that you have to download an install seperately. Truecrypt allows you to create encrypted file-container and/or encrypted usb-sticks, hdd's and so on. For maximum security of your data, you must use this. The gstreamer-plugins allows you to use/see more multimedia-contents in internet.sites and mp3-files.Clamav is a free antivirus software, to prevent infected software and/or emails.Clamav is used in the terminal as user or root. The icedtea-7-plugin allows you to use java-content in a browser. Gimp is a graphic-manipulation program with a lot of plugins. ufw is a software firewall of Debian/Trisquel.

sg.germany
Desconectado/a
se unió: 09/28/2011

There is no copyright on my shell-scripts. Everyone is allowed to use the scripts.

I prefer to use a root password to prevent multiple password entry as sudo.

Andrew M. 'Leny' Lindley
Desconectado/a
se unió: 04/23/2013

Trisquel v6.00 "Toutatis"
Date: Fri, 26 Apr 2013 14:23:20 +0200 (CEST)

> There is no copyright on my shell-scripts. Everyone is allowed to
> use
> the scripts.

Under the Berne Convention everything you write is automatically
copyright you and not free. The best solution is to re-issue your
scripts under the GNU GPL 3.

sg.germany
Desconectado/a
se unió: 09/28/2011

The scripts and configuration files are under GNU GPL 3.

sg.germany
Desconectado/a
se unió: 09/28/2011

Shell-Script update.sh:

apt-get update -y
apt-get upgrade -y
apt-get dist-upgrade -y
apt-get autoclean -y
apt-get autoremove -y
reboot

Shell-Script install_trisquel6.sh:

apt-get install mc arj arc zoo p7zip-full gparted -y
apt-get install abiword gnumeric gnumeric-plugins-extra ufw -y
ufw default deny
ufw enable
apt-get install shotwell cups-pdf mbuffer buffer -y
apt-get install gimp-cbm-plus gimp-data-extras gimp-dcraw gimp-dds -y
apt-get install gimp-dimage-color gimp-flegita gimp-gap gimp-gmic gimp-gutenprint -y
apt-get install gimp-lensfun gimp-normalmap gimp-resynthesizer gimp-texturize gtkam-gimp -y
apt-get install clamfs icedtea-7-plugin gnome-games gnome-games-extra-data -y
freshclam -v
apt-get install vorbisgain audacity gnome-codec-install gstreamer0.10-fluendo-mp3 gstreamer0.10-plugins-bad -y
apt-get install xz-lzma uar plzip pdlzip lzip lunzip pythom-lzma lziprecover clzip -y
apt-get install afuse copyfs fosfat fuse-utils fuse-zip fuse-ext2 fuse-fat fuseiso fuse-iso9660 -y
apt-get install epiphany-browser epiphany-browser-data epiphany-extensions -y
apt-get install gnash-common-opengl gnash-ext-fileio gnash-opengl gnash-tools -y
apt-get install evolution-rss gedit-plugins pidgin* xmp-audacious -y
apt-get install xfe fpc ntp rhythmbox-plugin-magnatune rhythmbox-zeitgeist -y
ln -sf /usr/bin/fp-2.4.4 /usr/bin/fp
apt-get install rhythmbox-radio-browser -y
reboot

sg.germany
Desconectado/a
se unió: 09/28/2011

My new sysctl.conf:

net.ipv4.conf.default.rp_filter=1
net.ipv4.conf.all.rp_filter=1
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.secure_redirects = 1
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
kernel.shmall = 254217728
kernel.shmmax = 254217728
vm.swappiness=100
vm.vfs_cache_pressure = 125
net.ipv4.tcp_rmem = 32768 95165824 95165824
net.core.rmem_max = 95165824
net.core.rmem_default = 95165824
net.ipv4.tcp_wmem = 32768 131072 95165824
net.core.wmem_max = 95165824
net.core.wmem_default = 131072
net.core.optmem_max = 95165824
net.core.netdev_max_backlog = 2500
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1

My new limits.conf:

# /etc/security/limits.conf
#
#Each line describes a limit for a user in the form:
#
#
#
#Where:
# can be:
# - an user name
# - a group name, with @group syntax
# - the wildcard *, for default entry
# - the wildcard %, can be also used with %group syntax,
# for maxlogin limit
# - NOTE: group and wildcard limits are not applied to root.
# To apply a limit to the root user, must be
# the literal username root.
#
# can have the two values:
# - "soft" for enforcing the soft limits
# - "hard" for enforcing hard limits
#
# can be one of the following:
# - core - limits the core file size (KB)
# - data - max data size (KB)
# - fsize - maximum filesize (KB)
# - memlock - max locked-in-memory address space (KB)
# - nofile - max number of open files
# - rss - max resident set size (KB)
# - stack - max stack size (KB)
# - cpu - max CPU time (MIN)
# - nproc - max number of processes
# - as - address space limit (KB)
# - maxlogins - max number of logins for this user
# - maxsyslogins - max number of logins on the system
# - priority - the priority to run user process with
# - locks - max number of file locks the user can hold
# - sigpending - max number of pending signals
# - msgqueue - max memory used by POSIX message queues (bytes)
# - nice - max nice priority allowed to raise to values: [-20, 19]
# - rtprio - max realtime priority
# - chroot - change root to directory (Debian-specific)
#
#
#
root hard nofile 32768
root soft nofile 32768
* hard nofile 32768
* soft nofile 32768

Mampir
Desconectado/a
se unió: 12/16/2009

Since we are here, check out the script I use to configure a new installation of Trisquel.

AdjuntoTamaño
trisquel-set-6-1.tar 50 KB
jbar
Desconectado/a
se unió: 01/22/2011

Thanks for sharing your script. I use many of your config options.