The network manager widget package is plasma-nm. Can install it by running the following command from a terminal.
sudo apt install plasma-nm
You should be able to add the Network Manager widget onto the default panel.
The network manager widget package is plasma-nm. Can install it by running the following command from a terminal.
sudo apt install plasma-nm
You should be able to add the Network Manager widget onto the default panel.
First you can search for “About System” in the KDE or Gnome search boxes to find the information.
From a terminal you can use the following command
uname -r
Example output
4.15.0-65-generic
There are multiple way to remove spaces,
# Variable a contains the following
a="Hello World !"
echo
echo ${a// /}
Sed
echo $a | sed "s/\ //g"
tr
tr -d ' ' <<<"$a"
or
echo $a | tr -d ' '
Returned output
HelloWorld!
Typically on a cPanel host your access logs are kept in
/usr/local/apache/domlogs/username/incredigeek.com
Where username is your cPanel username and incredigeek.com is your website.
To view the logs you can use tail -f to follow the log.
tail -f /usr/local/apache/domlogs/username/incredigeek.com
You can also use grep to search the logs.
grep "text to search" /usr/local/apache/domlogs/username/incredigeek.com
The -h option allows you to connect to a remote host.
-h, –host=name Connect to host.
mysql -u root -p -h hostname
Try doing a manual update
https://docs.librenms.org/General/Updating/
cd /opt/librenms
git pull
composer install --no-dev
./build-base.php
./validate.php
Error on composer install
Try changing php versions by removing old version of php and install composer
yum remove php71* yum install php composer
Initial setup from command line
initial-setup
show interfaces
ubnt@ubnt:~$ show interfaces Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- br0 10.2.2.1/24 u/u Local Bridge br0.73 - u/u br0.75 - u/u eth0 192.168.99.1/24 u/u Internet eth1 - u/u Local Bridge eth2 - u/D Local Bridge eth3 - u/u eth3-pc1 eth4 - u/u eth4-printer eth5 - u/u eth5-pc3 eth6 - u/u eth6-rotuer eth7 - u/u eth7-extra lo 127.0.0.1/8 u/u ::1/128 ubnt@ubnt:~$
Double tab in session to show more commands
wsubnt@ubnt:~$ Possible completions: add Add an object to a service clear Clear system information configure Enter configure mode connect Establish a connection copy Copy data debug Enable debugging of specified routing protocol delete Delete a file disconnect Take down a connection generate Generate an object initial-setup Enter initial configuration dialog no Disable or reset operational variable ping Send Internet Control Message Protocol (ICMP) echo request ping6 Send IPv6 Internet Control Message Protocol (ICMP) echo request reboot Reboot the system release Release specified variable rename Re-name something. renew Renew specified variable reset Reset a service restart Restart a service set Set system or shell options show Show system information ubnt@ubnt:~$ ws
Change eth0 to the interface you would like to change.
SSH into EdgePoint and type in configure to get into a configuration prompt
configure
Now set interface eth0 to dhcp
set interfaces ethernet eth0 address dhcp
Delete the static IP address on eth0 if needed
delete interfaces ethernet eth0 address 192.168.1.1/24
Save changes
commit
Create a file “list.txt” that contains all the URLs you want to download and launch the following command
for i in cat list.txt
; do wget ${i} && sleep $(( ( RANDOM % 120 ) +1 )) ; done
It’ll now run and after each link will wait a random amount of time up to 120 seconds before downloading the next link. Change the number as needed.
Change the 10 to however many seconds you need or want.
echo $(( ( RANDOM % 10 ) +1 ))
Example output
bob@localhost:~$ echo $(( ( RANDOM % 10 ) +1 )) 10 bob@localhost:~$ echo $(( ( RANDOM % 10 ) +1 )) 2 bob@localhost:~$ echo $(( ( RANDOM % 10 ) +1 )) 9 bob@localhost:~$
Sleep timer
sleep $(( ( RANDOM % 10 ) +1 ))