g

丘海东

读书写字 热爱生活 ⌚️📖️🖋️🏀️🚲️🚉️🎼️🍵️🏞️📷️

SQL Server Autobackup

前提:SQL Server 代理开机自启
控制面板,管理工具,服务,SQL Server 代理(MSSQLSERVER),右键,属性,启动类型:自动
Microsoft SQL Server Management Studio,192.168.0.250,1433,管理,维护计划,右键,维护计划向导……
若要做多个备份,重复上个步骤
Done.

Dia on Linux

DIA,流程图绘制软件
install:

sudo apt-get install dia

关于输入中文:

sudo vim /usr/bin/dia

dia-normal --integrated "$@"注释掉,在前面加#

在下面添加:

dia-normal "$@"

dia

德胜系统

E51:网络没连通,线路没接好
安装windows server 2000时,若autorun或setup都失败,有可能是被tencent qq阻止了,在任务管理器里把tencent关了就行了

Install .NET Framework on Windows Server

感谢教我帮我的老总和黎先生
要用到Windows Server的ISO文件
管理服务器,添加角色和功能

添加角色和功能

基于角色或功能的安装

从服务器池中选择服务器

选择服务器角色:AD域,DNS,.NET Framework

选择服务器角色AD域DNS

.NET Framework

指定备用源路径

指定备用源路径

\…ISO…\sources\sxs
done.

路径权限错误,无法pull Push: Not Read From Remote Repository. Correct Access Rights and the Repository Exists.

SSH KEYS认证方式改动 关于git pull origin sourceorgit push origin source,若出错:

fatal: Could not read from remote repository. 
Please make sure you have the correct access rights and the repository exists.

SSH keys不用动

gedit octopress/.git/config

url = git@github.com:qiuhaidong/qiuhaidong.github.com.git
改为url = https://github.com/qiuhaidong/qiuhaidong.github.com.git
参见此Blog,9楼
done.
pullorpush时或会报错,但不影响功能,多用几次就好了。

C# on Linux

参考官方说明

attention:有些commend不适合ubuntu,要区分

参见另一篇blog

install mono,(mono-complete and monodevelop):

sudo apt-get install mono-complete monodevelop

edit:

vim helloworld.cs

build:

mcs helloworld.cd

run:

./helloworld.exe

done.

C++ on Linux

g++ --version

编译:

g++ -o hello hello.cpp

或:

g++ hello.cpp -o hello

或:

g++ hello.cpp

生成hello或a.out

运行:

./hello

或:

./a.out

C on Linux

linux下用gcc,系统自带有,用gcc --version查看一下即可,若没有,安装编译环境:

sudo apt-get install build-essential

新建test.c文件:

sudo gedit /…/…/…/test.c

然后开始编程:

#include <stdio.h>
int main()
{
    printf("hello,world!\n");
    return 0;
}

保存后编译:

gcc -o test test.c

生产可执行文件test,运行:

./test

完成。

中软事件

2016-06-17 14:47

  • 面对真实的自己
  • 一无所有之后
  • 写字楼、身光颈靓的表象与本质
  • 用法律、警察解决问题
  • 天哥V5