标签:logs 安装 packagist rmi 错误 image 维护 apache apach
install software
sudo apt-get install -y vim
command copy from Typora website
# or run:
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -
# add Typora's repository
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt-get update
# install typora
sudo apt-get install typora
download for linux run file at web browser, then go to download path at Terminal
chmod +x ./xampp*.run
sudo ./xampp*.run
sudo chmod 777 /opt/lampp/htdocs
vim ~/.profile
add following content at ~/.profile
at end line
export XAMPP_HOME=/opt/lampp
export PATH=${XAMPP_HOME}/bin:$PATH
然后执行下面命令,使配置生效
source ~/.profile
at composer download page,last version is 1.8.4
wget https://getcomposer.org/download/1.8.4/composer.phar
chmod +x composer.phar
sudo mv composer.phar /usr/local/bin/composer
# config composer repo.packagist
composer config -g repo.packagist composer https://packagist.phpcomposer.com
sudo apt-get update
sudo apt-get install ibus-pinyin ibus-sunpinyin
sudo apt-get install -y nodejs npm
sudo npm config set registry https://registry.npm.taobao.org
sudo npm install n -g
sudo n stable
sudo apt-get install redis-server
/dev/sda1 contains a file system with errors, check forced
输入命令:
fsck /dev/sda1 -y
fsck(file system check)用来检查和维护不一致的文件系统。若系统掉电或磁盘发生问题,可利用fsck命令对文件系统进行检查。
/dev/sda1
以启动时,提示错误的卷称为主
'mcrypt_create_iv(): Cannot open source device'
标签:logs 安装 packagist rmi 错误 image 维护 apache apach
原文地址:https://www.cnblogs.com/fsong/p/11259522.html