Recently Updated Pages

Users and groups

Adding an existing user to an existing group usermod -a -G theExampleGroup theExampleUser Chang...

Revision #5
Created 7 years ago by Admin
Updated 7 years ago by Admin


Basic authentication

To protect some directory with basic authentication we have to edit the virtual host file and add...

Revision #4
Created 7 years ago by Admin
Updated 7 years ago by Admin


Encoding and collation

Changing database encoding and collation ALTER DATABASE `sua_base` CHARSET = Latin1 COLLATE = la...

Revision #1
Created 7 years ago by Admin
Updated 7 years ago by Admin


SSH / SCP without known_hosts check

When we want to connect to a remote host using different credentials and we have automatic login ...

Revision #1
Created 7 years ago by Admin
Updated 7 years ago by Admin


Grub

Setting the default runlevel in Ubuntu 16.04   Mapping between runlevels and systemd targetsRu...

Revision #2
Created 7 years ago by Admin
Updated 7 years ago by Admin


Cloning existing machine on Vmware ESXI

http://www.mustbegeek.com/create-copy-of-existing-virtual-machine-in-esxi-server/

Revision #1
Created 7 years ago by Admin
Updated 7 years ago by Admin


Passwords

Use pwgen to generate ramdom passwords pwgen will generate easy to remember passwords # pwgen ...

Revision #1
Created 7 years ago by Admin
Updated 7 years ago by Admin


Linux auto-login on MySQL

Create file ~/.my.cnf and add the following lines, replace mysqluser and mysqlpass values with ...

Revision #1
Created 7 years ago by Admin
Updated 7 years ago by Admin


Reverse proxy

Some apache modules have to be enabled: sudo a2enmod ssl sudo a2enmod proxy sudo a2enmod proxy...

Revision #2
Created 7 years ago by Admin
Updated 7 years ago by Admin


Colours on terminal

<?php /* Black 0;30 Blue 0;34 Green 0;32 Cyan 0;36 Red 0;31 Purple 0;35 Brown 0;33 Li...

Revision #2
Created 7 years ago by Admin
Updated 7 years ago by Admin


Services

Enabling ssh on Ubuntu   sudo apt-get install openssh-server sudo service ssh status   Rem...

Revision #3
Created 7 years ago by Admin
Updated 7 years ago by Admin

Linux Administration
Page is not in a chapter

Reset root password

sudo /etc/init.d/mysqld stopsudo /etc/init.d/mysqld statussudo mysqld_safe --skip-grant-tables &a...

Revision #1
Created 7 years ago by Admin
Updated 7 years ago by Admin


Settings

Store passwords Edit the file ~/.my.cnf and adapt the following code: [client]user=rootpasswor...

Revision #1
Created 7 years ago by Admin
Updated 7 years ago by Admin

mySql
Page is not in a chapter

Bibliography

https://askubuntu.com/questions/788323/change-runlevel-on-16-04http://www.hypexr.org/linux_scp_he...

Revision #3
Created 7 years ago by Admin
Updated 7 years ago by Admin

Linux Administration
Page is not in a chapter

File management

Scp file copy examples Copy the file "foobar.txt" from a remote host to the local host$ scp your...

Revision #1
Created 7 years ago by Admin
Updated 7 years ago by Admin

Linux Administration
Page is not in a chapter

Dumping data

One Insert statement for each data row   mysqldump --extended-insert=FALSE

Revision #3
Created 7 years ago by Admin
Updated 7 years ago by Admin


Links

http://dstarportugal.com/novo/index.php  

Revision #3
Created 7 years ago by Admin
Updated 7 years ago by Admin

Back to top