Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Thursday, May 4, 2017

Installer Viber sur Ubuntu et ses dérivés 64 bit seulement

Installer Viber sur Ubuntu et ses dérivés 64 bit seulement


Installer Viber sur Ubuntu et ses dérivés (64 bit seulement)

Viber est une application très à la mode ces dernières années, elle permet de téléphoner gratuitement à nimporte qui et nimporte où dans le monde en passant par internet.
Cette application était jusquà présent disponible uniquement pour Windows, Mac, iOS etAndroid. Mais cest du passé, car Viber est désormais disponible sur Ubuntu / Mint / Debian grâce à NoobsLab.



Je ne vais pas vous décrire son fonctionnement, je pense que vous le connaissez déjà !
 Le paquet est seulement disponible pour les 64 bit, donc si vous savez pas si
votre système est en 64 ou 32 bit, ouvrez un terminal et tapez:
getconf LONG_BIT
Si la commande affiche 64, cest bon, vous pouvez passer à linstallation, sinon vous ne pouvez pas, car le paquet nest pas compatible. Donc pour linstaller ouvrez un terminal
et tapez:
wget -O viber64-NoobsLab.com.deb http://goo.gl/wCKnDV
sudo dpkg -i viber64-NoobsLab.com.deb
rm viber64-NoobsLab.com.deb
Voilà, vous pouvez maintenant profiter de Viber !

source

Go to link Download

Read more »

Monday, April 10, 2017

How I installed Owncloud v6 0 3 on Ubuntu Server 14 04

How I installed Owncloud v6 0 3 on Ubuntu Server 14 04


Update; 1 Jul 14

Decided to try installing via the:

http://software.opensuse.org/download/package?project=isv:ownCloud:community&package=owncloud


The version installed was 6.0.4.1 at the time.


This gives the ability if there are updates that they will be installed automatically through apt-get updates and no more manual updates.

I crossed out the items that were not necessary with the update install version verses the manual install.

So...

1. Installed Ubuntu Server 14.04 on the computer. 
2. Installed with OpenSSH and LAMP.  Root should be the default admin account created for mysql.  Remember the password.
3. Performed updates:

sudo apt-get update

4. Performed upgrades:

sudo apt-get upgrade

5. Perform additional required installs (In Accordance With [IAW] Owncloud v6 Manual Installation):

sudo apt-get install php5-gd php5-json php5-mysql php5-curl php5-intl php5-mcrypt php5-imagick

6. Downloaded owncloud-6.0.3.tar.bz2:

sudo wget http://download.owncloud.org/community/owncloud-6.0.3.tar.bz2



sudo sh -c "echo deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_14.04/ / >> /etc/apt/sources.list.d/owncloud.list"

sudo apt-get update

wget http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/Release.key

sudo apt-key add - < Release.key

sudo apt-get install owncloud

7. Extracted the contents:

sudo tar xjf owncloud-6.0.3.tar.bz2

8. Moved the owncloud directory to the proper location /var/www/html/owncloud:

sudo mv owncloud /var/www/html/

9. Changed permission on the owncloud directory recursively:

sudo chown -R www-data:www-data /var/www/html/owncloud


10. Enabled ssl within Apache2"

sudo a2enmod ssl 
sudo a2ensite default-ssl 
sudo service apache2 restart
 
11. Modified the default-ssl file for Apache2:


sudo nano /etc/apache2/sites-available/default-ssl.conf

 

Add ServerName; 

 



 Add owncloud;



<Directory /var/www/html/owncloud>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>

 


12. Enable mod_rewrite

 

sudo a2enmod rewrite

sudo service apache2 restart 

13. Might get error "Could not reliably determine the servers fully qualified domain name"

Add FQDN to /etc/hosts

sudo nano /etc/hosts





sudo service apache2 restart

14. Log into your owncloud via http
-You will get a warning that your data directory is exposed.  Well change that later.
-Create an admin account name with password.
-Leave the data folder alone.
-Hopefully you remembered the mysql root password.
-Call you database "owncloud_db".
-The database will be located on the "localhost".





15. Close the client download window.
-Select admin (upper right corner) --> users

 


16. Create your first user.
-Provide that user with enough storage space.
-Select admin again and logout.




17. Lets fix the data folder.  You can ultimately determine were you want your data folder.  I choose the root.

sudo mv /var/www/html/owncloud/data /


18. Now we also have to tell owncloud where it went:


You will need to edit the config.php file and add the fqdn:

sudo nano /var/www/html/owncloud/config/config.php

Change; datadirectory => /data,
Add your FQDN; 1=> owncloud.no-ip.info


 


19. You should be able to access https now without complaint.  Running owncloud through http is not healthy.  It should be running under https.  If you check the ssl cert (view certificates) the default cert used should be from the ubuntu installation and have the computer name in the "issued to" "issued by".




20. OPTIONAL if you dont like the default sizes to upload make these changes:

sudo nano /etc/php5/apache2/php.ini

Change;
post_max_size = 4G
cgi.fix_pathinfo = 0
upload_max_filesize = 4G
date.timezone = "America/New_York"

21. You should be good to go.

UPDATE; 16 Jun 14



1. If you get the following error: isWebDAVWorking: NO - Reason: [CURL] Error while making request: SSL: certificate subject name XXXXX does not match target host name YYYYY

sudo nano /var/www/html/owncloud/3rdparty/Sabre/DAV/client.php

Find; <ctrl w>
curlsettings

Add below;

CURLOPT_SSL_VERIFYPEER => 0,
CURLOPT_SSL_VERIFYHOST => 0,


 

sudo service apache2 restart

2. I also added my own self created certs instead of using the default.


