step 1
umount /dev/sdb1
step 2
dd if=/root/desktop/ubuntu-12.04.5-dvd-i386.iso of=/dev/sdb bs=1M
http://bemonolit.blogspot.com.es/2014/10/how-to-format-usb-drive-to-fat32-from.html
Saturday, December 6, 2014
Friday, December 5, 2014
Monday, November 24, 2014
How to reduce RAM cache usage
step 1
step 2
crontab -e
step 3
now you need to add command to crontab
every 5 min clean ram cache
*/5 * * * * echo 3 > /proc/sys/vm/drop_caches
type i to enter text
type Esc to exit
type :wq to save and exit
step 4
step 5
step 2
crontab -e
step 3
now you need to add command to crontab
every 5 min clean ram cache
*/5 * * * * echo 3 > /proc/sys/vm/drop_caches
type i to enter text
type Esc to exit
type :wq to save and exit
step 4
step 5
Monday, November 17, 2014
Tuesday, October 28, 2014
How to format usb drive to fat32 from terminal to make it bootable
step 1
sudo fdisk -l
step 2
sudo fdisk -l
step3
sudo umount /dev/sdb1
step 4
sudo mkfs.vfat -n 'nameyouwant' -I /dev/sdb1
step 5
results >>> with warning
step 6
sudo mkfs.vfat -n 'NameYouwant' -I /dev/sdb1
step 7
Verification
Thank you.
sudo fdisk -l
step 2
sudo fdisk -l
step3
sudo umount /dev/sdb1
step 4
sudo mkfs.vfat -n 'nameyouwant' -I /dev/sdb1
step 5
results >>> with warning
step 6
sudo mkfs.vfat -n 'NameYouwant' -I /dev/sdb1
step 7
Verification
Thank you.
Tuesday, August 5, 2014
How to record terminal [ using ttyrec ]
command : sudo apt-get install ttyrec
command : ttyrec
command : exit
command : ls
and finally command : ttyplay ttyrec
command : ttyrec
command : exit
command : ls
and finally command : ttyplay ttyrec
Thursday, July 31, 2014
Tuesday, July 29, 2014
How to change colors user and host in terminal ubuntu 14.04
sudo nano ~/.bashrc
and uncomment
#force_color_prompt=yes
force_color_prompt=yes
go to line number 47 and change numbers inside of brackets
Black 0;30 Dark Gray 1;30
Blue 0;34 Light Blue 1;34
Green 0;32 Light Green 1;32
Cyan 0;36 Light Cyan 1;36
Red 0;31 Light Red 1;31
Purple 0;35 Light Purple 1;35
Brown 0;33 Yellow 1;33
Light Gray 0;37 White 1;37
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u\[\033[01;32m\]@\[\033[01;33m\]\h\[\033[01;37m\]:\[\033[01;33m\]\w\[\033[01;37m\]\$ '
sudo /etc/init.d/network-manager stop not working in ubuntu 14.04 how to fix
sudo /etc/init.d/network-manager stop
sudo service network-manager stop
sudo service network-manager start
Friday, July 18, 2014
How to use LVM - Expand, Reduce, and Snapshot [ debian , ubuntu ] I tried it on ubuntu server 12.04
This video is not mine but very professional and profound step by step .Please don't forget use
NANO /ETC/FSTAB but to auto mount local volume on start you have to use MAPPER but not UUID
or you will have problem on boot.Copy of my 12.04 ubuntu server FSTAB is below the video
pvcreate /dev/sdb1
pvdisplay
pvscan
vgcreate 4tb /dev/sdb1 [ I use only one 4tb hard drive ]
vgdisplay
vgscan
lvcreate -L 1000G 4tb -n VIPI
lvcreate -L 1000G 4tb -n TEMU
lvdisplay
lvdisplay
lvscan
1 BONUS sudo vgchange -ay
2 BONUS sudo update-initramfs -u
3 BONUS sudo lsblk
my 2 mount points is /arj4tb/VIPI and /arj2/TEMU
sudo nano /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/mapper/molot-root / ext4 errors=remount-ro 0 1
/dev/mapper/4tb-VIPI /arj4tb/VIPI ext4 errors=remount-ro 0 1
/dev/mapper/4tb-TXMU /arj24tb/TEMU ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=9bd8f2d3-f260-41fe-b7a4-d71818a4d82f /boot ext2 defaults 0 2
/dev/mapper/molot-swap_1 none swap sw 0 0
NANO /ETC/FSTAB but to auto mount local volume on start you have to use MAPPER but not UUID
or you will have problem on boot.Copy of my 12.04 ubuntu server FSTAB is below the video
pvcreate /dev/sdb1
pvdisplay
pvscan
vgcreate 4tb /dev/sdb1 [ I use only one 4tb hard drive ]
vgdisplay
vgscan
lvcreate -L 1000G 4tb -n VIPI
lvcreate -L 1000G 4tb -n TEMU
lvdisplay
lvdisplay
lvscan
1 BONUS sudo vgchange -ay
2 BONUS sudo update-initramfs -u
3 BONUS sudo lsblk
my 2 mount points is /arj4tb/VIPI and /arj2/TEMU
sudo nano /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/mapper/molot-root / ext4 errors=remount-ro 0 1
/dev/mapper/4tb-VIPI /arj4tb/VIPI ext4 errors=remount-ro 0 1
/dev/mapper/4tb-TXMU /arj24tb/TEMU ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=9bd8f2d3-f260-41fe-b7a4-d71818a4d82f /boot ext2 defaults 0 2
/dev/mapper/molot-swap_1 none swap sw 0 0
Wednesday, June 11, 2014
Subscribe to:
Comments (Atom)
-
Remember that Microsoft reserved the 20% of the bandwidth of your connection to the router and the Internet. So I suggest to regain bandwi...





































