background preloader

Linux

Facebook Twitter

Raspberrypi system

How to install Sublime Text 2 on Ubuntu 12.04 (Unity) Sublime Text is an awesome text editor.

How to install Sublime Text 2 on Ubuntu 12.04 (Unity)

If you’ve never heard of it, you should check it out right now. I’ve made this tutorial because there’s no installer for the Linux versions of Sublime Text. While that’s not a real problem, I feel there is a cleaner way to go around this. Also, this post will show you how to integrate Sublime Text to Unity (which, I’m glad to report, has now matured into a fully functional user interface). So let’s get on with this. [This tutorial has been updated following feedback from AskUbuntu. Step 1 Download the tarfile that suits you best and extract it. Tar xf Sublime\ Text\ 2.0.1\ x64.tar.bz2 You’ll notice that I got the 64-bit version. Step 2 You’ll get a “Sublime Text 2” folder after extraction. Sudo mv Sublime\ Text\ 2 /opt/ Step 3 At some point you’d want to be able to call Sublime Text from the Terminal by just typing “sublime”.

Ubuntu Color Terminal. Enabling APC for PHP - General Guides - Joyent Documentation. Terminal Colors. Global color settings are in /etc/DIR_COLORS.

Terminal Colors

You can copy that file in your home directory as .dir_colors to define your own color settings, which will override the global settings in /etc/DIR_COLORS. You can define categories of files and the colors to display. Example: NORMAL 00 # global default, although everything should be something. FILE 00 # normal file DIR 01;34 # directory LINK 00;36 # symbolic link FIFO 40;33 # pipe SOCK 01;35 # socket DOOR 01;35 # door BLK 40;33;01 # block device driver CHR 40;33;01 # character device driver ORPHAN 01;47;31;07 # symlink to nonexistent file. x11vnc. Ce logiciel permet à un utilisateur de se connecter sur sa machine à distance à la manière de RDP sur Windows (Connexion Bureau à distance).

x11vnc

Vous prenez le contrôle physique de l'ordinateur, c'est-à-dire l'écran (:0) du serveur X, le clavier et la souris. Si une personne se trouve devant l'écran, elle voit alors ce que vous faites. De plus, le serveur VNC est persistant, vous pouvez déconnecter votre client vnc sans que cela ne ferme la session locale. Pratique pour donner un coup de main à quelqu'un en difficulté sur ubuntu. Peut aussi être utile pour contrôler un PC sans écran (Serveur NFS, d'impression ou autres) Installation Utilisation Vous pouvez utiliser l'interface graphique de x11vnc disponible maintenant dans votre menu applications. En ligne de commande Commencez par ouvrir un Terminal Générez un fichier password : x11vnc -storepasswd "password" ~/.vnc_passwd Remplacez bien évidemment "password" par le mot de passe de votre choix.

x11vnc est un logiciel qui permet le partage. Installing Apache2 With PHP5 And MySQL Support On Ubuntu 12.04 LTS (LAMP. Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Follow me on Twitter Last edited 05/02/2012 LAMP is short for Linux, Apache, MySQL, PHP.

Installing Apache2 With PHP5 And MySQL Support On Ubuntu 12.04 LTS (LAMP

This tutorial shows how you can install an Apache2 webserver on an Ubuntu 12.04 LTS server with PHP5 support (mod_php) and MySQL support. I do not issue any guarantee that this will work for you! 1 Preliminary Note In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. I'm running all the steps in this tutorial with root privileges, so make sure you're logged in as root: sudo su 2 Installing MySQL 5 First we install MySQL 5 like this: apt-get install mysql-server mysql-client You will be asked to provide a password for the MySQL root user - this password is valid for the user root@localhost as well as root@server1.example.com, so we don't have to specify a MySQL root password manually later on: 3 Installing Apache2 Apache2 is available as an Ubuntu package, therefore we can install it like this: 4 Installing PHP5.