Linux‎ > ‎

Linux









Remote Access



Apps

sudo aptitude --with-recommends install sabnzbdplus
sudo apt-get install k3b audacity blueproximity cifs-utils smartmontools tsocks remmina remmina-plugin* lvm2 gimp gimp-data-extras gimp-ufraw ubuntu-restricted-extras vlc thunderbird filezilla pidgin gpart gparted openssh-server nfs-common nano nfs-kernel-server sysstat sshfs sqliteman nvidia-settings unetbootin usb-creator-gtk zenmap gnome-nettool  shotwell rawtherapee shutter luminance-hdr wireshark gimp-plugin-registry handbrake handbrake-cli unace p7zip-rar sharutils arj lunzip lzip zip motion etherape iperf  wifi-radar fswebcam pavucontrol scite soundconverter -y

Servers:

sudo apt-get install software-properties-common mariadb-server git curl 
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python php5 php5-mysql php5-imagick php5-gd
chown www-data:www-data -R /var/www

sudo locale-gen en_US en_US.UTF-8
sudo dpkg-reconfigure locales
sudo dpkg-reconfigure unattended-upgrades


---------------------------------------------------------------
Linksys wireless drivers wusb6300

sudo apt-get install git
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux
cd rtl8812AU_8821AU_linux
make
sudo make install
------Works with 4.x kernel

---------------------------------------------------------------

Wifi Scanner LinSSID 

sudo add-apt-repository ppa:wseverin/ppa

sudo apt-get update

sudo apt-get install linssid

---------------------------------------------------------------
iwscanner 
http://kuthulu.com/iwscanner/index.php?module=download

If needed 
openshot gstreamer0.10-ffmpeg gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse 

Handbrake

sudo add-apt-repository ppa:stebbins/handbrake-releases
.


Explanation

ntfsprogs
- suite of NTFS utilities - in layman’s terms, it allows you to read/write NTFS partitions (Windows partitions)
gpart - Another partitioner

dolphin - Useful file manager
lvm2 - Logical volume manager, very useful to manage several hard drives for the creation of a single volume.
kvpm - Another volume manager - created for KDE, works well under Gnome.
wine - Allows windows applications to run on Linux (Some applications) *
filezilla - Very complete and easy to use FTP client
virtualbox - Virtualization software, used to run other operating System within your own environment.
openssh-server - enables remote terminal sessions to your machine. (change default port from 22 to whatever you want sudo nano /etc/ssh/sshd_config)
nfs-common - enables your machine to create and manage NFS shares. (I personally create and manage NFS shares from Webmin)
nano - an easy to use terminal editor.
thunderbird - email client.







Some useful scripts

This one is to cleanup older files, on a specific folder and sub-folders, it checks for files older than 29 days, 

 
find /Camera1/videos/* -mtime +29 -exec rm -f {} \;


This script is to filter and create two text files with specific words such as "sshd" and "errors"
grep "sshd" /var/log/messages* />/tmp/sshd_logins.txt  &&  grep "error" /var/log/messages* />/tmp/SSH_Login_Errors_$(date +%m%d%y).txt


Ubuntu Server GUI install


sudo apt-get update
sudo apt-get install ubuntu-desktop gdm -y
sudo shutdown -r now
sudo /etc/init.d/gdm start


To enable root access: (Not recommended for security reasons)

For version 9.10 open the console and set the password
sudo passwd root

For versions prior to 9.10
System-> Administration -> Users and Groups -->  Click on Unlock --> Select ROOT, Give it a password - Close
Then go to:
System-> Administration -> Login Window
Select the “Security” tab
Make sure “Allow Local System Administrator Login” is checked
Log out and log back as root.

Watch DVDs in Ubuntu

apt-get install gstreamer0.10-ffmpeg gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse


/usr/share/doc/libdvdread4/install-css.sh

If you have trouble finding this file, run              updatedb &&  locate install-css.sh 

Games:


apt-get install flightgear  warzone2100 -y


Comments