목록Linux/Ubuntu (18)
오늘만살자
#!/bin/sh echo "installing fonts at $PWD to ~/.fonts/"mkdir -p ~/.fonts/adobe-fonts/source-code-progit clone https://github.com/adobe-fonts/source-code-pro.git ~/.fonts/adobe-fonts/source-code-pro# find ~/.fonts/ -iname '*.ttf' -exec echo \{\} \;fc-cache -f -v ~/.fonts/adobe-fonts/source-code-proecho "finished installing"
sudo apt-get install --no-install-recommends gnome-panel gnome-desktop-item-edit ~/.local/share/applications --create-new
mkdir test.gitcd test.git/git init --bare --sharedchmod -R 770 * sudo git config core.sharedRepository true
echo "1" > /proc/sys/net/ipv4/ip_forward iptables -t nat -A OUTPUT -d 8.8.8.8 -j DNAT --to-destination 127.0.0.1 sudo service iptables save
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer sudo apt-get install oracle-java8-set-default 확인 javac -versionjava -version
sudo fallocate -l 4G /swapfilesudo chmod 600 /swapfilesudo mkswap /swapfilesudo swapon /swapfilesudo swapon -ssudo free -m vi /etc/rc.local#!/bin/sh -e## rc.local## This script is executed at the end of each multiuser runlevel.# Make sure that the script will "exit 0" on success or any other# value on error.## In order to enable or disable this script just change the execution# bits.## By defaul..
Configuration file /etc/systemd/system/pm2-root.service is marked executable. Please remove executable permission bits. Proceeding anyway. mkdir /etc/systemd/system/pm2-root.service.dcd pm2-root.service.d vi customexec.conf [Service]LimitNOFILE=1000000