$ sudo apt-get install dumpet xorriso squashfs-tools gddrescue
custom-ubuntuto hold all files required by this project. EFI and its SecureBoot feature is not supported on i386 architecture so download any amd64 version of the Ubuntu ISO image and store it within
$ mkdir custom-ubuntu $ cd custom-ubuntu/ $ wget http://url/to/ubuntu/image.isoRead more ...
Resizing any live partition without unmout comes with a tremendous risk of loosing data thus it is not recommended. If you a have a sensitive data stored on your system, it is always recommended to take the system down make a backup and resize the partition while it is not mounted.In the following example we are going to resize a partition of a fresh single partition AWS Linux instance. The current partition size is 7.8GB:
# df -h . Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.8G 642M 6.8G 9% /Read more ...
ddcommand. Here is the example scenario. You have made four partitions with a total disk space of 3GB:
# sfdisk -l -uM ubuntu_USB.img sfdisk: Disk ubuntu_USB.img: cannot get geometry Disk ubuntu_USB.img: 950 cylinders, 255 heads, 63 sectors/track Units: 1MiB = 1024*1024 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End MiB #blocks Id System ubuntu_USB.img1 1 50 50 51200 b W95 FAT32 ubuntu_USB.img2 51 150 100 102400 b W95 FAT32 ubuntu_USB.img3 * 151 2650 2500 2560000 b W95 FAT32 ubuntu_USB.img4 2651 3000 350 358400 b W95 FAT32Read more ...
mysqlclient. Depending on your environment you can run something like:
$ mysql -u USER -p PASSWORDOnce you get to the MySQL command prompt select appropriate Mediawiki database. In the example below the database name is
mysql> use wiki Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changedRead more ...
kimaiand link your docker host system's port 80 with container's exposed port 80.
# docker run -d --name=kimai -p 80:80 linuxconfig/kimaiRead more ...
# ls /etc/pki/rpm-gpg/ RPM-GPG-KEY-CentOS-7 RPM-GPG-KEY-CentOS-Debug-7 RPM-GPG-KEY-CentOS-Testing-7Read more ...
s3cmdcommand we are going to cover will list all available data ( objects ) under our AWS s3 account. This will list all, buckets, directories and files:
$ s3cmd la
ERROR: S3 error: 409 (BucketAlreadyExists). The first bucket we are going to create will be called
$ s3cmd mb s3://linuxconfigorg Bucket 's3://linuxconfigorg/' createdRead more ...
Movie Player requires additional plugins to decode this file. The following plugins are required : MPEG-4-AAC decoder and H.264 decoder
# apt-get install sudoOnce sudo is installed run:
# visudowhich allows you to edit the content of
/etc/sudoersfile. Change the content of this file as show below:
Defaults env_reset Defaults mail_badpass Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" root ALL=(ALL:ALL) ALL %admin ALL=(ALL) ALL %sudo ALL=(ALL:ALL) ALLRead more ...
tune2fsfilesystem managing utility. Using
tune2fswe can export some important information related to filesystem health check. The following command will tell as when was the last time the filesystem
# tune2fs -l /dev/sdbX | grep Last\ c Last checked: Sun Dec 13 09:14:22 2015Anther useful information which can be retrieved by
tune2fscommand relates to how many times our
/dev/sdXfilesystem was mounted:
# tune2fs -l /dev/sdbX | grep Mount Mount count: 157Read more ...