Now to get https ssl working with OwnCloud I created self-signed certs.  Remember the self signed password as it will ask you again.

sudo openssl genrsa -des3 -out /etc/ssl/server.key 4096

sudo openssl req -new -key /etc/ssl/server.key -out /etc/ssl/server.csr

sudo openssl x509 -req -days 3650 -in /etc/ssl/server.csr -signkey /etc/ssl/server.key -out /etc/ssl/server.crt

sudo openssl rsa -in /etc/ssl/server.key -out /etc/ssl/server.key.insecure

sudo mv /etc/ssl/server.key /etc/ssl/server.key.secure


Go to link Download

Read more »

Monday, January 2, 2017

Install Cheese pada Ubuntu dan Linux

Install Cheese pada Ubuntu dan Linux


Install Cheese pada Ubuntu dan Linux
selamat pagi,  kali ini kami akan sedikit berbagi ilmu tentang bagaimana menginstal cheese pada ubuntu dan linux. Cheese adalah aplikasi khusus yang digunakan untuk mengaktifkan fungsi webcam pada user yang menngunakan interface ubuntu dan linux opersuation system.

Cheese mempunyai peranan yang cukup penting di dalam fungsinya sebagai software tambahan dalam pengambilan foto maupun video. Baik buruknya kualitas cheese ditentukan oleh kualitas webcam/front cam bawaan maupun tambahan laptop. Semakin besar kualitas mega pixelnya. Gambar/ video yang diambil juga akan memiliki kualitas yang baik.

Berikut ini adalah langkah2 untuk menginstal cheese pada ubuntu dan linux.

1. Klik terminal/ tekan tombol ctrl+alt+t
2. Masuk sebagai root dengan perintah: sudo su
3. Masukkan pasword root
4. Setelah berhasil, masukkan perintah apt-get install cheese
5. Pastikan pc/komputer anda sudah terkoneksi dengan baik
6. Tunggu proses download cheese sampai selesai
7. Jika ada pilihan(y/n) dalam proses instalasi, tekan y
8. Selamat, sekarang kamera front/ webcam anda berfungsi dengan baik.


Cukup sekian semoga dapat bermanfaat. Jika ada kesulitan bisa lihat video tutorial.

Go to link Download

Read more »

Thursday, December 15, 2016

How to Reset Root Password in Ubuntu

How to Reset Root Password in Ubuntu


In this digital age, we have to deal with a lot of usernames and passwords. There are many a times we forget some of these passwords and have a hard time to recover/reset them. There can also be many other reasons to reset passwords . Some of such reasons are :-
  • You got physical access to a linux ubuntu machine and you don’t know the password of the account.
  • You have lot many passwords to remember and you forget the linux machine password.
Today we will tell you how to reset your Ubuntu machine password.
First of all boot you ubuntu machine.
Select the recovery mode. This mode will help us to reset the ubuntu user accounts password (even root password)
recovery mode option
Now wait for the linux kernel to load.
You will get now get a screen having various options.
Select root- drop to root shell prompt. And press OK.

recovery mode menu
As you know with root account priviledges you can do anything in the ubuntu machine (I mean anything). So please be careful in using these commands.
Use the command following command to know the username.
  • ls /home
This command will give a list of all users of the ubuntu machine. Linux is case sensitive so take care of this thing.
Use the following command to reset the password of the user Steve. You can also change the password ofroot using this method. just type root instead of Steve.
  • passwd Steve
You will then be prompted to enter new password.
You will be prompted to retype you password.

reset password
After doing this, type the following command to return.
  • exit

Go to link Download

Read more »

Tuesday, November 1, 2016

Install Ubuntu 9 04 to a Flash Drive using the CD

Install Ubuntu 9 04 to a Flash Drive using the CD


The following tutorial explains how to install Ubuntu 9.04 to a USB Flash Drive from a running Live CD. This installation proceedure is accomplished by using the built inUSB Creator(produced by the Ubuntu team) to create an Ubuntu USB Startup Disk. Installing via this method will enable the persistence feature (via a persistence loop file) to save and restore your changes on subsequent boots. Ubuntu is a Linux distribution created by Canonical Ltd.
Ubuntu 9.04 Desktop Screenshot
Ubuntu 9.04
Distribution Home Page: Ubuntu
Minimum Flash Drive Capacity: 1GB
Persistent Feature: Yes
Ubuntu 9.04 USB Flash Drive installation essentials
  • Working CD Drive and an Ubuntu 9.04 CD
  • 1GB or larger USB flash drive

Install Ubuntu to a Flash Drive via USB Creator:

  1. Download the Ubuntu 9.04 torrent, then proceed to download the ISO using your favorite torrent client and finally, burn the ISO to a CD
  2. Restart your computer, booting from the Live CD
  3. Insert a 1GB or larger USB flash drive
  4. Navigate to System > Administration > Make Startup Disk Creator: Launch USB Startup Disk Creator
  5. Next, (1) Select the USB disk to use, (2) Select the option Stored in reserved extra space and adjust the slider to set capacity to use, (3) Click the Make Startup Disk button: Proceed to make a Ubuntu USB Startup Disk
  6. A progress bar will indicate the progress of your USB Ubuntu installation:
    USB Ubuntu Installation progressScreenshot Installation Complete
  7. Once the installation is complete, simply remove the CD, restart your computer and set your boot menu or BIOS to boot from the USB device
If all goes well, you should now be booting from Ubuntu 9.04 on your USB flash drive, automatically saving changes you make to the casper-rw loop file as you go.
Notes: If your BIOS does not support booting from USB, you can make aUSB Boot CD for Ubuntu 9.04 to launch your USB Ubuntu 9.04

Go to link Download

Read more »