Tuesday, July 7, 2015

Installing XFCE4 on Debian Wheezy x64

The steps to install XFCE4 on Debian Wheezy x64 are:
  1. To install Xfce, do the following
    # apt-get install xfce4
  2. There are many useful utilities that come with Xfce, to install these
    # apt-get install xfce4-goodies
  3. You also can install xdm to login in start Xfce
    # apt-get install xdm

Configuring LAN in Debian 7 x64 Minimal CLI Only

For dynamic ip address (DHCP), edit file /etc/network/interfaces, add these lines:
auto eth0
iface eth0 inet dhcp
For static ip address, edit file /etc/network/interfaces, add these lines:
auto eth0
iface eth0 inet static
  address 192.168.1.11 -> change with your lan
  netmask 255.255.255.0 -> 
change with your lan
  gateway 192.168.1.1 -> 
change with your lan
  
dns-nameservers 8.8.8.8, 8.8.4.4 -> change or add with your name server
Restart your network service run:
# /etc/init.d/networking restart 

Personal linux command references (Debian command)

Note: these are command references for personal usage, you may use them as references freely with your own responsible. No warranty for any damages causing bay these references.

To show model

# dmidecode -s system-version
IdeaPad Gaming 3 15ARH7
16GB DDR5-4800 each slot manufacture tested

To show ram slot

# lshw -class memory
or
# dmidecode -t memory
dmidecode show maximum memory

Using ssh : remote to server using secure channel

$ ssh -l [user_name] [servername_or_ip]
scp : upload to server using secure channel (secure copy)
$ scp [file_source_to_upload] [user_name]@[servername_or_ip]:[full_path_destination_folder]

Using tar.gz 

To compress
$ tar -cvf [file_name.tar] [folder_to_archive]
To decompress from tar.gz
$ tar -xvf [file_name.tar]
$ tar -czvf BoyerMoore.tar.gz  ./BoyerMooreCopyPaste

Using p7zip

decompress
$ p7zip -d ./Kramaning.4.3.7z
compress folder
$ 7z a kramaning.7z ./Kramaning/*

Restart lightdm xfce desktop server

# systemctl start lightdm
# systemctl status lightdm


Install apt-cacher-ng

Server configuration and test
Install apt-cacher-ng
 # apt-get install apt-cacher-ng
Check your server using browser and enter URL 
http://localhost:3142/apt-cacher

Client configuration
Configure apt by creating a new file 01proxy at directory /etc/apt/apt.conf.d/ and add a line Acquire::http::Proxy "http://<IP address or hostname of the apt-cacher server>:3142";
For example, file /etc/apt/apt.conf.d/01proxy contain:
Acquire::http { Proxy "http://192.168.1.10:3142"; };

Installing Epson Inkjet L Series and M Series on Debian Wheezy

Download your printer driver from http://www.epson.co.id/sites/epson_indonesia/support/support.page and select suitable Distro.
Before you install the driver, install its dependency by running this:
# apt-get install lsb
After its completed, you can install your printer driver by running this:
# dpkg -i epson-inkjet-printer-201207w_1.0.0-1lsb3.2_amd64.deb 
For my case, I install L110 driver on Debian Wheezy.
Configure your Printer from your browser or from Applications -> System Tools -> Preferences -> System Settings -> Printers.
NOTE: Driver L100/L200 not compatible with Driver L110/L210 
For L100 use Epson Stylus NX115 (CUPS + Gutenprint v5.2.9) or
For L100/L200 use this driverhttp://download.ebz.epson.net/dsc/du/02/DriverDownloadInfo.do?LG2=PL&CN2=&DSCMI=24156&DSCCHK=95e99b2956fbf8c93b44cbd7a37f94836967528c