Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
2.1 kB
1
Indexable
Never
.bash_history
sudo apt install apache2
sudo systemctl status apache2
sudo apt install php libapache2-mod-php php-mysql
sudo systemctl restart apache2
whoami
sudo chown -R mt19:mt19 /var/www
sudo chmod 2775 /var/www
find /var/www -type d -exec sudo chmod 2775 {} \;
find /var/www -type f -exec sudo chmod 0664 {} \;
echo "<?php phpinfo(); ?>" > /var/www/html/phpinfo.php
ls -l /var/www/html/
rm /var/www/html/phpinfo.php 
ls -l /var/www/html/
sudo apt install mariadb-server mariadb-client
sudo systemctl status mariadb
sudo mysql_secure_installation
sudo systemctl restart mariadb
sudo systemctl status mariadb
mysql -u root -p

sudo apt install bspwm
sudo apt install polybar
sudo apt install suckless-tools

mkdir ~/.config/bspwm
mkdir ~/.config/sxhkd
mkdir ~/.config/polybar

cp /usr/share/doc/bspwm/examples/bspwmrc ~/.config/bspwm/
cp /usr/share/doc/bspwm/examples/sxhkdrc ~/.config/sxhkd/
cp /usr/share/doc/polybar/config ~/.config/polybar/
sudo apt install git lxappearance terminator picom nitrogen
vim ~/.config/sxhkd/sxhkdrc
----------------- config.ini de /home/mt19/.config/polybar
ver el otro
----------------- launch.sh de /home/mt19/.config/polybar
#!/usr/bin/env bash
# Terminate already running bar instances
# If all your bars have ipc enabled, you can use 
polybar-msg cmd quit
# Otherwise you can use the nuclear option:
# killall -q polybar
# Launch bar1 and bar2
echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
polybar bar 2>&1 | tee -a /tmp/polybar1.log & disown
echo "Bars launched...
---------------------------------------------------
vim ~/.config/polybar/launch.sh
chmod +x $HOME/.config/polybar/launch.sh
ls -a +x $HOME/.config/polybar/launch.sh
vim ~/.config/polybar/config.ini
mkdir ~/.fonts
vim ~/.config/polybar/config.ini
fc-cache -f -v
vim ~/.config/bspwm/bspwmrc
xrandr
vim ~/.config/bspwm/bspwmrc
vim ~/.config/polybar/config.ini
neofetch
vim ~/.config/bspwm/bspwmrc
xrandr
vim ~/.config/bspwm/bspwmrc
neofetch 
sudo apt thunar
sudo apt install thunar
neofetch 
vim $HOME/.config/polybar/launch.sh
vim ~/.config/bspwm/bspwmrc
vim ~/.config/sxhkd/sxhkdrc
Leave a Comment