get the dep here: http://www.openprinting.org/printer/Epson/Epson-L355_Series
install it
wget http://download.ebz.epson.net/dsc/op/stable/debian/dists/lsb3.2/main/binary-amd64/epson-inkjet-printer-201207w_1.0.0-1lsb3.2_amd64.deb
sudo dpkg -i epson-inkjet-printer-201207w_1.0.0-1lsb3.2_amd64.deb
sudo apt --fix-broken install
use cups interface to install printer: http://127.0.0.1:631/
resources: http://www.linuxquestions.org/questions/linux-hardware-18/cups-what-driver-to-use-for-an-epson-l355-printer-4175495655/
screen capture using vlc and external usb microphone:
cvlc screen:// --screen-fps 20 --input-slave="pulse://alsa_input.usb-0b0e_Jabra_SPEAK_510_USB_1C48F9E60C09020A00-00-USB.analog-mono" --sout='#transcode{vcodec=theo,quality=10,fps=20,acodec=flac}:std{access=file,mux=ogg,dst=test.ogg}'
source: http://www.videolan.org/doc/streaming-howto/en/ch03.html
I always have to look this up, so I guess I should write this down:
# hashing / encrypting passwords for dovecot + postfix email users
doveadm pw -s CRYPT
This printer might not work on usb3 ports, disabling usb3 in bios setup could
helps thou:
# download scanner driver from
# http://support.brother.com/g/s/id/linux/en/download_scn.html
# install scanner driver
sudo apt-get install brscan3-0.2.11-5.amd64.deb
# link missing files (if required)
sudo ln -s /usr/lib64/libbrscandec3.so /usr/lib/libbrscandec3.so
Edit libsane udev rules. eg: sudo gedit /lib/udev/rules.d/40-libsane.rules
Add the following 2 lines before "LABEL="libsane_rules_end""
.
# Brother scanners
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"
# install samba
sudo apt-get install samba
# add fileshare configuration to
# samba config file
# manipulate this to fit your needs
cat << EOF | sudo bash -c 'cat >> /etc/samba/smb.conf'
[sharename]
comment = Some useful files
read only = no
locking = no
path = /media/sharename
guest ok = no
EOF
# optional, create new user for samba
#sudo adduser sambauser
# enable unix user for samba authentication
sudo smbpasswd -a sambauser
# restart samba
sudo service samba restart
resources: https://wiki.debian.org/SambaServerSimple
# install sudo if not installed already
su -c 'apt-get install sudo'
# grant sudo privileges
su -c 'adduser <yourusername> sudo'
replace with the name of the use who
will be given sudo rights.
I needed to change language because non-english error messages are really
really hard to understand.
Relevant language settings are located in:
~/.pam_environment
/etc/default/locales
Let's jump right into installing owncloud on a plain Debian System:
# add owncloud debian repo
echo 'deb http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/ /' >> /etc/apt/sources.list.d/owncloud.list
wget -qO- http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/Release.key | apt-key add -
# install the server software
apt-get install owncloud mysql-server
# now take a look at your generated mysql super-user credentials
cat /etc/mysql/debian.cnf
# use super-user to get a mysql shell
mysql -u debian-sys-maint -p
Create a MySQL user and database for owncloud. Just execute this in the sql shell:
create user 'owncloud'@'localhost' IDENTIFIED BY 'password';
create database owncloud;
grant all privileges on owncloud.* to 'owncloud'@'localhost';
flush privileges;
Great. Now configure /etc/apache2/sites-available/default
:
- Update all occurances of
AllowOverride None
to AllowOverride All
. (to allow .htaccess files)
- If you're running this behind a reverse proxy which terminates TLS: add
SetEnv HTTPS on
to vhost.
# add a html forward for directing users to owncloud
echo "<html><head><meta http-equiv="refresh" content="0; url=/owncloud/" /></head><body></body></html>" > /var/www/index.html
Almost done. Go to url of the fresh installed instance to complete ownclowd setup.
I also installed their linux client:
echo 'deb http://download.opensuse.org/repositories/isv:ownCloud:devel/Debian_7.0/ /' >> /etc/apt/sources.list.d/owncloud-client.list
wget -qO- http://download.opensuse.org/repositories/isv:ownCloud:devel/Debian_7.0/Release.key | apt-key add -
apt-get update
apt-get install owncloud-client
Why isn't track-point scrolling configured to work out to the box on Linux?
Right, everything is full of bugs. At least there's a workaround:
https://bugzilla.redhat.com/show_bug.cgi?id=710053#c3
Generate a 8k x509 self signed ssl key for usage with a web-server like apache2
where both keys are in the same file:
openssl req -newkey rsa:$((1024*8)) -new -x509 -days 9999 -nodes -out apache.pem -keyout apache.pem