Finally the help of IT is here

Blog of computer solutions.

Archive for the 'Linux - Ubuntu' Category

dear operating system by some, hated by others

How to detect slots used or free on ESX memory.

Posted by Xaus Xavier Nadal on August 22nd 2012

Good Morning.

Today has been a need to know the free slots of a physical server under ESX and of course I did not want putting on third party tools to perform this search.

From what I've been looking for ways to detect the hardware directly with Linux commands and found the command dmidecode gives us a result on the system hardware.

Detect modules available RAM, CPU, USB, PCI Express, ...

You must log in as root and using a putty SSH connection and run the following command

smbiosDump | grep Size:

We may also use:

dmidecode | less

We show the results of the hardware and the Page Down key or the cursor down until you can go read Memory Device for example where we can see if they are busy memory modules:

Megacrack read »

tags: , , , , , , , ,
Posted by Linux - Ubuntu, VMware | No Comments »

How to repair linux filesystem.

Posted by Xaus Xavier Nadal on January 3rd 2012

Good,

I put the steps I followed to repair a Linux file system.

The first thing to do is remove the corrupt partition.

umount / dev /sda5

 

Where sda5 is the partition defective or corrupt.

The second step is to use what we call chkdsk in windows for linux.

fsck -T ext3 / Dev /sda5, You can also use fsck.ext3 / dev / sda5

 

The parameter -T ext3 it must define if the partition is in ext3 since by default the fsck assumes that type of partitioning is ext2.

If you are not sure which type of partitioning you have with the mount command could be tested.

I hope I was helpful.

Until next time.

tags: , , , , , , , , ,
Posted by Linux, Linux - Ubuntu | No Comments »

Accessing a shared folder from the command line in Linux

Posted by jl on October 6 2011th

Hello everyone

There are times that are in the command line of a Linux computer and the power may be of interest to access a shared folder. The environment in which we find is windows server that has a shared folder and ncuentran teams within a domain.

To do what we have to do is mount the shared folder on the Windows server on the Linux machine. The steps to do this are:

1.- Install the smbfs package that will allow us to use the cifs and smb protocols to connect to Windows servers.

# aptitude install smbfs

2.- create the directory on the Linux machine where we want to mount the shared folder

#mkdir / tmp / carperta_de_montaje

Run the following command 3.-

#mount -t smbfs {|} // server cifs / shared_folder / tmp / carperta_montaje -o user = "domain \ user"

Where we indicated that the network protocol used to connect,smbfs o cifs (Cifs is an evolution of smb), the path where the shared folder, the directory where we will mount the folder and the domain user with permissions to access.

Once launched it will ask the user's domain password with which we connect and already we can go to the mount point, # cd / tmp / carpeta_montajeand see the contents of the shared directory

4.- when we're done using it can remove the mount point with the command

#umount / tmp / carperta_montaje

 

Until next time

a greeting

tags: , , ,
Posted by Linux, Linux - Ubuntu | No Comments »

Useful Commands in Ubuntu

Posted by Xaus Xavier Nadal 1st on October 2011

Good,

some days I'm fighting to put the blog on my own server to stop paying the cost of hosting and get lower value ms ago Time to First Byte which brings me head and limiting local cache files between the webs we translated for about 100.000 files on the blog. (I still have a lot of work), but for now I'm riding on Ubuntu 11.04 with xampp 1.7.7

You know I'm a great lover of Windows, but ahead of all I am a lover of computer so I should have perhaps just mere knowledge on any platform and one of them is the linux environment every time I know more things but it is my great unknown.

I have encountered several difficulties and here I pass some commands that I have been helpful to have more permits and to move files and folders at will, edit files in write mode, etc ..

There are folders such as / opt / where you need to be in root mode to edit files, move files, etc. .. and so the following commands:

A simile Home run in ubuntu is press the keys ALT + F2.

To open the file browser in root mode in ubuntu

gksudo nautilus (Open file browser in root mode)

For those who do not know the command to elevate privileges to root

sudo su (Write the administrator password)

To edit a file in root mode

Run gedit <filename> from a terminal in root mode.

To set the root user password and power LOGARTE as root (This is to log in as root)

sudo passwd root

At the moment this is all, if I have more little things that seem interesting to me and I will put you ...

tags: , , , , , , , , , , ,
Posted by Linux, Linux - Ubuntu, Ubuntu | No Comments »

Ajenti Installing Ubuntu Server LTS 10.04

Posted by drakkonian on September 19th 2011

I made an installation of the application Linux server management Ajenti in a Ubuntu LTS Server 10.04 and we summarize here the steps followed:

  • File Backup / Etc / apt / sources.list with the command: sudo cp / etc / apt / sources.list / etc / apt / sources.list.bak

Ajanti_1

  • We check for file existence / Etc / apt / sources.list.bak as a mere formality with the command: l / etc / apt , We know that Linux does not fail XD

Ajanti_2

  • Modify the file sources.list adding the entry deb http://repo.ajenti.org/debian main mainIn my case I used nano to make the change:

Ajanti_3

Megacrack read »

tags: , , , , , , , , , , ,
Posted by Applications, Linux, Linux - Ubuntu | No Comments »

GTranslate Your license is inactive or expired, please subscribe again!