Mar 16, 2016

UBUNTU:N THINGS TO DO AFTER INSTALL

set the ip address

update the sourcelist
chmod 777 /etc/apt/source.list
vi /etc/apt/source.list


 deb http://httpredir.debian.org/debian/ jessie main
 deb-src http://httpredir.debian.org/debian/ jessie main

 deb http://ftp.debian.org/debian/ jessie-updates main
 deb-src http://ftp.debian.org/debian/ jessie-updates main

 deb http://httpredir.debian.org/debian jessie-updates main
 deb-src http://httpredir.debian.org/debian jessie-updates main

 deb http://security.debian.org/ jessie/updates main
 deb-src http://security.debian.org/ jessie/updates main


su to root

apt-get install vim

apt-get install chrominum chrominum-l10


how to show the Chinese character in Debian
apt-get install fonts-arphic-ukai
apt-get install fonts-arphic-uming


Install "sudo"    - Now that you are root user within the Terminal lets install "sudo"
    - Type in the following command...
        apt-get install sudo
    - then press [enter]



Add your username to the sudo group
    - Type in the following command...
        adduser yourusernamehere sudo
    - then press [enter]
    
Now add your name to /etc/sudoers file
    - Type in the following command...
        nano /etc/sudoers
    - then press [enter]
    - Scroll down and look for the line "%sudo  ALL=(ALL:ALL) ALL"
    - Below that line type in the following...
        yourusernamehere  ALL=(ALL:ALL) ALL
    - Press "Ctrl+x" then press "y" and then press [enter] to exit and save the file
    
Now we exit out of the Terminal completely
    - Type in the following command...
        exit
    - then press [enter]
    - Type exit again...
        exit
    - then press [enter]
    - That should have closed the Terminal application 
    
Now let's open a new Terminal and test to see if sudo is working for your user name
    - Click "Activities"
    - Click in the "Type to search..." box
    - Type in "Terminal" and press the [enter] key
    - Test sudo by typing the following command...
        sudo ls
    - then press [enter]
    - type in your password and press [enter]

    - If the output looks like the following...
        yourusernamehere is not in the sudoers file.  This incident will be reported.
    - then you might have to start from the beginning of these instructions and try again.

    - If the output looks like this...
        Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos
    - Your username now has sudo rights, congratulations!

Enjoy!









fix the sound card problem
sudo apt-get --reinstall install pulseaudio
install some firmware


update adobe

$ wget ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i386linux_enu.deb
$ sudo dpkg --add-architecture i386
$ sudo apt-get update
$ sudo apt-get install libgtk2.0-0:i386 libxml2:i386 libstdc++6:i386
$ sudo dpkg -i AdbeRdr9*.deb

youtube-dl

I did had this problem.. Try out this way...
Remove the old version of youtube-dl
sudo apt-get remove -y youtube-dl
Download the latest version from the official website
sudo wget https://yt-dl.org/latest/youtube-dl -O /usr/local/bin/youtube-dl
Change the permission of the downloaded file
sudo chmod a+x /usr/local/bin/youtube-dl








No comments:

Post a Comment