Switch# conf t
Switch(conf)#mac address-table static 3408.0499.981c vlan X drop
Switch# conf t
Switch(conf)#mac address-table static 3408.0499.981c vlan X drop
Windows has two command line utilities to copy files/directories from command line. Copy command can be used to copy files from one folder to another folder. It can’t be used to copy a complete folder to another location on the disk. Xcopy allows us to do this. Let’s see how we can copy a directory along with all the files and sub directories to another location.
Xcopy /E /I SourceFolder DestinationFolder
เปิด Microsoft Word ขี้นมา แลัวเลือกที่ มุมมอง–>แมโคร ตามภาพเลย
sudo nano /etc/apache2/conf-enabled/security.conf
ServerTokens OS
to ServerTokens Prod
ServerSignature On
to ServerSignature Off
Restart Apache :
sudo service apache2 restart or sudo /etc/init.d/apache2 restart
This tutorial explains how to allow remote connections to the MySQL/MariaDB server on Ubuntu 18.04. The default behavior of the Ubuntu MySQL Server blocks all remote connections. Which prevent us from accessing the database server from the outside.
Note that to allow mysql remote connections we need to edit the MySQL main configuration file. If you are using MariaDB Database server, configuration file going to be “nano /etc/mysql/mysql.conf.d/mysqld.cnf”, If you have installed MySQL Database server configuration file is: “nano /etc/mysql/mysql.conf.d/mysqld.cnf”.
Open the nano /etc/mysql/mysql.conf.d/mysqld.cnf file (or /etc/mysql/mysql.conf.d/mysqld.cnf). Continue reading
Prerequisite: Verify if zip is installed
sudo apt install zip unzip
Now that you know your system has zip support, you can read on to learn how to zip a directory in Linux.
The syntax for using the zip command is pretty straight forward.
zip [option] output_file_name input1 input2
1. Back up the database using the following command:
mysqldump -u [username] –p[password] [database_name] > [dump_file.sql]
The parameters of the said command as follows:
[username] – A valid MySQL username.
[password] – A valid MySQL password for the user.
[database_name] – A valid Database name you want to take backup.
[dump_file.sql] – The name of backup dump file you want to generate.