Posts

Showing posts from September, 2023

How to Turn on Wifi Hotspot Centos 8

 To turn on a hotspot in CentOS, you can use the `nmcli` command-line tool, which is a part of NetworkManager. Here are the steps to create a hotspot: 1. Open a terminal window. 2. Check if NetworkManager is running by running the following command:        ```    sudo systemctl status NetworkManager    ```    If it's not running, you can start it with:    ```    sudo systemctl start NetworkManager    ``` 3. Create a new hotspot configuration using `nmcli`. Replace "HotspotSSID" with your desired hotspot name and "HotspotPassword" with your preferred password. You can adjust these values to your liking.    ```    sudo nmcli connection add type wifi ifname '*' con-name Hotspot autoconnect yes ssid HotspotSSID    ```    ```    sudo nmcli connection modify Hotspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared    ```   ...

How to Drop a Pluggable Oracle Database in Vagrant Centos 8

 To drop a Pluggable Database (PDB) in an Oracle database running on a CentOS virtual machine managed by Vagrant, you can use SQL*Plus or SQL Developer, which are common tools for managing Oracle databases. Here's a general outline of the steps to drop a PDB: 1. Connect to the Oracle Database:    - Open a terminal in your CentOS VM.    - Launch SQL*Plus by running the following command and providing the necessary login information when prompted:      ```bash      sqlplus / as sysdba      ```    - This command connects you to the Oracle Database as a superuser (SYSDBA). 2. Switch to the Container Database (CDB) Context:    - Before you can drop a PDB, you need to switch to the CDB context. Use the following SQL*Plus command:      ```sql      ALTER SESSION SET CONTAINER = CDB_NAME;      ```    - Replace `CDB_NAME` with the actual name of your CDB...