install software
vim
sudo apt-get install -y vim
Typora
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
Xampp
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
install composer
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
install ibus sunyinpin
sudo apt-get update
sudo apt-get install ibus-pinyin ibus-sunpinyin
install nodejs Ubuntu安装最新版nodejs
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
redis
sudo apt-get install redis-server
- ubuntu 开机之后,会进入 initramfs界面
/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'
References
- /dev/sda1 contains a file system with errors, check forced [duplicate]
- /dev/sda1: Inodes that were part of a corrupted orphan linked list found
原文地址:https://www.cnblogs.com/fsong/p/11259522.html
时间: 2024-11-06 10:03:54