Table des matières
Qu'est ce que VNC
Installation de tigervnc
Activation des services
Qu'est ce que VNC
Pour toutes les informations sur le protocole VNC se référer à l'article Le service VNC
Il faut bien entendu avoir une interface graphique opérationnelle (Ici GNOME)
On met le système à jour :
Code BASH :
Installation de tigervnc
On installe les paquets … Read More →
By default the port 80 for http connection is filtered on Redhat 7 as you can only access this port from the actual localhost and not from any other public host. To open a port 80 on RHEL 7 Linux we need to add an iptables rule. For this RHEL7 uses firewall-cmd. First add your … Read More →
Install Parallel SSH to connect to multiple hosts.
By the way, PSSH package includes pscp.pssh, prsync, pslurp, pnuke commands and you can use them with the same usage of pssh.
All files accessible in a Linux system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over several devices and they can be remote or local file system. Linux supports numerous file system types. For example it supports Ext2,. Ext3, NFS, FA16, FAT32, NTFS,Sysfs, Procfs etc. … Read More →
Distributed file systems make files on one computer accessible over the network to other computers
- An example: Sun's NFS network file system
- Provide, if possible, the same semantics as a local file system.
As we can see from the above diagram:
- NFS (network file system) converts user-level command to RPC
- NFS server reverses the process, converts … Read More →
Q: How do you increase a KVM guest's disk space in CentOs ?
1. stop the Virtual Machine.
2. run qemu-img resize vmdisk.img +50G to increase image size by 50Gb
3. start the VM, resize the partitions and LVM structure within it normally
Whenever you need to use scp to copy files, it asks for passwords. Same with rsync as it (by default) uses ssh as well. Usually scp and rsync commands are used to transfer or backup files between known hosts or by the same user on both the hosts. It can get really annoying the password … Read More →
Out of the box, enterprise Linux distributions such as CentOS or RHEL come with a powerful firewall built-in, and their default firewall rules are pretty restrictive. Thus if you install any custom services (e.g., web server, NFS, Samba), chances are their traffic will be blocked by the firewall rules. You need to open up necessary … Read More →
search [-f | -l | -s] NAME
- Search devices
-f by filename
-l by filesystem label
search -l INTREPID
search -f /boot/grub/menu.lst
hd0,2 hd0,3 hd0,5
search -f /boot/grub/grub.conf
configfile FILE ......
- load a grub.cfg file - make convenient use of the commands and information already typed into the file
- You would … Read More →
GRUB's Command Line Interface (CLI) is one of GRUB's most useful and powerful features. GRUB is actually a miniature operating system in its own right and it can take a rich variety of commands and provide useful feedback to the user. GRUB's CLI Mode is one thing that sets GRUB head and shoulders above all … Read More →
CentOs install - Unable to read package metadata. This may be due to missing repodata directory. Please ensure that your install tree has been correctly generated
I am new for centos installation. I downloaded a minimul version of centos 6.5, around 339.7mb of size. I am trying to install this with GUI interface but I got … Read More →
LVM (Logical Volume Manager) permet de gérer des partitions logiques, et non pas physiques, ce qui a notamment comme avantage de pouvoir plus facilement modifier leur taille.
Partition non formatée
Il faut disposer d'une partition non formatée. Dans notre cas, il s'agit de /dev/sda9, qui dispose d'un peu plus de 300 Go de libres. Cette partition sera … Read More →
Re-install bootstrap code (GRUB)
Please perform the following steps:
Boot from CentOS installation disc (for example, CD #1 or DVD).
For CentOS-4 or CentOS-5 type "linux rescue" at the "boot:" prompt. For CentOS-6 pick "Rescue installed system" from the boot menu.
Mount all filesystems in read-write mode.
Change root to real root ('/') on your hard … Read More →
11. Real Life Examples
UNIX' core idea is that there are many simple commands that can linked together via piping and redirection to accomplish even really complex tasks. Have a look at the following examples. I'll only explain the most complex ones; for the others, please study the above sections and the man pages.
Problem: ls is … Read More →
Broadcom Corporation BCM4311, BCM4312, BCM4313, BCM4321, BCM4322, BCM43224, BCM43225, BCM43227 and BCM43228 Based Wireless NICs
Step 1: Determining WLAN chip and installing dependencies
Step 2: Downloading and extracting Broadcom driver archive
Step 3: Compiling the Broadcom driver module
Step 4a: Loading the driver module into kernel
Step 4b: Loading the driver module into kernel on boot time
In order to install … Read More →
Windows drivers necessary for Netgear WNA3100
1. Connect the WNA3100 and:
It should list:
Bus 001 Device 003: ID 0846:9020 NetGear, Inc. WNA3100(v1) Wireless-N 300 [Broadcom BCM43231]
2. Get the latest ndiswrapper source:
At moment of writing: v1.58
3. Unpack in /usr/src or any other directory
4. Make sure to uninstall everyting you have on ndiswrapper:
apt-get purge ndiswrapper-source ndiswrapper-dkms … Read More →
2 Wireless Linux Compatible NICs
3 Common Wireless Networking Terms
3.1 Wireless Access Points
3.2 Service Set ID
3.3.1 Wired Equivalent Privacy
3.3.2 Wi-Fi Protected Access
4 Networking With Linux Wireless-Tools
4.1 Using iwconfig For wireless-tools Configuration
4.2 Permanent wireless-tools Configuration
4.2.1 Fedora / RedHat
4.2.2 Debian / Ubuntu
4.3 WEP Encryption Configuration
4.3.1 WEP Encryption Configuration
18.104.22.168 WEP Key Generation
22.214.171.124.1 Table 13-1 Byte Count to … Read More →
SOCKS is built in to OpenSSH, so it's a trivial matter to set up a local SOCKS proxy with the -D flag. For example:
$ ssh -D 12345 myuser@remote_ssh_server
will open up the port 12345 on your local machine as a SOCKS proxy so all your HTTP traffic can be specified to go through the SSH tunnel … Read More →
CentOS 6.2 + GNU gdb (GDB) Red Hat Enterprise Linux (7.2-50.el6)
When I debug a simple c++ code with GDB, I saw the following warning:
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.47.el6_2.9.i686 libgcc-4.4.6-3.el6.i686 libstdc++-4.4.6-3.el6.i686
debuginfo-install is a command of yum-utils, so
yum install yum-utils
if the warning's still … Read More →
After upgrading Centos to 6.6, you may find that your eclipse crashes on opening any file.
Try opening eclipse using command line (console), and when it crashes, you may see an error similar to this:-
eclipse: cairo-misc.c:380: _cairo_operator_bounded_by_source: Assertion `NOT_REACHED’ failed.
I was using Eclipse Luna, and this issue could happen with prior versions too. So, edit eclipse.ini … Read More →