Update .bash_history, .bash_logout, and 3 more files...
This commit is contained in:
parent
73d36d5b39
commit
2eb219210b
|
@ -0,0 +1,165 @@
|
|||
sudo passwd root
|
||||
passwd
|
||||
raspi-config
|
||||
sudo raspi-config
|
||||
shutdown now
|
||||
su
|
||||
nano .profile
|
||||
logout
|
||||
su
|
||||
rmux a
|
||||
tmux a
|
||||
sudo tmyz a
|
||||
sudo tmux a
|
||||
tmux
|
||||
su
|
||||
ls
|
||||
cd .ssh/
|
||||
ls
|
||||
cat 'Raspberry -Pi.pub' >> authorized_keys
|
||||
cat raspi.pub >> authorized_keys ; cat ssh2-Root.pub >> authorized_keys
|
||||
ls
|
||||
cat authorized_keys
|
||||
nano authorized_keys
|
||||
sudo mv /root/init.sh /home/pi
|
||||
cd ,,
|
||||
cd ..
|
||||
ls
|
||||
./init.sh
|
||||
sudo apt-get install tmux
|
||||
sudo raspi-config
|
||||
sudo apt-get install git -y
|
||||
apt-get install notify-tools; curl https://scm.genesisrage.net/mrjohndowe/Raspi-Config/raw/branch/master/.doweFiles/webmin_install.sh | bashs
|
||||
su
|
||||
relogin
|
||||
apt-get install multitail
|
||||
sudoapt-get install multitail
|
||||
apt-get install multitail
|
||||
sudo apt-get install multitail
|
||||
clear
|
||||
su
|
||||
./w
|
||||
./webmin.sh
|
||||
dpkg --clear-avail
|
||||
sudo dpkg --clear-avail
|
||||
./webmin.sh
|
||||
sudo dpkg --
|
||||
dpkg --configure
|
||||
sudo dpkg --configure
|
||||
sudo dpkg --configure -a
|
||||
./webmin.sh
|
||||
nano webmin.sh
|
||||
cd /var/www/html/
|
||||
a
|
||||
l
|
||||
nano index.php
|
||||
sudo usermod -aG pi www-data
|
||||
nano index.php
|
||||
sudo nano index.php
|
||||
a
|
||||
l
|
||||
su
|
||||
relogin
|
||||
su
|
||||
nano .profile
|
||||
$TMUX
|
||||
clear
|
||||
nano .profile
|
||||
su
|
||||
cd .ssh/
|
||||
a
|
||||
nano raspi.ppk
|
||||
nano raspi.pub
|
||||
cat raspi.ppk
|
||||
cat raspi.pub
|
||||
nano raspi.pub
|
||||
cat raspi.pub
|
||||
nano raspi.pub
|
||||
cat raspi.pub
|
||||
cat raspi.pub >> authorized_keys
|
||||
mv raspi.ppk raspi
|
||||
a
|
||||
clear
|
||||
a
|
||||
mv ssh2-Root.pub ssh2-Root
|
||||
mv id_rsa.pub id_rsa
|
||||
a
|
||||
clear
|
||||
su
|
||||
cd /var/www/html
|
||||
git clone https://github.com/mrjohndowe/webserver_raspi.git
|
||||
sudo git clone https://github.com/mrjohndowe/webserver_raspi.git
|
||||
l
|
||||
cd webserver_raspi/
|
||||
l
|
||||
a
|
||||
cd .hidden/
|
||||
a
|
||||
clear
|
||||
la
|
||||
ls
|
||||
a
|
||||
cd ..
|
||||
a
|
||||
mv anger/ ../
|
||||
sudo mv -Rf anger/ ../
|
||||
sudo mv -f anger/ ../
|
||||
sudo mv .git/ ../ -f
|
||||
sudo mv -f index.php ../
|
||||
sudo mv -f myLocalhost.php ../
|
||||
sudo mv .phpLiteAdmin/ ../
|
||||
sudo mv webconsole/ ../ -f
|
||||
clear
|
||||
a
|
||||
cd ../
|
||||
a
|
||||
clear
|
||||
a
|
||||
sudo chown -R www-data:www-data .
|
||||
a
|
||||
cd ../
|
||||
a
|
||||
cd html/
|
||||
a
|
||||
l
|
||||
a
|
||||
sudo chown -R www-data:www-data .
|
||||
a
|
||||
tmux new-session -t webserver
|
||||
cd ~
|
||||
nano watch_files.sh
|
||||
./watch_files.sh
|
||||
nano watch_files.sh
|
||||
./watch_files.sh
|
||||
sudo ./watch_files.sh
|
||||
./watch_files.sh
|
||||
sudo ./watch_files.sh
|
||||
nano watch_files.sh
|
||||
tmux new-session -t webserver
|
||||
tmux new-session -t webwatch
|
||||
multitail
|
||||
multitail
|
||||
multitail add
|
||||
multitail
|
||||
multitail /var/log/debug
|
||||
tmux attach
|
||||
cd /var/www/html/
|
||||
a
|
||||
sudo nano index.lock
|
||||
a
|
||||
chown pi:pi test.txt
|
||||
sudo chown pi:pi test.txt
|
||||
a
|
||||
cd ..
|
||||
a
|
||||
cd ..
|
||||
a
|
||||
cd /home/pi/
|
||||
a
|
||||
cd .local/
|
||||
a
|
||||
cd share/
|
||||
a
|
||||
cd nano/
|
||||
a
|
||||
clear
|
|
@ -0,0 +1,7 @@
|
|||
# ~/.bash_logout: executed by bash(1) when login shell exits.
|
||||
|
||||
# when leaving the console clear the screen to increase privacy
|
||||
|
||||
if [ "$SHLVL" = 1 ]; then
|
||||
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
|
||||
fi
|
|
@ -0,0 +1,12 @@
|
|||
[client]
|
||||
user=mrjohndowe
|
||||
password=53nrw695
|
||||
|
||||
|
||||
[su]
|
||||
user=root
|
||||
password=rootme
|
||||
|
||||
[sudo]
|
||||
user=root
|
||||
password=rootme
|
4
.profile
4
.profile
|
@ -28,8 +28,8 @@ fi
|
|||
|
||||
#sudo ./.doweFiles/tmux.sh
|
||||
#sleep 30
|
||||
session="workspace"
|
||||
tmux new-session -A -s $session
|
||||
TMUX="workspace"
|
||||
tmux new-session -A -s $TMUX
|
||||
|
||||
#exec ~/.doweFiles/neofetch
|
||||
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
# Improve colors
|
||||
set -g default-terminal 'screen-256color'
|
||||
|
||||
# Set scrollback buffer to 10000
|
||||
set -g history-limit 10000
|
||||
|
||||
# Customize the status line
|
||||
set -g status-fg green
|
||||
set -g status-bg black
|
Loading…
Reference in New Issue